dotfiles/vim/ftplugin/xml.vim
James Patrick 8bce4295c8 Major Refactored vim config.
There's a lot of cruft built up over my years of using vim & with the
introduction of Doom Emacs what I use vim for has gotten more pointed as
well. Vim now services as a quick in and out tool for dropping to the
commandline on local or remote machines.

So quick rundown on changes.

- Removed weird hallow sourcing in vimrc
- Removed unused or under used Plugs.
- Switched from ctrl+p to fzf.
- Switched to ALE for linting and formatting
- Configuration and keybinds now lives with the Plugs. Intended one
  level under it.
- The large boilerplate sane default file has been extracted into
  sensible.vim. This based on tpope's config.
- Make will no longer symlink .dotfile/vim to ~/.vim. This was causing
  lots of unversioned cruff to pile up in the project. Instead it will
  now symlink all the things needed.
- Make update will now run PlugClean as well.
2021-07-20 14:47:54 -04:00

7 lines
152 B
VimL

let b:ale_fixers = ['xmllint']
let b:ale_fix_on_save = 0
let g:xml_syntax_folding=1
setlocal foldmethod=syntax
autocmd Syntax xml,html,xhtml normal zR