Browse Source

Add back clang for cpp and add format options

master
Alex D. 8 months ago
parent
commit
a91a6c4eac
Signed by: caskd GPG Key ID: F92BA85F61F4C173
  1. 4
      vimrc

4
vimrc

@ -1,4 +1,4 @@
set mouse=a cb=unnamed,unnamedplus wim=longest,list,full backspace=indent,eol,start cmdheight=1 bg=dark nu rnu incsearch cot=menu si sta cpt=.,w,b,i tf foldmethod=syntax path+=** nocompatible sc nosmd cursorline listchars=trail,eol:,tab:\ list directory=$HOME/.vim/swap// shortmess=asTI
set mouse=a cb=unnamed,unnamedplus wim=longest,list,full backspace=indent,eol,start cmdheight=1 bg=dark nu rnu incsearch cot=menu si sta cpt=.,w,b,i tf foldmethod=syntax path+=** nocompatible sc nosmd cursorline listchars=trail,eol:,tab:\ list directory=$HOME/.vim/swap// shm=asTIt fo=rnl
filetype plugin indent on
syntax on
colorscheme delek
@ -26,7 +26,7 @@ autocmd FileType tex command! Comp execute 'silent !pdflatex %' <bar> redraw!
autocmd FileType less command! Comp execute 'silent !lessc % %:r.css' <bar> redraw!
autocmd FileType tex command! Compdoc execute 'silent !pandoc -t docx % -o %:r.docx' <bar> redraw!
let g:lsc_server_commands = {'c': { 'command': 'clangd --completion-style=detailed --suggest-missing-includes --clang-tidy -j=8', 'suppress_stderr': v:true }}
let g:lsc_server_commands = {'cpp': { 'command': 'clangd --completion-style=detailed --suggest-missing-includes --clang-tidy -j=8', 'suppress_stderr': v:true }, 'c': { 'command': 'clangd --completion-style=detailed --suggest-missing-includes --clang-tidy -j=8', 'suppress_stderr': v:true }}
let g:lsc_auto_map = v:true
let g:lsc_enable_autocomplete = v:true

Loading…
Cancel
Save