diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2020-11-13 00:02:23 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2020-11-13 00:05:05 +1300 |
commit | d0266b757dd2318e88b9755018843c4f81b4c636 (patch) | |
tree | caf10ac48a4c814b5ae7a6d3d9f34fa0a8ba7f04 /vim | |
parent | Remove unneeded self var for han(1df) (diff) | |
download | dotfiles-d0266b757dd2318e88b9755018843c4f81b4c636.tar.gz dotfiles-d0266b757dd2318e88b9755018843c4f81b4c636.zip |
Remove unneeded load guard
Diffstat (limited to 'vim')
-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 |