From df85375fcb6d68a53df5c01756c464f9059cb06f Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Tue, 12 Jun 2018 23:31:20 -0400 Subject: [PATCH] set filetype for .cxl and .yc files --- vimrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vimrc b/vimrc index 01c1037..3f3ab8f 100644 --- a/vimrc +++ b/vimrc @@ -135,6 +135,8 @@ if has("autocmd") autocmd FileType text setlocal textwidth=78 autocmd FileType gitolite setlocal sw=2 ts=2 sts=2 autocmd BufRead,BufNewFile *.icf set syntax=cpp + autocmd BufRead,BufNewFile *.cxl set syntax=cpp + autocmd BufRead,BufNewFile *.yc set syntax=yacc autocmd Syntax ruby setlocal sw=2 ts=2 sts=2 iskeyword+=@-@,? autocmd Syntax vim setlocal sw=2 ts=2 sts=2 autocmd BufRead,BufNewFile *.di set filetype=d