aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.config
diff options
context:
space:
mode:
Diffstat (limited to 'dotfiles/.config')
-rw-r--r--dotfiles/.config/nvim/init.vim9
1 files changed, 5 insertions, 4 deletions
diff --git a/dotfiles/.config/nvim/init.vim b/dotfiles/.config/nvim/init.vim
index 02b7798..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,10 +219,10 @@ call plug#end()
" LSP
let g:LanguageClient_serverCommands = {
- \ 'c': ['/usr/bin/clangd'],
- \ 'ch': ['/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'],