vim: add template
This commit is contained in:
parent
c4e8511f4c
commit
4d25ba8e87
1
.vim/templates/skeleton.sh
Normal file
1
.vim/templates/skeleton.sh
Normal file
@ -0,0 +1 @@
|
|||||||
|
#!/usr/bin/env bash
|
12
.vimrc
12
.vimrc
@ -645,6 +645,10 @@ if v:version >= 800
|
|||||||
\ 'cpp': ['clangd', '-background-index',],
|
\ 'cpp': ['clangd', '-background-index',],
|
||||||
\ 'c': ['clangd', '-background-index',],
|
\ 'c': ['clangd', '-background-index',],
|
||||||
\ }
|
\ }
|
||||||
|
let g:LanguageClient_loggingFile = expand('~/.LanguageClient.log')
|
||||||
|
" Could be debbuged with
|
||||||
|
":call LanguageClient_setLoggingLevel('DEBUG')
|
||||||
|
":LanguageClientStart
|
||||||
|
|
||||||
function LC_maps()
|
function LC_maps()
|
||||||
if has_key(g:LanguageClient_serverCommands, &filetype)
|
if has_key(g:LanguageClient_serverCommands, &filetype)
|
||||||
@ -806,4 +810,12 @@ Plugin 'RRethy/vim-illuminate'
|
|||||||
Plugin 'luochen1990/rainbow'
|
Plugin 'luochen1990/rainbow'
|
||||||
let g:rainbow_active = 1 "set to 0 if you want to enable it later via :RainbowToggle
|
let g:rainbow_active = 1 "set to 0 if you want to enable it later via :RainbowToggle
|
||||||
|
|
||||||
|
" Markdown preview -> then install with :call mkdp#util#install()
|
||||||
|
Plugin 'iamcco/markdown-preview.nvim'
|
||||||
|
|
||||||
|
" File skeleton
|
||||||
|
Plugin 'pgilad/vim-skeletons'
|
||||||
|
let skeletons#autoRegister = 1
|
||||||
|
let skeletons#skeletonsDir = ["~/.vim/templates/"]
|
||||||
|
"let skeletons#skeletonsDir += ["~/.vim/bundle/vim-skeletons/skeletons/"]
|
||||||
call vundle#end()
|
call vundle#end()
|
||||||
|
Loading…
Reference in New Issue
Block a user