mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-03 02:10:05 +08:00
Improve tags layer (#1761)
* Update tags layer * Update tags layer * Remove tags config in java layer
This commit is contained in:
parent
1472a549c6
commit
83fdba47a2
@ -99,8 +99,6 @@ function! SpaceVim#layers#lang#java#config() abort
|
|||||||
autocmd FileType java setlocal omnifunc=javacomplete#Complete
|
autocmd FileType java setlocal omnifunc=javacomplete#Complete
|
||||||
autocmd FileType java call s:java_mappings()
|
autocmd FileType java call s:java_mappings()
|
||||||
augroup END
|
augroup END
|
||||||
set tags +=~/others/openjdksrc/java/tags
|
|
||||||
set tags +=~/others/openjdksrc/javax/tags
|
|
||||||
let g:neoformat_enabled_java = ['googlefmt']
|
let g:neoformat_enabled_java = ['googlefmt']
|
||||||
let g:neoformat_java_googlefmt = {
|
let g:neoformat_java_googlefmt = {
|
||||||
\ 'exe': 'java',
|
\ 'exe': 'java',
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
function! SpaceVim#layers#tags#plugins() abort
|
function! SpaceVim#layers#tags#plugins() abort
|
||||||
return [
|
return [
|
||||||
\ ['ludovicchabant/vim-gutentags', {'merged' : 0}],
|
\ ['ludovicchabant/vim-gutentags', {'merged' : 0, 'loadconf' : 1}],
|
||||||
\ ['SpaceVim/gtags.vim', {'merged' : 0}],
|
\ ['SpaceVim/gtags.vim', {'merged' : 0}],
|
||||||
\ ['tsukkee/unite-tag', {'merged' : 0}],
|
\ ['tsukkee/unite-tag', {'merged' : 0}],
|
||||||
\ ]
|
\ ]
|
||||||
|
2
config/plugins/vim-gutentags.vim
Normal file
2
config/plugins/vim-gutentags.vim
Normal 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'])
|
Loading…
Reference in New Issue
Block a user