aboutsummaryrefslogtreecommitdiff
path: root/.vim/plugin
diff options
context:
space:
mode:
authorgxlin <[email protected]>2021-07-19 20:55:57 +0800
committergxlin <[email protected]>2021-07-19 20:55:57 +0800
commit79deeb3d8f888fadd8fef49086f34ae7ff74e08f (patch)
tree52f0a22b3d0c194821fb45e52ab5d9d2b635ee35 /.vim/plugin
parent58263cb458bc7ad9b123173f81f0912f341a702c (diff)
downloaddotfiles-79deeb3d8f888fadd8fef49086f34ae7ff74e08f.tar.gz
dotfiles-79deeb3d8f888fadd8fef49086f34ae7ff74e08f.tar.bz2
dotfiles-79deeb3d8f888fadd8fef49086f34ae7ff74e08f.zip
Modify .zshrc and config of ycm
Diffstat (limited to '.vim/plugin')
-rw-r--r--.vim/plugin/general.plug1
-rw-r--r--.vim/plugin/youcompleteme.vim3
2 files changed, 2 insertions, 2 deletions
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