How can I on-the-fly spellcheck XML in vim with XML tags excluded from being spellchecked? -


my vim spellchecks docbook xml files well, underlines bad words inside <tags>, wrong behaviour. knows how make skip tags spellchecking?

which parts spell-checked depends on @spell cluster attribute assigned syntax elements in $vimruntime/syntax/xml.vim. example, 1 on xmlregion turns on spell checking inside xml tags.

you copy syntax script ~/.vim/syntax/docbookxml , use 'filetype' instead of xml (or :setlocal syntax=docbookxml).


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -