summaryrefslogtreecommitdiff
path: root/.config/nvim
diff options
context:
space:
mode:
authorDavid Luevano <55825613+luevano@users.noreply.github.com>2020-02-18 03:11:14 -0700
committerDavid Luevano <55825613+luevano@users.noreply.github.com>2020-02-18 03:11:14 -0700
commitcfe2b9e5fda87112c3e35bd9a8e953c1a591a499 (patch)
treecc70a1073eabda2b446bdc88639994302b84fc4c /.config/nvim
parentac8b1a6845c2bd0f47196abaed6b8d1e97e17058 (diff)
Fix python environments in vim
Diffstat (limited to '.config/nvim')
-rw-r--r--.config/nvim/init.vim25
1 files changed, 13 insertions, 12 deletions
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim
index 0b52768..5650fee 100644
--- a/.config/nvim/init.vim
+++ b/.config/nvim/init.vim
@@ -3,7 +3,7 @@
"
""---Auto installs vim-plug---""
-" let autoload_plug_path = '~/.config/nvim/autoload/plug.vim'
+" let autoload_plug_path='~/.config/nvim/autoload/plug.vim'
" if !filereadable(autoload_plug_path)
" echo "Downloading junegunn/vim-plug to manage plugins..."
" silent execute '!curl -fLo ' . autoload_plug_path . ' --create-dirs
@@ -130,6 +130,18 @@
" SympylFold
let g:SympylFold_docstring_preview=1
+ " YouCompleteMe
+ let g:ycm_autoclose_preview_window_after_completion=1
+
+ " syntastic
+ " set statusline+=%#warningmsg#
+ " set statusline+=%{SyntasticStatuslineFlag()}
+ " set statusline+=%*
+ let g:syntastic_always_populate_loc_list=1
+ let g:syntastic_auto_loc_list=1
+ let g:syntastic_check_on_open=1
+ let g:syntastic_check_on_wq=0
+
""---Keybindings---""
" Reload vim
nmap <F5> :source ~/.config/nvim/init.vim<CR>
@@ -159,15 +171,4 @@
nnoremap <Space> za
" YouCompleteMe
- let g:ycm_autoclose_preview_window_after_completion=1
map <leader>g :YcmCompleter GoToDefinitionElseDeclaration<CR>
-
- " syntastic
- set statusline+=%#warningmsg#
- set statusline+=%{SyntasticStatuslineFlag()}
- set statusline+=%*
-
- let g:syntastic_always_populate_loc_list = 1
- let g:syntastic_auto_loc_list = 1
- let g:syntastic_check_on_open = 1
- let g:syntastic_check_on_wq = 0