diff options
Diffstat (limited to 'vim')
-rw-r--r-- | vim/ftplugin/csv.vim | 6 | ||||
-rw-r--r-- | vim/ftplugin/password.vim | 2 | ||||
-rw-r--r-- | vim/ftplugin/tsv.vim | 6 |
3 files changed, 9 insertions, 5 deletions
diff --git a/vim/ftplugin/csv.vim b/vim/ftplugin/csv.vim index 7242f766..58edfffe 100644 --- a/vim/ftplugin/csv.vim +++ b/vim/ftplugin/csv.vim @@ -3,6 +3,8 @@ if exists('b:did_ftplugin') finish endif -" No autoformatting for CSVs +" No autoformatting, literal tabs +setlocal noautoindent +setlocal noexpandtab setlocal formatoptions= -let b:undo_ftplugin = 'setlocal formatoptions<' +let b:undo_ftplugin = 'setlocal autoindent< expandtab< formatoptions<' diff --git a/vim/ftplugin/password.vim b/vim/ftplugin/password.vim index a09bac47..04658423 100644 --- a/vim/ftplugin/password.vim +++ b/vim/ftplugin/password.vim @@ -3,6 +3,6 @@ if exists('b:did_ftplugin') finish endif -" No autoformatting for password files +" No autoformatting setlocal formatoptions= let b:undo_ftplugin = 'setlocal formatoptions<' diff --git a/vim/ftplugin/tsv.vim b/vim/ftplugin/tsv.vim index d98386a6..58edfffe 100644 --- a/vim/ftplugin/tsv.vim +++ b/vim/ftplugin/tsv.vim @@ -3,6 +3,8 @@ if exists('b:did_ftplugin') finish endif -" No autoformatting for TSVs +" No autoformatting, literal tabs +setlocal noautoindent +setlocal noexpandtab setlocal formatoptions= -let b:undo_ftplugin = 'setlocal formatoptions<' +let b:undo_ftplugin = 'setlocal autoindent< expandtab< formatoptions<' |