1
0
mirror of https://github.com/amix/vimrc synced 2025-06-16 09:35:01 +08:00

Updated plugins

This commit is contained in:
Amir Salihefendic
2019-03-08 08:04:56 -03:00
parent 1d42b63013
commit f50b2142bc
356 changed files with 6183 additions and 3837 deletions

View File

@ -46,6 +46,10 @@ looking at the [vim-snippets][vim-snippets] repository.
" Optional:
Plugin 'honza/vim-snippets'
## Using SnipMate ##
Press <tab> and try :SnipMateOpenSnippetFiles for starting.
Also see doc/SnipMate.txt to learn all SnipMate
## FAQ ##
> SnipMate doesn't work / My snippets aren't triggering

View File

@ -504,7 +504,7 @@ fun! s:ChooseSnippet(snippets) abort
let snippet += [i.'. '.snip]
let i += 1
endfor
if len(snippet) == 1
if len(snippet) == 1 || get(g:snipMate, 'always_choose_first', 0) == 1
" there's only a single snippet, choose it
let idx = 0
else

View File

@ -161,6 +161,13 @@ g:snipMate.override
maps and other settings work. Note: Load order
is determined by 'runtimepath'.
Duplicates are only dropped after reading one
snippet file. If multiple files contain a
snippet see always_choose_first
g:snipMate.always_choose_first
Always choose first snippet if there are
multiple left
g:snipMate.description_in_completion
If set to 1 (default is 0), snippet
descriptions will be included in the popup