aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.config/nvim
diff options
context:
space:
mode:
authorYaroslav de la Peña Smirnov <yps@yaroslavps.com>2021-12-21 00:16:31 +0300
committerYaroslav de la Peña Smirnov <yps@yaroslavps.com>2021-12-21 00:16:31 +0300
commitc4b8fe516161947a610c7e7743e46c4e69e57add (patch)
tree6d1b8ffd3902861e0e16e33d649f1ccec91821a5 /dotfiles/.config/nvim
parent0bfe340435dc7a51868db24a511956c8911a1ba2 (diff)
downloadvimrice-c4b8fe516161947a610c7e7743e46c4e69e57add.tar.gz
vimrice-c4b8fe516161947a610c7e7743e46c4e69e57add.zip
Chage redraw time
Because otherwise inccommand sometimes lags.
Diffstat (limited to 'dotfiles/.config/nvim')
-rw-r--r--dotfiles/.config/nvim/init.vim8
1 files changed, 5 insertions, 3 deletions
diff --git a/dotfiles/.config/nvim/init.vim b/dotfiles/.config/nvim/init.vim
index 0fa9bb7..a58a0e1 100644
--- a/dotfiles/.config/nvim/init.vim
+++ b/dotfiles/.config/nvim/init.vim
@@ -38,12 +38,13 @@ call plug#end()
set omnifunc=syntaxcomplete#Complete
set guicursor=n-v-sm:block,i-ci-c-ve:ver25,r-cr-o:block
set cursorline
- set number
+ set redrawtime=1000
set relativenumber
set scrolloff=5
set colorcolumn=+1
set textwidth=80
set mouse=a
+ set number
" Colors
colorscheme ultramar
@@ -218,9 +219,10 @@ call plug#end()
" LSP
let g:LanguageClient_serverCommands = {
- \ 'c': ['/usr/bin/clangd'],
+ \ 'c': ['/usr/bin/clangd', '--cross-file-rename'],
+ \ 'ch': ['/usr/bin/clangd', '--cross-file-rename'],
\ 'go': ['/usr/bin/gopls'],
- \ 'cpp': ['/usr/bin/clangd'],
+ \ 'cpp': ['/usr/bin/clangd', '--cross-file-rename'],
\ 'python': ['/usr/bin/pyls'],
\ 'rust': ['/usr/bin/rustup', 'run', 'stable', 'rls'],
\ 'javascript': ['/usr/bin/typescript-language-server', '--stdio'],