From a2b11898812dbdf484c551a2028ce765ac94914f Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Sat, 15 Sep 2018 11:51:41 +0300 Subject: [PATCH] .vim/after/indent/(x|ht)ml.vim: Don't re-indent lines on right-angle-bracket --- .vim/after/indent/html.vim | 3 +++ .vim/after/indent/xml.vim | 1 + 2 files changed, 4 insertions(+) create mode 100644 .vim/after/indent/html.vim create mode 120000 .vim/after/indent/xml.vim diff --git a/.vim/after/indent/html.vim b/.vim/after/indent/html.vim new file mode 100644 index 0000000..713a16b --- /dev/null +++ b/.vim/after/indent/html.vim @@ -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 index 0000000..9dfabb8 --- /dev/null +++ b/.vim/after/indent/xml.vim @@ -0,0 +1 @@ +html.vim \ No newline at end of file -- 2.39.5