diff options
author | Christian Brabandt <cb@256bit.org> | 2024-06-17 13:17:58 +0200 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2024-06-17 13:17:58 +0200 |
commit | 946f61c405b54934f58cbb8053957f4a1ecadec8 (patch) | |
tree | 0a1b58c07662192ac555dfb4bbde38a998b3403b /runtime/doc/builtin.txt | |
parent | ca471145321fa8089071330b7637ad3950ac4f11 (diff) |
runtime(doc): clarify when text properties are cleared
related: #15030
Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'runtime/doc/builtin.txt')
-rw-r--r-- | runtime/doc/builtin.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/runtime/doc/builtin.txt b/runtime/doc/builtin.txt index ff7078ea88..9eab164526 100644 --- a/runtime/doc/builtin.txt +++ b/runtime/doc/builtin.txt @@ -1,4 +1,4 @@ -*builtin.txt* For Vim version 9.1. Last change: 2024 Jun 14 +*builtin.txt* For Vim version 9.1. Last change: 2024 Jun 17 VIM REFERENCE MANUAL by Bram Moolenaar @@ -9485,7 +9485,8 @@ setfperm({fname}, {mode}) *setfperm()* *chmod* setline({lnum}, {text}) *setline()* Set line {lnum} of the current buffer to {text}. To insert lines use |append()|. To set lines in another buffer use - |setbufline()|. Any text properties in {lnum} are cleared. + |setbufline()|. + Any text properties in {lnum} are cleared |text-prop-cleared|. {lnum} is used like with |getline()|. When {lnum} is just below the last line the {text} will be |