summarylogtreecommitdiffstats
path: root/mesonic-ftdetect.vim
blob: d4b7c89192d12cc5add63f3b63fe83fc9f313613 (plain)
1
2
3
autocmd BufRead,BufNewFile * if (!exists("b:current_compiler") || b:current_compiler!=#"meson") && filereadable("meson.build") | compiler meson | endif
" overrides 'text' file type
autocmd BufRead,BufNewFile meson_options.txt set filetype=mesonopt