mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-24 06:40:05 +08:00
Indented code
This commit is contained in:
parent
69c605854c
commit
f7c9a3bee8
@ -64,9 +64,9 @@ function! SpaceVim#layers#lang#java#config() abort
|
|||||||
au!
|
au!
|
||||||
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
|
||||||
set tags +=~/others/openjdksrc/java/tags
|
set tags +=~/others/openjdksrc/java/tags
|
||||||
set tags +=~/others/openjdksrc/javax/tags
|
set tags +=~/others/openjdksrc/javax/tags
|
||||||
augroup END
|
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! s:language_specified_mappings() abort
|
function! s:language_specified_mappings() abort
|
||||||
@ -74,6 +74,7 @@ function! s:language_specified_mappings() abort
|
|||||||
call SpaceVim#mapping#space#langSPC('nmap', ['l','I'], '<Plug>(JavaComplete-Imports-AddMissing)', 'Import missing classes', 0)
|
call SpaceVim#mapping#space#langSPC('nmap', ['l','I'], '<Plug>(JavaComplete-Imports-AddMissing)', 'Import missing classes', 0)
|
||||||
call SpaceVim#mapping#space#langSPC('nmap', ['l','R'], '<Plug>(JavaComplete-Imports-RemoveUnused)', 'Remove unused classes', 0)
|
call SpaceVim#mapping#space#langSPC('nmap', ['l','R'], '<Plug>(JavaComplete-Imports-RemoveUnused)', 'Remove unused classes', 0)
|
||||||
call SpaceVim#mapping#space#langSPC('nmap', ['l','i'], '<Plug>(JavaComplete-Imports-AddSmart)', 'Smart import class under cursor', 0)
|
call SpaceVim#mapping#space#langSPC('nmap', ['l','i'], '<Plug>(JavaComplete-Imports-AddSmart)', 'Smart import class under cursor', 0)
|
||||||
|
call SpaceVim#mapping#space#langSPC('nnoremap', ['l','a'], 'A', 'jump to alternate file', 1)
|
||||||
|
|
||||||
" execute
|
" execute
|
||||||
let g:_spacevim_mappings_space.l.r = {'name' : '+Run'}
|
let g:_spacevim_mappings_space.l.r = {'name' : '+Run'}
|
||||||
|
Loading…
Reference in New Issue
Block a user