mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
parent
15a71338e3
commit
b5e3fec621
@ -4336,11 +4336,11 @@ getqflist([{what}]) *getqflist()*
|
|||||||
following string items are supported in {what}:
|
following string items are supported in {what}:
|
||||||
context get the context stored with |setqflist()|
|
context get the context stored with |setqflist()|
|
||||||
efm errorformat to use when parsing "lines". If
|
efm errorformat to use when parsing "lines". If
|
||||||
not present, then the 'erroformat' option
|
not present, then the 'errorformat' option
|
||||||
value is used.
|
value is used.
|
||||||
id get information for the quickfix list with
|
id get information for the quickfix list with
|
||||||
|quickfix-ID|; zero means the id for the
|
|quickfix-ID|; zero means the id for the
|
||||||
current list or the list specifed by "nr"
|
current list or the list specified by "nr"
|
||||||
items quickfix list entries
|
items quickfix list entries
|
||||||
lines use 'errorformat' to extract items from a list
|
lines use 'errorformat' to extract items from a list
|
||||||
of lines and return the resulting entries.
|
of lines and return the resulting entries.
|
||||||
@ -7563,8 +7563,9 @@ submatch({nr} [, {list}]) *submatch()* *E935*
|
|||||||
When substitute() is used recursively only the submatches in
|
When substitute() is used recursively only the submatches in
|
||||||
the current (deepest) call can be obtained.
|
the current (deepest) call can be obtained.
|
||||||
|
|
||||||
Example: >
|
Examples: >
|
||||||
:s/\d\+/\=submatch(0) + 1/
|
:s/\d\+/\=submatch(0) + 1/
|
||||||
|
:echo substitute(text, '\d\+', '\=submatch(0) + 1', '')
|
||||||
< This finds the first number in the line and adds one to it.
|
< This finds the first number in the line and adds one to it.
|
||||||
A line break is included as a newline character.
|
A line break is included as a newline character.
|
||||||
|
|
||||||
|
@ -1275,7 +1275,8 @@ it here: http://ctags.sourceforge.net/ Version 5.6 or later is recommended.
|
|||||||
For version 5.5.4 you should add a patch that adds the "typename:" field:
|
For version 5.5.4 you should add a patch that adds the "typename:" field:
|
||||||
ftp://ftp.vim.org/pub/vim/unstable/patches/ctags-5.5.4.patch
|
ftp://ftp.vim.org/pub/vim/unstable/patches/ctags-5.5.4.patch
|
||||||
A compiled .exe for MS-Windows can be found at:
|
A compiled .exe for MS-Windows can be found at:
|
||||||
http://georgevreilly.com/vim/ctags.html
|
http://ctags.sourceforge.net/
|
||||||
|
https://github.com/universal-ctags/ctags-win32
|
||||||
|
|
||||||
If you want to complete system functions you can do something like this. Use
|
If you want to complete system functions you can do something like this. Use
|
||||||
ctags to generate a tags file for all the system header files: >
|
ctags to generate a tags file for all the system header files: >
|
||||||
|
@ -3316,8 +3316,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
pattern and/or a lot of text the match may not be found. This is to
|
pattern and/or a lot of text the match may not be found. This is to
|
||||||
avoid that Vim hangs while you are typing the pattern.
|
avoid that Vim hangs while you are typing the pattern.
|
||||||
The |hl-IncSearch| highlight group determines the highlighting.
|
The |hl-IncSearch| highlight group determines the highlighting.
|
||||||
When 'hlsearch' is on, all matched strings are highlighted too while typing
|
When 'hlsearch' is on, all matched strings are highlighted too while
|
||||||
a search command. See also: 'hlsearch'.
|
typing a search command. See also: 'hlsearch'.
|
||||||
If you don't want turn 'hlsearch' on, but want to highlight all matches
|
If you don't want turn 'hlsearch' on, but want to highlight all matches
|
||||||
while searching, you can turn on and off 'hlsearch' with autocmd.
|
while searching, you can turn on and off 'hlsearch' with autocmd.
|
||||||
Example: >
|
Example: >
|
||||||
|
@ -1877,8 +1877,8 @@ au BufNewFile,BufRead *.yy,*.yxx,*.y++ setf yacc
|
|||||||
" Yacc or racc
|
" Yacc or racc
|
||||||
au BufNewFile,BufRead *.y call dist#ft#FTy()
|
au BufNewFile,BufRead *.y call dist#ft#FTy()
|
||||||
|
|
||||||
" Yaml
|
" Yaml or Raml
|
||||||
au BufNewFile,BufRead *.yaml,*.yml setf yaml
|
au BufNewFile,BufRead *.yaml,*.yml,*.raml setf yaml
|
||||||
|
|
||||||
" yum conf (close enough to dosini)
|
" yum conf (close enough to dosini)
|
||||||
au BufNewFile,BufRead */etc/yum.conf setf dosini
|
au BufNewFile,BufRead */etc/yum.conf setf dosini
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
" Language: Zsh shell script
|
" Language: Zsh shell script
|
||||||
" Maintainer: Christian Brabandt <cb@256bit.org>
|
" Maintainer: Christian Brabandt <cb@256bit.org>
|
||||||
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
||||||
" Latest Revision: 2015-05-29
|
" Latest Revision: 2017-11-22
|
||||||
" License: Vim (see :h license)
|
" License: Vim (see :h license)
|
||||||
" Repository: https://github.com/chrisbra/vim-zsh
|
" Repository: https://github.com/chrisbra/vim-zsh
|
||||||
|
|
||||||
@ -18,9 +18,7 @@ let b:undo_ftplugin = "setl com< cms< fo<"
|
|||||||
|
|
||||||
setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql
|
setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql
|
||||||
|
|
||||||
let b:match_words =
|
let b:match_words = ',\<if\>:\<elif\>:\<else\>:\<fi\>'
|
||||||
\ &matchpairs
|
|
||||||
\ . ',\<if\>:\<elif\>:\<else\>:\<fi\>'
|
|
||||||
\ . ',\<case\>:^\s*([^)]*):\<esac\>'
|
\ . ',\<case\>:^\s*([^)]*):\<esac\>'
|
||||||
\ . ',\<\%(select\|while\|until\|repeat\|for\%(each\)\=\)\>:\<done\>'
|
\ . ',\<\%(select\|while\|until\|repeat\|for\%(each\)\=\)\>:\<done\>'
|
||||||
let b:match_skip = 's:comment\|string\|heredoc\|subst'
|
let b:match_skip = 's:comment\|string\|heredoc\|subst'
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -2,7 +2,7 @@
|
|||||||
" Language: Zsh shell script
|
" Language: Zsh shell script
|
||||||
" Maintainer: Christian Brabandt <cb@256bit.org>
|
" Maintainer: Christian Brabandt <cb@256bit.org>
|
||||||
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
|
||||||
" Latest Revision: 2017-07-11
|
" Latest Revision: 2017-11-22
|
||||||
" License: Vim (see :h license)
|
" License: Vim (see :h license)
|
||||||
" Repository: https://github.com/chrisbra/vim-zsh
|
" Repository: https://github.com/chrisbra/vim-zsh
|
||||||
|
|
||||||
@ -324,9 +324,9 @@ syn match zshOption /
|
|||||||
\ \%(\%(\<no_\?\)\?vi\>\)\|
|
\ \%(\%(\<no_\?\)\?vi\>\)\|
|
||||||
\ \%(\%(\<no_\?\)\?warncreateglobal\>\)\|\%(\%(no_\?\)\?warn_create_global\>\)\|
|
\ \%(\%(\<no_\?\)\?warncreateglobal\>\)\|\%(\%(no_\?\)\?warn_create_global\>\)\|
|
||||||
\ \%(\%(\<no_\?\)\?xtrace\>\)\|
|
\ \%(\%(\<no_\?\)\?xtrace\>\)\|
|
||||||
\ \%(\%(\<no_\?\)\?zle\>\)/ nextgroup=zshOption skipwhite contained
|
\ \%(\%(\<no_\?\)\?zle\>\)/ nextgroup=zshOption,zshComment skipwhite contained
|
||||||
|
|
||||||
syn keyword zshTypes float integer local typeset declare private
|
syn keyword zshTypes float integer local typeset declare private readonly
|
||||||
|
|
||||||
" XXX: this may be too much
|
" XXX: this may be too much
|
||||||
" syn match zshSwitches '\s\zs--\=[a-zA-Z0-9-]\+'
|
" syn match zshSwitches '\s\zs--\=[a-zA-Z0-9-]\+'
|
||||||
|
Loading…
Reference in New Issue
Block a user