aboutsummaryrefslogtreecommitdiff
path: root/vim/indent/tsv.vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-06-14 22:44:45 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-06-14 22:44:45 +1200
commitfe93144dc341f42feb5da17450d46f6f5809fc7a (patch)
tree2954a51670ed88d688b2c08173393e2265c64f60 /vim/indent/tsv.vim
parentAdd explanatory comment on Vim indent ftplugin (diff)
downloaddotfiles-fe93144dc341f42feb5da17450d46f6f5809fc7a.tar.gz
dotfiles-fe93144dc341f42feb5da17450d46f6f5809fc7a.zip
Spruce up CSV and TSV Vim filetype scripts
Diffstat (limited to 'vim/indent/tsv.vim')
-rw-r--r--vim/indent/tsv.vim13
1 files changed, 2 insertions, 11 deletions
diff --git a/vim/indent/tsv.vim b/vim/indent/tsv.vim
index adbde97d..ae72397c 100644
--- a/vim/indent/tsv.vim
+++ b/vim/indent/tsv.vim
@@ -1,11 +1,2 @@
-" Only do this when not done yet for this buffer
-if exists('b:did_indent')
- finish
-endif
-let b:did_indent = 1
-
-" Manual indenting and literal tabs for TSVs
-setlocal noautoindent
-setlocal noexpandtab
-setlocal softtabstop=0
-let b:undo_indent = 'setlocal autoindent< expandtab< softtabstop<'
+" TSVs have the same indent options as CSVs
+runtime! indent/csv.vim