mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 13:00:04 +08:00
Move jsp autocmd to java layer
This commit is contained in:
parent
38bf9583c0
commit
8608b42634
@ -20,7 +20,6 @@ function! SpaceVim#autocmds#init() abort
|
||||
autocmd BufEnter * if (winnr('$') == 1 && &buftype ==# 'quickfix' ) |
|
||||
\ bd|
|
||||
\ q | endif
|
||||
autocmd FileType jsp call JspFileTypeInit()
|
||||
autocmd QuitPre * call SpaceVim#plugins#windowsmanager#UpdateRestoreWinInfo()
|
||||
autocmd WinEnter * call SpaceVim#plugins#windowsmanager#MarkBaseWin()
|
||||
autocmd BufRead,BufNewFile *.pp setfiletype puppet
|
||||
|
@ -98,6 +98,7 @@ function! SpaceVim#layers#lang#java#config() abort
|
||||
au!
|
||||
autocmd FileType java setlocal omnifunc=javacomplete#Complete
|
||||
autocmd FileType java call s:java_mappings()
|
||||
autocmd FileType jsp call JspFileTypeInit()
|
||||
augroup END
|
||||
let g:neoformat_enabled_java = ['googlefmt']
|
||||
let g:neoformat_java_googlefmt = {
|
||||
|
Loading…
Reference in New Issue
Block a user