Mercurial > vim
comparison runtime/doc/sign.txt @ 27903:d19b7aee1925
Update runtime files.
Commit: https://github.com/vim/vim/commit/c51cf0329809c7ae946c59d6f56699227efc9d1b
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Feb 26 12:25:45 2022 +0000
Update runtime files.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 26 Feb 2022 13:30:04 +0100 |
parents | 84d60deb8f82 |
children | f8116058ca76 |
comparison
equal
deleted
inserted
replaced
27902:8481c8908b5e | 27903:d19b7aee1925 |
---|---|
99 2. Commands *sign-commands* *:sig* *:sign* | 99 2. Commands *sign-commands* *:sig* *:sign* |
100 | 100 |
101 Here is an example that places a sign "piet", displayed with the text ">>", in | 101 Here is an example that places a sign "piet", displayed with the text ">>", in |
102 line 23 of the current file: > | 102 line 23 of the current file: > |
103 :sign define piet text=>> texthl=Search | 103 :sign define piet text=>> texthl=Search |
104 :exe ":sign place 2 line=23 name=piet file=" . expand("%:p") | 104 :exe ":sign place 2 line=23 name=piet file=" .. expand("%:p") |
105 | 105 |
106 And here is the command to delete it again: > | 106 And here is the command to delete it again: > |
107 :sign unplace 2 | 107 :sign unplace 2 |
108 | 108 |
109 Note that the ":sign" command cannot be followed by another command or a | 109 Note that the ":sign" command cannot be followed by another command or a |