From 79deeb3d8f888fadd8fef49086f34ae7ff74e08f Mon Sep 17 00:00:00 2001 From: gxlin Date: Mon, 19 Jul 2021 20:55:57 +0800 Subject: Modify .zshrc and config of ycm --- .vim/.gitignore | 1 + .vim/plugin/general.plug | 1 - .vim/plugin/youcompleteme.vim | 3 ++- .zshrc | 1 + 4 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.vim/.gitignore b/.vim/.gitignore index 3c1968e..fa93c73 100644 --- a/.vim/.gitignore +++ b/.vim/.gitignore @@ -1,3 +1,4 @@ plugged autoload .swp +.netrwhist diff --git a/.vim/plugin/general.plug b/.vim/plugin/general.plug index 4bbc709..453acba 100644 --- a/.vim/plugin/general.plug +++ b/.vim/plugin/general.plug @@ -1,7 +1,6 @@ Plug 'Yggdroot/LeaderF', {'do': ':LeaderfInstallCExtension'} Plug 'Valloric/YouCompleteMe', { \ 'do': 'python3 ./install.py --clangd-completer', - \ 'for': ['python', 'cpp', 'go', 'gdscript'] \ } Plug 'dense-analysis/ale' Plug 'sheerun/vim-polyglot' diff --git a/.vim/plugin/youcompleteme.vim b/.vim/plugin/youcompleteme.vim index 4c9f570..518fb34 100644 --- a/.vim/plugin/youcompleteme.vim +++ b/.vim/plugin/youcompleteme.vim @@ -6,7 +6,8 @@ let g:ycm_complete_in_strings = 1 let g:ycm_filetype_whilelist = { \ "c": 1, "cpp": 1, "sh": 1, "zsh": 1, - \ "python": 1, "go": 1, "gdscript": 1 + \ "python": 1, "go": 1, "gdscript": 1, + \ "lua": 1 \ } let g:ycm_filetype_blacklist = { \ 'ledger': 1 diff --git a/.zshrc b/.zshrc index 03a77ec..0aefad9 100644 --- a/.zshrc +++ b/.zshrc @@ -68,3 +68,4 @@ fi zplug load source $HOME/.aliases +[ -f $HOME/.zshrc_local ] && source $HOME/.zshrc_local -- cgit v1.2.3