diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2019-07-29 02:54:47 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2019-07-29 20:50:07 +0200 |
commit | 4cab90ad8c2f82dbdea71cf240384c5c3ae92d4d (patch) | |
tree | e94934f4d226fde264a4d23c888a860b0e32676f | |
parent | b3d4e2d6dcdc65ec1bbc1df6144d19b5595b0aa3 (diff) | |
download | rneovim-4cab90ad8c2f82dbdea71cf240384c5c3ae92d4d.tar.gz rneovim-4cab90ad8c2f82dbdea71cf240384c5c3ae92d4d.tar.bz2 rneovim-4cab90ad8c2f82dbdea71cf240384c5c3ae92d4d.zip |
vim-patch:c8c884926750
Update runtime files.
https://github.com/vim/vim/commit/c8c8849267503b2d2d6d821047ee8619c7821728
-rw-r--r-- | runtime/doc/eval.txt | 12 | ||||
-rw-r--r-- | runtime/doc/motion.txt | 2 | ||||
-rw-r--r-- | runtime/doc/pattern.txt | 8 | ||||
-rw-r--r-- | runtime/doc/quickfix.txt | 2 | ||||
-rw-r--r-- | runtime/ftplugin/cfg.vim | 19 |
5 files changed, 31 insertions, 12 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index 95aa4647d9..5ec649cf40 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -7516,9 +7516,9 @@ sign_getplaced([{expr} [, {dict}]]) *sign_getplaced()* list of signs placed in that buffer is returned. For the use of {expr}, see |bufname()|. The optional {dict} can contain the following entries: - group select only signs in this group - id select sign with this identifier - lnum select signs placed in this line. For the use + group select only signs in this group + id select sign with this identifier + lnum select signs placed in this line. For the use of {lnum}, see |line()|. If {group} is '*', then signs in all the groups including the global group are returned. If {group} is not supplied or is an @@ -7559,11 +7559,11 @@ sign_getplaced([{expr} [, {dict}]]) *sign_getplaced()* echo sign_getplaced("eval.c", {'lnum' : 10}) " Get sign with identifier 10 placed in a.py - echo sign_getplaced("a.py", {'id' : 10'}) + echo sign_getplaced("a.py", {'id' : 10}) " Get sign with id 20 in group 'g1' placed in a.py echo sign_getplaced("a.py", {'group' : 'g1', - \ 'id' : 20'}) + \ 'id' : 20}) " Get a List of all the placed signs echo sign_getplaced() @@ -7648,7 +7648,7 @@ sign_undefine([{name}]) *sign_undefine()* < sign_unplace({group} [, {dict}]) *sign_unplace()* Remove a previously placed sign in one or more buffers. This - is similar to the |:sign-unplace()| command. + is similar to the |:sign-unplace| command. {group} is the sign group name. To use the global sign group, use an empty string. If {group} is set to '*', then all the diff --git a/runtime/doc/motion.txt b/runtime/doc/motion.txt index eacd08760b..461fefe903 100644 --- a/runtime/doc/motion.txt +++ b/runtime/doc/motion.txt @@ -107,7 +107,7 @@ This cannot be repeated: > endif<CR> Note that when using ":" any motion becomes characterwise exclusive. - + *forced-motion* FORCING A MOTION TO BE LINEWISE, CHARACTERWISE OR BLOCKWISE When a motion is not of the type you would like to use, you can force another diff --git a/runtime/doc/pattern.txt b/runtime/doc/pattern.txt index 4322364fca..5d2c0e97b8 100644 --- a/runtime/doc/pattern.txt +++ b/runtime/doc/pattern.txt @@ -398,11 +398,11 @@ Use of "\m" makes the pattern after it be interpreted as if 'magic' is set, ignoring the actual value of the 'magic' option. Use of "\M" makes the pattern after it be interpreted as if 'nomagic' is used. */\v* */\V* -Use of "\v" means that in the pattern after it all ASCII characters except -'0'-'9', 'a'-'z', 'A'-'Z' and '_' have a special meaning. "very magic" +Use of "\v" means that after it, all ASCII characters except '0'-'9', 'a'-'z', +'A'-'Z' and '_' have special meaning: "very magic" -Use of "\V" means that in the pattern after it only the backslash and the -terminating character (/ or ?) has a special meaning. "very nomagic" +Use of "\V" means that after it, only a backslash and terminating character +(usually / or ?) have special meaning: "very nomagic" Examples: after: \v \m \M \V matches ~ diff --git a/runtime/doc/quickfix.txt b/runtime/doc/quickfix.txt index 7255af36e9..3e90a5cfd0 100644 --- a/runtime/doc/quickfix.txt +++ b/runtime/doc/quickfix.txt @@ -1515,7 +1515,7 @@ The backslashes before the pipe character are required to avoid it to be recognized as a command separator. The backslash before each space is required for the set command. - *cfilter-plugin* *Cfilter* *Lfilter* + *cfilter-plugin* *:Cfilter* *:Lfilter* If you have too many matching messages, you can use the cfilter plugin to reduce the number of entries. Load the plugin with: > packadd cfilter diff --git a/runtime/ftplugin/cfg.vim b/runtime/ftplugin/cfg.vim new file mode 100644 index 0000000000..b5835ba7a9 --- /dev/null +++ b/runtime/ftplugin/cfg.vim @@ -0,0 +1,19 @@ +" Vim filetype plugin file +" Language: Configuration File +" Maintainer: Christian Brabandt <cb@256bit.org> +" Latest Revision: 2018-12-24 + +if exists("b:did_ftplugin") + finish +endif +let b:did_ftplugin = 1 + +let s:cpo_save = &cpo +set cpo&vim + +let b:undo_ftplugin = "setl cms< fo<" + +setlocal commentstring=#\ %s formatoptions-=t formatoptions+=croql + +let &cpo = s:cpo_save +unlet s:cpo_save |