aboutsummaryrefslogtreecommitdiff
path: root/vim/ftplugin/csv.vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-07-10 13:19:02 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-07-10 13:19:02 +1200
commit5cab92f941d31c588d1b8734f2e8e2b078603821 (patch)
treeeee7887fb9a14b49e961f86846d1b1bbef0d1fc7 /vim/ftplugin/csv.vim
parentf36ef6745c3c96914eb7be228125c1d53bf70287 (diff)
downloaddotfiles-5cab92f941d31c588d1b8734f2e8e2b078603821.tar.gz
dotfiles-5cab92f941d31c588d1b8734f2e8e2b078603821.zip
Clean up existing ftplugins a bit
Diffstat (limited to 'vim/ftplugin/csv.vim')
-rw-r--r--vim/ftplugin/csv.vim6
1 files changed, 4 insertions, 2 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<'