Compare commits
3 Commits
c403eb2e73
...
d30df125c5
| Author | SHA1 | Date | |
|---|---|---|---|
| d30df125c5 | |||
| 1c2e0fccc3 | |||
| 6e62775c1d |
@ -140,22 +140,22 @@ endif
|
||||
" neosnippet
|
||||
" Plugin key-mappings.
|
||||
" Note: It must be "imap" and "smap". It uses <Plug> mappings.
|
||||
imap <C-k> <Plug>(neosnippet_expand_or_jump)
|
||||
smap <C-k> <Plug>(neosnippet_expand_or_jump)
|
||||
xmap <C-k> <Plug>(neosnippet_expand_target)
|
||||
" imap <C-k> <Plug>(neosnippet_expand_or_jump)
|
||||
" smap <C-k> <Plug>(neosnippet_expand_or_jump)
|
||||
" xmap <C-k> <Plug>(neosnippet_expand_target)
|
||||
|
||||
" SuperTab like snippets behavior.
|
||||
" Note: It must be "imap" and "smap". It uses <Plug> mappings.
|
||||
imap <expr><tab> neosnippet#expandable_or_jumpable() ? "\<Plug>(neosnippet_expand_or_jump)" : pumvisible() ? "\<c-n>" : "\<tab>"
|
||||
smap <expr><tab> neosnippet#expandable_or_jumpable() ? "\<Plug>(neosnippet_expand_or_jump)" : "\<tab>"
|
||||
" imap <expr><tab> neosnippet#expandable_or_jumpable() ? "\<Plug>(neosnippet_expand_or_jump)" : pumvisible() ? "\<c-n>" : "\<tab>"
|
||||
" smap <expr><tab> neosnippet#expandable_or_jumpable() ? "\<Plug>(neosnippet_expand_or_jump)" : "\<tab>"
|
||||
|
||||
" For conceal markers.
|
||||
if has('conceal')
|
||||
set conceallevel=2 concealcursor=niv
|
||||
endif
|
||||
" if has('conceal')
|
||||
" set conceallevel=2 concealcursor=niv
|
||||
" endif
|
||||
" Enable snipMate compatibility feature.
|
||||
let g:neosnippet#enable_snipmate_compatibility = 1
|
||||
let g:neosnippet#snippets_directory='~/.vim/custom-snippets'
|
||||
" let g:neosnippet#enable_snipmate_compatibility = 1
|
||||
" let g:neosnippet#snippets_directory='~/.vim/custom-snippets'
|
||||
|
||||
|
||||
" rainbow
|
||||
|
||||
@ -107,5 +107,7 @@
|
||||
}
|
||||
},
|
||||
"coc.preferences.hoverTarget": "float",
|
||||
"diagnostic.virtualText": true,
|
||||
"diagnostic.enableSign": true,
|
||||
"suggest.floatEnable": true
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user