1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 10:40:03 +08:00

Improve tags layer (#1761)

* Update tags layer

* Update tags layer

* Remove tags config in java layer
This commit is contained in:
Wang Shidong 2018-05-27 16:17:44 +08:00 committed by GitHub
parent 1472a549c6
commit 83fdba47a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -99,8 +99,6 @@ function! SpaceVim#layers#lang#java#config() abort
autocmd FileType java setlocal omnifunc=javacomplete#Complete
autocmd FileType java call s:java_mappings()
augroup END
set tags +=~/others/openjdksrc/java/tags
set tags +=~/others/openjdksrc/javax/tags
let g:neoformat_enabled_java = ['googlefmt']
let g:neoformat_java_googlefmt = {
\ 'exe': 'java',

View File

@ -8,7 +8,7 @@
function! SpaceVim#layers#tags#plugins() abort
return [
\ ['ludovicchabant/vim-gutentags', {'merged' : 0}],
\ ['ludovicchabant/vim-gutentags', {'merged' : 0, 'loadconf' : 1}],
\ ['SpaceVim/gtags.vim', {'merged' : 0}],
\ ['tsukkee/unite-tag', {'merged' : 0}],
\ ]

View File

@ -0,0 +1,2 @@
let g:gutentags_cache_dir = get(g:, 'gutentags_cache_dir', expand('~/.cache/tags'))
let g:gutentags_modules = get(g:, 'gutentags_modules', ['ctags', 'gtags_cscope'])