diff options
author | lonkaars <l.leblansch@gmail.com> | 2020-10-27 19:35:11 +0100 |
---|---|---|
committer | lonkaars <l.leblansch@gmail.com> | 2020-10-27 19:35:11 +0100 |
commit | c09ffa166bc58f761fe465bfea0f7d912fc99c30 (patch) | |
tree | c5726bc9427f318e718705d23e8969ef17e278e5 /.config/nvim | |
parent | c41b6273331f7447772197b7ff9a86bd360fcdc3 (diff) |
dots update
Diffstat (limited to '.config/nvim')
-rw-r--r-- | .config/nvim/coc-settings.json | 13 | ||||
-rw-r--r-- | .config/nvim/init.vim | 7 |
2 files changed, 8 insertions, 12 deletions
diff --git a/.config/nvim/coc-settings.json b/.config/nvim/coc-settings.json index 70a6f34..0dcf343 100644 --- a/.config/nvim/coc-settings.json +++ b/.config/nvim/coc-settings.json @@ -1,14 +1,9 @@ { "languageserver": { - "ccls": { - "command": "ccls", - "filetypes": ["c", "cc", "cpp", "c++", "objc", "objcpp"], - "rootPatterns": [".ccls", "compile_commands.json", ".git/", ".hg/"], - "initializationOptions": { - "cache": { - "directory": "/tmp/ccls" - } - } + "clangd": { + "command": "clangd", + "rootPatterns": ["compile_flags.txt", "compile_commands.json"], + "filetypes": ["c", "cc", "cpp", "c++", "objc", "objcpp"] } } } diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index 9299449..c0d46e1 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -12,6 +12,7 @@ set ignorecase set smartcase set timeoutlen=500 set mouse=a +set cino=N-s set linebreak " set wrap but don't wrap inside words set viminfo+='1000,n/home/loek/.local/nvim/viminfo set guifont=JetBrainsMono\ NF:h14 @@ -40,7 +41,6 @@ call plug#begin('~/.config/nvim/plugged') " quality of life Plug 'jiangmiao/auto-pairs' Plug 'tpope/vim-surround' -" Plug 'Chiel92/vim-autoformat' Plug 'itchyny/lightline.vim' Plug 'terryma/vim-multiple-cursors' Plug 'vim-scripts/colorizer' @@ -56,13 +56,13 @@ Plug 'tpope/vim-fugitive' Plug 'airblade/vim-gitgutter' Plug 'wellle/targets.vim' Plug 'dstein64/vim-startuptime' +Plug 'vim-scripts/DoxygenToolkit.vim' " language plugins Plug 'lervag/vimtex' Plug 'pangloss/vim-javascript' Plug 'hail2u/vim-css3-syntax' Plug 'octol/vim-cpp-enhanced-highlight' -Plug 'vim-scripts/c.vim' " 'vim=ide' Plug 'neoclide/coc.nvim', {'branch': 'release'} @@ -213,6 +213,7 @@ let g:lightline = { \ }, \ } source $HOME/.config/nvim/mountaineer-lightline.vim +hi! SignColumn guibg=NONE ctermbg=NONE " vimtex config let g:tex_flavor = 'latex' @@ -310,7 +311,7 @@ let g:which_key_map.c = { inoremap <silent><expr> <c-space> coc#refresh() " auto-comment uit -autocmd FileType * setlocal formatoptions-=c formatoptions-=r formatoptions-=o +" autocmd FileType * setlocal formatoptions-=c formatoptions-=r formatoptions-=o " which key register dict call which_key#register('<Space>', "g:which_key_map") |