From b202810bb1fa50905a5d7840d5fd4b00e34dbd8f Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Thu, 29 Nov 2018 23:41:00 +1300 Subject: Pare down after/indent scripts a fair bit More overzealous undo-setting. I should wait until it becomes an actual issue. --- vim/after/indent/awk.vim | 7 ------- 1 file changed, 7 deletions(-) delete mode 100644 vim/after/indent/awk.vim (limited to 'vim/after/indent/awk.vim') diff --git a/vim/after/indent/awk.vim b/vim/after/indent/awk.vim deleted file mode 100644 index fc848d2a..00000000 --- a/vim/after/indent/awk.vim +++ /dev/null @@ -1,7 +0,0 @@ -" The stock AWK indenting is decent, but doesn't include an undo variable; -" this adds one, clearing away the sole global function too. -if !exists('b:undo_indent') - let b:undo_indent = 'unlet! b:did_indent' - let b:undo_indent = b:undo_indent . '|setlocal indentexpr< indentkeys<' - let b:undo_indent = b:undo_indent . '|delfunction! GetAwkIndent' -endif -- cgit v1.2.3