mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-24 02:10:05 +08:00
Add PHP filetype in Emmet (#2858)
PHP is developed to be written inside HTML yet HTML tagging was not supported inside PHP files.
This commit is contained in:
parent
5f0dfcb2f0
commit
6e2f042127
@ -23,7 +23,7 @@ function! SpaceVim#layers#lang#html#config() abort
|
||||
let g:user_emmet_leader_key=get(g:, 'user_emmet_leader_key', '<C-e>')
|
||||
augroup spacevim_lang_html
|
||||
autocmd!
|
||||
autocmd FileType html,css,scss,sass,less,javascript,jsp,vue,eex call s:install_emmet()
|
||||
autocmd FileType html,css,scss,sass,less,javascript,jsp,vue,eex,php call s:install_emmet()
|
||||
autocmd Filetype html setlocal omnifunc=htmlcomplete#CompleteTags
|
||||
autocmd FileType css setlocal omnifunc=csscomplete#CompleteCSS
|
||||
augroup END
|
||||
|
Loading…
Reference in New Issue
Block a user