mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-09 09:30:04 +08:00
commit
a28f75171e
@ -13,7 +13,10 @@
|
|||||||
" @subsection snippet
|
" @subsection snippet
|
||||||
" SpaceVim use neosnippet as default snippet engine, and the default snippets
|
" SpaceVim use neosnippet as default snippet engine, and the default snippets
|
||||||
" is `Shougo/neosnippet-snippets`. for more information, please read
|
" is `Shougo/neosnippet-snippets`. for more information, please read
|
||||||
" |neosnippet|.
|
" |neosnippet|. neosnippet support custtom snippets, and the default snippets
|
||||||
|
" directory is `~/.SpaceVim.d/snippets/` and if
|
||||||
|
" g:spacevim_force_global_config = 1, SpaceVim will not append
|
||||||
|
" `./.SpaceVim.d/snippets` as default snippets directory.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
if isdirectory(expand('~/DotFiles/snippets/'))
|
let g:neosnippet#snippets_directory = [expand('~/.SpaceVim.d/snippets/'), expand('~/.SpaceVim/snippets/')]
|
||||||
let g:neosnippet#snippets_directory = expand('~/DotFiles/snippets/')
|
if g:spacevim_force_global_config == 0
|
||||||
|
call add(g:neosnippet#snippets_directory, getcwd() . '/.Spacevim.d/snippets')
|
||||||
endif
|
endif
|
||||||
let g:neosnippet#enable_snipmate_compatibility=1
|
let g:neosnippet#enable_snipmate_compatibility=1
|
||||||
let g:neosnippet#enable_complete_done = 1
|
let g:neosnippet#enable_complete_done = 1
|
||||||
|
@ -260,6 +260,9 @@ see |g:spacevim_enable_ycm|.
|
|||||||
SNIPPET
|
SNIPPET
|
||||||
SpaceVim use neosnippet as default snippet engine, and the default snippets is
|
SpaceVim use neosnippet as default snippet engine, and the default snippets is
|
||||||
`Shougo/neosnippet-snippets`. for more information, please read |neosnippet|.
|
`Shougo/neosnippet-snippets`. for more information, please read |neosnippet|.
|
||||||
|
neosnippet support custtom snippets, and the default snippets directory is
|
||||||
|
`~/.SpaceVim.d/snippets/` and if g:spacevim_force_global_config = 1, SpaceVim
|
||||||
|
will not append `./.SpaceVim.d/snippets` as default snippets directory.
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
COLORSCHEME *SpaceVim-colorscheme*
|
COLORSCHEME *SpaceVim-colorscheme*
|
||||||
|
0
filetype.vim
Normal file
0
filetype.vim
Normal file
Loading…
Reference in New Issue
Block a user