mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-12 13:33:49 -05:00
Add razor syntax, fixes #450
This commit is contained in:
@@ -1174,6 +1174,13 @@ au BufRead,BufNewFile *.raml set ft=raml
|
||||
augroup end
|
||||
endif
|
||||
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'razor') == -1
|
||||
augroup filetypedetect
|
||||
" razor, from razor.vim in adamclerk/vim-razor
|
||||
autocmd BufNewFile,BufRead *.cshtml setf razor
|
||||
augroup end
|
||||
endif
|
||||
|
||||
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'reason') == -1
|
||||
augroup filetypedetect
|
||||
" reason, from reason.vim in reasonml-editor/vim-reason-plus
|
||||
|
||||
Reference in New Issue
Block a user