aboutsummaryrefslogtreecommitdiff
path: root/vim/ftdetect/yacc.vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim/ftdetect/yacc.vim')
-rw-r--r--vim/ftdetect/yacc.vim4
1 files changed, 4 insertions, 0 deletions
diff --git a/vim/ftdetect/yacc.vim b/vim/ftdetect/yacc.vim
new file mode 100644
index 00000000..e3cb5ee8
--- /dev/null
+++ b/vim/ftdetect/yacc.vim
@@ -0,0 +1,4 @@
+" Yacc files
+autocmd BufNewFile,BufRead
+ \ *.y,*.yy
+ \ setfiletype yacc