1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-24 05:20:04 +08:00

Improve Emmet configuration

* Use JSX Emmet presets for Javascript
This commit is contained in:
Seong Yong-ju 2017-12-12 01:10:54 +09:00
parent 074728103e
commit 028c877c57

View File

@ -38,10 +38,14 @@ function! SpaceVim#layers#edit#config() abort
let g:user_emmet_leader_key=get(g:, 'user_emmet_leader_key', '<C-e>')
let g:user_emmet_mode='a'
let g:user_emmet_settings = {
\ 'jsp' : {
\ 'extends' : 'html',
\ },
\}
\ 'javascript': {
\ 'extends': 'jsx',
\ },
\ 'jsp' : {
\ 'extends': 'html',
\ },
\ }
"noremap <SPACE> <Plug>(wildfire-fuel)
vnoremap <C-SPACE> <Plug>(wildfire-water)
let g:wildfire_objects = ["i'", 'i"', 'i)', 'i]', 'i}', 'ip', 'it']