I'm looking for a .cshtml vim syntax file. Are there any projects that haven't made it to www.vim.org?
":setf html" solves the 80% part :)
this guy has razor support planned, but is not yet there. However, it does add some features to the existing c# support. https://github.com/OrangeT/vim-csharp
Settled with adding this to .vimrc
" add html syntax to dotnet razor files
autocmd BufNewFile,BufRead *.cshtml set syntax=html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With