vim: add template

This commit is contained in:
Mathieu Maret 2021-11-09 11:10:03 +01:00
parent c4e8511f4c
commit 4d25ba8e87
2 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1 @@
#!/usr/bin/env bash

12
.vimrc
View File

@ -645,6 +645,10 @@ if v:version >= 800
\ 'cpp': ['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()
if has_key(g:LanguageClient_serverCommands, &filetype)
@ -806,4 +810,12 @@ Plugin 'RRethy/vim-illuminate'
Plugin 'luochen1990/rainbow'
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()