1
0
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:
Shidong Wang 2019-01-22 22:18:34 +08:00
parent 38bf9583c0
commit 8608b42634
2 changed files with 1 additions and 1 deletions

View File

@ -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

View File

@ -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 = {