diff options
-rw-r--r-- | vim/autoload/indent.vim | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/vim/autoload/indent.vim b/vim/autoload/indent.vim index 5f62fb0b..959acabd 100644 --- a/vim/autoload/indent.vim +++ b/vim/autoload/indent.vim @@ -27,19 +27,10 @@ endfunction " Add commands to b:undo_indent to clean up buffer-local indentation changes " on a change of filetype function! indent#Undo() abort - - " Check and set a flag so that we only do this once per buffer - if exists('b:undo_indent_type_set') - return - endif - let b:undo_indent_type_set = 1 - - " Either set or append relevant commands to b:undo_indent let l:undo = 'setlocal expandtab< shiftwidth< softtabstop< tabstop<' if exists('b:undo_indent') let b:undo_indent .= '|'.l:undo else let b:undo_indent = l:undo endif - endfunction |