Replace easytags.vim (unmaintained) with gutentags

This commit is contained in:
lhark 2018-11-22 15:09:32 -05:00
parent 4b44bd7386
commit 38b6979c64
3 changed files with 13 additions and 17 deletions

View file

@ -0,0 +1 @@
--fields=+l

View file

@ -5,7 +5,7 @@ SCRIPTPATH=$(dirname "$SCRIPT")
HOST=$(hostname) HOST=$(hostname)
# List of the config files to install # List of the config files to install
FILES="vimrc zshrc gitconfig vim gitignore_global git_user" FILES="vimrc zshrc gitconfig vim gitignore_global git_user ctags.d"
if [ ! -e "$HOME/.git_user" ]; then if [ ! -e "$HOME/.git_user" ]; then
cp "$SCRIPTPATH/git_user.def" "$SCRIPTPATH/git_user" cp "$SCRIPTPATH/git_user.def" "$SCRIPTPATH/git_user"

27
vimrc
View file

@ -13,6 +13,7 @@
"| AutoComplPop | https://github.com/vim-scripts/AutoComplPop |" "| AutoComplPop | https://github.com/vim-scripts/AutoComplPop |"
"| DelimitMate | https://github.com/Raimondi/delimitMate |" "| DelimitMate | https://github.com/Raimondi/delimitMate |"
"| DetectIndent | https://github.com/roryokane/detectindent |" "| DetectIndent | https://github.com/roryokane/detectindent |"
"| Gutentags | https://github.com/ludovicchabant/vim-gutentags |"
"| Multiple-Cursors | https://github.com/terryma/vim-multiple-cursors |" "| Multiple-Cursors | https://github.com/terryma/vim-multiple-cursors |"
"| Python-Mode | https://github.com/klen/python-mode |" "| Python-Mode | https://github.com/klen/python-mode |"
"| Surround | https://github.com/tpope/vim-surround |" "| Surround | https://github.com/tpope/vim-surround |"
@ -21,6 +22,7 @@
"| Vim-GLSL | https://github.com/tikhomirov/vim-glsl |" "| Vim-GLSL | https://github.com/tikhomirov/vim-glsl |"
"| Vim-Gnupg | https://github.com/jamessan/vim-gnupg |" "| Vim-Gnupg | https://github.com/jamessan/vim-gnupg |"
"| Vundle | https://github.com/gmarik/Vundle.vim.git |" "| Vundle | https://github.com/gmarik/Vundle.vim.git |"
"| YouCompleteMe | https://github.com/Valloric/YouCompleteMe |"
"+------------------+-------------------------------------------------+" "+------------------+-------------------------------------------------+"
"[Colorschemes list]"""""""""""""""""""""""""""""""""""""""""""""""""""" "[Colorschemes list]""""""""""""""""""""""""""""""""""""""""""""""""""""
"+------------------+-------------------------------------------------+" "+------------------+-------------------------------------------------+"
@ -46,15 +48,6 @@ if has("unix") || has("mac")
Plugin 'gmarik/Vundle.vim' Plugin 'gmarik/Vundle.vim'
map <F2> :VundleInstall<CR> map <F2> :VundleInstall<CR>
map <F3> :VundleUpdate<CR> map <F3> :VundleUpdate<CR>
if has("python")
Plugin 'klen/python-mode'
let g:pymode_rope_lookup_project = 0
let g:pymode_rope = 0
Plugin 'davidhalter/jedi-vim'
endif
if has("ruby")
Plugin 'terryma/vim-multiple-cursors'
endif
Plugin 'mbbill/undotree' Plugin 'mbbill/undotree'
map <F5> :UndotreeToggle<CR> map <F5> :UndotreeToggle<CR>
Plugin 'vim-scripts/LaTeX-Box' Plugin 'vim-scripts/LaTeX-Box'
@ -68,8 +61,11 @@ if has("unix") || has("mac")
let g:ycm_show_diagnostics_ui = 0 let g:ycm_show_diagnostics_ui = 0
let g:ycm_collect_identifiers_from_tags_files=1 let g:ycm_collect_identifiers_from_tags_files=1
let g:ycm_seed_identifiers_with_syntax=1 let g:ycm_seed_identifiers_with_syntax=1
let g:ycm_show_diagnostics_ui = 0
let g:ycm_use_ultisnips_completer = 0
else else
Plugin 'AutoComplPop' Plugin 'AutoComplPop'
Plugin 'davidhalter/jedi-vim'
endif endif
Plugin 'w0rp/ale' Plugin 'w0rp/ale'
let g:ale_linters = { let g:ale_linters = {
@ -104,12 +100,7 @@ if has("unix") || has("mac")
\ }, \ },
\} \}
if executable('ctags') if executable('ctags')
"Needed for vim-easytags" Plugin 'ludovicchabant/vim-gutentags'
Plugin 'xolox/vim-misc'
Plugin 'xolox/vim-easytags'
let g:easytags_async=1
"Needed for YouCompleteMe"
let g:easytags_opts=['--fields=+l']
endif endif
Plugin 'godlygeek/tabular' Plugin 'godlygeek/tabular'
Plugin 'beyondmarc/opengl.vim' Plugin 'beyondmarc/opengl.vim'
@ -119,6 +110,7 @@ if has("unix") || has("mac")
Plugin 'mzlogin/vim-smali' Plugin 'mzlogin/vim-smali'
Plugin 'jamessan/vim-gnupg' Plugin 'jamessan/vim-gnupg'
Plugin 'petRUShka/vim-opencl' Plugin 'petRUShka/vim-opencl'
Plugin 'hynek/vim-python-pep8-indent'
Plugin 'tpope/vim-surround' Plugin 'tpope/vim-surround'
Plugin 'captbaritone/better-indent-support-for-php-with-html' Plugin 'captbaritone/better-indent-support-for-php-with-html'
"[Autodetect indent style of a file]" "[Autodetect indent style of a file]"
@ -126,7 +118,8 @@ if has("unix") || has("mac")
let g:detectindent_preferred_indent=4 let g:detectindent_preferred_indent=4
let g:detectindent_autodetect=1 let g:detectindent_autodetect=1
"[Solarized theme]" "[Solarized theme]"
Plugin 'altercation/vim-colors-solarized' "Plugin 'ericbn/vim-solarized'
Plugin 'https://gitlab.federez.net/lhark/vim-solarized.git'
call vundle#end() call vundle#end()
catch catch
endtry endtry
@ -239,6 +232,8 @@ set mousehide
set background=dark set background=dark
set ttyfast set ttyfast
set tabline="" set tabline=""
"[Kitty doesn't support background color erase]"
let &t_ut=''
" set cmdheight=1 : default " set cmdheight=1 : default
set showtabline=0 set showtabline=0
set colorcolumn=80 set colorcolumn=80