Browse Source

vim: add template

master
Mathieu Maret 4 weeks ago
parent
commit
5ebd027c89
  1. 1
      .vim/templates/skeleton.sh
  2. 12
      .vimrc

1
.vim/templates/skeleton.sh

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

12
.vimrc

@ -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()

Loading…
Cancel
Save