1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-03 14:40:04 +08:00

Merge pull request #1111 from sei40kr/feature/emmet-jsx-improve

Improve Emmet configuration
This commit is contained in:
Wang Shidong 2017-12-12 23:16:26 +08:00 committed by GitHub
commit aa633bd703
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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_leader_key=get(g:, 'user_emmet_leader_key', '<C-e>')
let g:user_emmet_mode='a' let g:user_emmet_mode='a'
let g:user_emmet_settings = { let g:user_emmet_settings = {
\ 'jsp' : { \ 'javascript': {
\ 'extends' : 'html', \ 'extends': 'jsx',
\ }, \ },
\} \ 'jsp' : {
\ 'extends': 'html',
\ },
\ }
"noremap <SPACE> <Plug>(wildfire-fuel) "noremap <SPACE> <Plug>(wildfire-fuel)
vnoremap <C-SPACE> <Plug>(wildfire-water) vnoremap <C-SPACE> <Plug>(wildfire-water)
let g:wildfire_objects = ["i'", 'i"', 'i)', 'i]', 'i}', 'ip', 'it'] let g:wildfire_objects = ["i'", 'i"', 'i)', 'i]', 'i}', 'ip', 'it']