mirror of
https://github.com/neovim/neovim.git
synced 2025-10-22 17:11:49 +00:00
@@ -7516,9 +7516,9 @@ sign_getplaced([{expr} [, {dict}]]) *sign_getplaced()*
|
|||||||
list of signs placed in that buffer is returned. For the use
|
list of signs placed in that buffer is returned. For the use
|
||||||
of {expr}, see |bufname()|. The optional {dict} can contain
|
of {expr}, see |bufname()|. The optional {dict} can contain
|
||||||
the following entries:
|
the following entries:
|
||||||
group select only signs in this group
|
group select only signs in this group
|
||||||
id select sign with this identifier
|
id select sign with this identifier
|
||||||
lnum select signs placed in this line. For the use
|
lnum select signs placed in this line. For the use
|
||||||
of {lnum}, see |line()|.
|
of {lnum}, see |line()|.
|
||||||
If {group} is '*', then signs in all the groups including the
|
If {group} is '*', then signs in all the groups including the
|
||||||
global group are returned. If {group} is not supplied or is an
|
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})
|
echo sign_getplaced("eval.c", {'lnum' : 10})
|
||||||
|
|
||||||
" Get sign with identifier 10 placed in a.py
|
" 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
|
" Get sign with id 20 in group 'g1' placed in a.py
|
||||||
echo sign_getplaced("a.py", {'group' : 'g1',
|
echo sign_getplaced("a.py", {'group' : 'g1',
|
||||||
\ 'id' : 20'})
|
\ 'id' : 20})
|
||||||
|
|
||||||
" Get a List of all the placed signs
|
" Get a List of all the placed signs
|
||||||
echo sign_getplaced()
|
echo sign_getplaced()
|
||||||
@@ -7648,7 +7648,7 @@ sign_undefine([{name}]) *sign_undefine()*
|
|||||||
<
|
<
|
||||||
sign_unplace({group} [, {dict}]) *sign_unplace()*
|
sign_unplace({group} [, {dict}]) *sign_unplace()*
|
||||||
Remove a previously placed sign in one or more buffers. This
|
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,
|
{group} is the sign group name. To use the global sign group,
|
||||||
use an empty string. If {group} is set to '*', then all the
|
use an empty string. If {group} is set to '*', then all the
|
||||||
|
@@ -107,7 +107,7 @@ This cannot be repeated: >
|
|||||||
endif<CR>
|
endif<CR>
|
||||||
Note that when using ":" any motion becomes characterwise exclusive.
|
Note that when using ":" any motion becomes characterwise exclusive.
|
||||||
|
|
||||||
|
*forced-motion*
|
||||||
FORCING A MOTION TO BE LINEWISE, CHARACTERWISE OR BLOCKWISE
|
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
|
When a motion is not of the type you would like to use, you can force another
|
||||||
|
@@ -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.
|
ignoring the actual value of the 'magic' option.
|
||||||
Use of "\M" makes the pattern after it be interpreted as if 'nomagic' is used.
|
Use of "\M" makes the pattern after it be interpreted as if 'nomagic' is used.
|
||||||
*/\v* */\V*
|
*/\v* */\V*
|
||||||
Use of "\v" means that in the pattern after it all ASCII characters except
|
Use of "\v" means that after it, all ASCII characters except '0'-'9', 'a'-'z',
|
||||||
'0'-'9', 'a'-'z', 'A'-'Z' and '_' have a special meaning. "very magic"
|
'A'-'Z' and '_' have special meaning: "very magic"
|
||||||
|
|
||||||
Use of "\V" means that in the pattern after it only the backslash and the
|
Use of "\V" means that after it, only a backslash and terminating character
|
||||||
terminating character (/ or ?) has a special meaning. "very nomagic"
|
(usually / or ?) have special meaning: "very nomagic"
|
||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
after: \v \m \M \V matches ~
|
after: \v \m \M \V matches ~
|
||||||
|
@@ -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
|
recognized as a command separator. The backslash before each space is
|
||||||
required for the set command.
|
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
|
If you have too many matching messages, you can use the cfilter plugin to
|
||||||
reduce the number of entries. Load the plugin with: >
|
reduce the number of entries. Load the plugin with: >
|
||||||
packadd cfilter
|
packadd cfilter
|
||||||
|
19
runtime/ftplugin/cfg.vim
Normal file
19
runtime/ftplugin/cfg.vim
Normal file
@@ -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
|
Reference in New Issue
Block a user