diff options
author | gxlin <[email protected]> | 2021-07-19 20:55:57 +0800 |
---|---|---|
committer | gxlin <[email protected]> | 2021-07-19 20:55:57 +0800 |
commit | 79deeb3d8f888fadd8fef49086f34ae7ff74e08f (patch) | |
tree | 52f0a22b3d0c194821fb45e52ab5d9d2b635ee35 | |
parent | 58263cb458bc7ad9b123173f81f0912f341a702c (diff) | |
download | dotfiles-79deeb3d8f888fadd8fef49086f34ae7ff74e08f.tar.gz dotfiles-79deeb3d8f888fadd8fef49086f34ae7ff74e08f.tar.bz2 dotfiles-79deeb3d8f888fadd8fef49086f34ae7ff74e08f.zip |
Modify .zshrc and config of ycm
-rw-r--r-- | .vim/.gitignore | 1 | ||||
-rw-r--r-- | .vim/plugin/general.plug | 1 | ||||
-rw-r--r-- | .vim/plugin/youcompleteme.vim | 3 | ||||
-rw-r--r-- | .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 @@ -68,3 +68,4 @@ fi zplug load source $HOME/.aliases +[ -f $HOME/.zshrc_local ] && source $HOME/.zshrc_local |