aboutsummaryrefslogtreecommitdiff
path: root/vim/ftdetect/csv.vim
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-11-08 12:34:22 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-11-08 12:44:59 +1300
commit951d19084a9f9a8f82225397b7c41603c6f4860d (patch)
treec2a8a99b0abc722f2154c6437fcd8b13ecab750a /vim/ftdetect/csv.vim
parentUse sh.vim local vars not global POSIX hacks (diff)
downloaddotfiles-951d19084a9f9a8f82225397b7c41603c6f4860d.tar.gz
dotfiles-951d19084a9f9a8f82225397b7c41603c6f4860d.zip
Remove superfluous augroups around ftdetect defs
From :help ftdetect, item 2: > 2. Create a file that contains an autocommand to detect the file type. > Example: > au BufRead,BufNewFile *.mine set filetype=mine > Note that there is no "augroup" command, this has already been done > when sourcing your file.
Diffstat (limited to 'vim/ftdetect/csv.vim')
-rw-r--r--vim/ftdetect/csv.vim9
1 files changed, 3 insertions, 6 deletions
diff --git a/vim/ftdetect/csv.vim b/vim/ftdetect/csv.vim
index e5a38e10..a234c093 100644
--- a/vim/ftdetect/csv.vim
+++ b/vim/ftdetect/csv.vim
@@ -1,7 +1,4 @@
" Add automatic commands to detect CSV files
-augroup dotfiles_ftdetect_csv
- autocmd!
- autocmd BufNewFile,BufRead
- \ *.csv
- \ setfiletype csv
-augroup END
+autocmd BufNewFile,BufRead
+ \ *.csv
+ \ setfiletype csv