Add razor syntax, fixes #450

This commit is contained in:
Adam Stankiewicz
2020-03-02 01:03:15 +01:00
parent 16774887a3
commit e558a218c6
6 changed files with 110 additions and 1 deletions

View File

@@ -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