diff options
Diffstat (limited to 'vim/ftdetect')
-rw-r--r-- | vim/ftdetect/csv.vim | 7 | ||||
-rw-r--r-- | vim/ftdetect/tsv.vim | 7 |
2 files changed, 14 insertions, 0 deletions
diff --git a/vim/ftdetect/csv.vim b/vim/ftdetect/csv.vim new file mode 100644 index 00000000..4a2d082f --- /dev/null +++ b/vim/ftdetect/csv.vim @@ -0,0 +1,7 @@ +" Add automatic commands to detect CSV files +augroup dfcsv + autocmd! + autocmd BufNewFile,BufRead + \ *.csv + \ setfiletype csv +augroup END diff --git a/vim/ftdetect/tsv.vim b/vim/ftdetect/tsv.vim new file mode 100644 index 00000000..7cfaf1b8 --- /dev/null +++ b/vim/ftdetect/tsv.vim @@ -0,0 +1,7 @@ +" Add automatic commands to detect TSV files +augroup dftsv + autocmd! + autocmd BufNewFile,BufRead + \ *.tsv + \ setfiletype tsv +augroup END |