mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-22 20:01:34 +08:00
28 lines
975 B
VimL
28 lines
975 B
VimL
"=============================================================================
|
|
" xml.vim --- SpaceVim lang#xml layer
|
|
" Copyright (c) 2016-2017 Wang Shidong & Contributors
|
|
" Author: Wang Shidong < wsdjeg at 163.com >
|
|
" URL: https://spacevim.org
|
|
" License: GPLv3
|
|
"=============================================================================
|
|
|
|
|
|
""
|
|
" @section lang#xml, layer-lang-xml
|
|
" @parentsection layers
|
|
" When editing an xml file, the omni func is xmlcomplete#CompleteTags. You can
|
|
" read the documentation in autoload/xmlcomplete.vim in the vim or neovim
|
|
" runtime directory.
|
|
|
|
|
|
function! SpaceVim#layers#lang#xml#plugins() abort
|
|
let plugins = []
|
|
call add(plugins,['Valloric/MatchTagAlways', { 'on_ft' : ['html' , 'xhtml' , 'xml' , 'jinja']}])
|
|
call add(plugins,['sukima/xmledit', { 'on_ft' : ['html' , 'xhtml' , 'xml' , 'jinja']}])
|
|
return plugins
|
|
endfunction
|
|
|
|
function! SpaceVim#layers#lang#xml#config() abort
|
|
|
|
endfunction
|