]> git.phdru.name Git - dotfiles.git/commitdiff
.vim/after/indent/(x|ht)ml.vim: Don't re-indent lines on right-angle-bracket
authorOleg Broytman <phd@phdru.name>
Sat, 15 Sep 2018 08:51:41 +0000 (11:51 +0300)
committerOleg Broytman <phd@phdru.name>
Sat, 15 Sep 2018 08:51:41 +0000 (11:51 +0300)
.vim/after/indent/html.vim [new file with mode: 0644]
.vim/after/indent/xml.vim [new symlink]

diff --git a/.vim/after/indent/html.vim b/.vim/after/indent/html.vim
new file mode 100644 (file)
index 0000000..713a16b
--- /dev/null
@@ -0,0 +1,3 @@
+" Don't re-indent lines on right-angle-bracket
+setlocal indentkeys-=<>>
+let b:undo_ftplugin .= '|setlocal indentkeys<'
diff --git a/.vim/after/indent/xml.vim b/.vim/after/indent/xml.vim
new file mode 120000 (symlink)
index 0000000..9dfabb8
--- /dev/null
@@ -0,0 +1 @@
+html.vim
\ No newline at end of file