2022-03-15 08:00:46 +01:00
|
|
|
" Activate spell chechking in xml files, within tags only
|
|
|
|
set spell spelllang=en
|
|
|
|
syn spell toplevel
|
|
|
|
" Disable spell chacking in attributes
|
|
|
|
syn region xmlString contained start=+"+ end=+"+ contains=xmlEntity,@NoSpell display
|
|
|
|
syn region xmlString contained start=+'+ end=+'+ contains=xmlEntity,@NoSpell display
|
|
|
|
|
2022-03-16 17:12:48 +01:00
|
|
|
augroup xliff
|
|
|
|
autocmd!
|
|
|
|
" xsd is installed via home manager
|
|
|
|
autocmd BufEnter **/*.xlf :let g:ale_xml_xmllint_options = '-schema ~/.local/share/xsd/xliff-core-1.2-strict.xsd'
|
|
|
|
augroup END
|