commit dd85db0fddca4a4813b2b684bea5134a6c33175d parent fcde4962d3f25d2c78d50c4e45262095574800f4 Author: Dimitrije Dobrota <mail@dimitrijedobrota.com> Date: Sun, 25 Feb 2024 22:43:46 +0000 Set ypp and lpp as yacc and lex file extensions Diffstat:
A | .xdg/config/vim/syntax.vim | | | 2 | ++ |
M | .xdg/config/vim/vimrc | | | 1 | + |
2 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/.xdg/config/vim/syntax.vim b/.xdg/config/vim/syntax.vim @@ -0,0 +1,2 @@ +au BufRead,BufNewFile *.ypp set filetype=yacc +au BufRead,BufNewFile *.lpp set filetype=lex diff --git a/.xdg/config/vim/vimrc b/.xdg/config/vim/vimrc @@ -106,6 +106,7 @@ set wildmode=full highlight Visual ctermfg=yellow ctermbg=gray +source <sfile>:h/syntax.vim source <sfile>:h/clangd.vim source <sfile>:h/gruvbox.vim source <sfile>:h/hex.vim