From 6e2f04212730bdc9c6b5546b863620f4aad1e7af Mon Sep 17 00:00:00 2001 From: Varun Batra Date: Fri, 31 May 2019 18:26:03 +0530 Subject: [PATCH] Add PHP filetype in Emmet (#2858) PHP is developed to be written inside HTML yet HTML tagging was not supported inside PHP files. --- autoload/SpaceVim/layers/lang/html.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/SpaceVim/layers/lang/html.vim b/autoload/SpaceVim/layers/lang/html.vim index b0988f334..99934b61d 100644 --- a/autoload/SpaceVim/layers/lang/html.vim +++ b/autoload/SpaceVim/layers/lang/html.vim @@ -23,7 +23,7 @@ function! SpaceVim#layers#lang#html#config() abort let g:user_emmet_leader_key=get(g:, 'user_emmet_leader_key', '') 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