dotfiles/vim/config/filetypes.vim

19 lines
479 B
VimL
Raw Normal View History

" This config includes custom settings for special filetypes
2019-02-17 12:04:49 +01:00
" Markdown / .md
function Markdown()
set filetype=markdown
endfunction
2019-02-17 12:04:49 +01:00
autocmd BufNewFile,BufReadPost *.Rmd call Markdown()
autocmd BufNewFile,BufReadPost *.rmd call Markdown()
autocmd BufNewFile,BufReadPost *.md call Markdown()
2022-03-16 23:36:19 +01:00
" Groovy syntax highlighting
au BufNewFile,BufRead Jenkinsfile set filetype=groovy
2022-06-01 19:15:50 +02:00
au BufNewFile,BufRead *.bu set filetype=yaml
2022-03-16 23:36:19 +01:00
au BufNewFile,BufRead .latexmkrc set filetype=perl