This plugin works well with Tim Pope's fugitive plugin, but you can also install manually.
-
Check out the repository with Git, or use the "Download Source" link on the Github homepage.
-
Copy the files into
~/.vim/
. You should end up with a structure like:-
~/.vim
-
compiler/
- xmllint_sld.vim
-
xsd/
-
filter/
-
gml/
-
sld/
-
xlink/
-
-
-
In vim, open an SLD file as normal. Use :compiler xmllint_sld
to activate
the compiler plugin, then :make %
to get a validation report in vim's
compiler error list.