I'm looking for a .cshtml vim syntax file. Are there any projects that haven't made it to www.vim.org?
相关问题
- Emacs shell: save commit message
- TextBoxFor decimal
- How to change the first two uppercase characters o
- Insert text into current buffer from function
- Hot reload on save
相关文章
- 如何让 vim 支持 .cshtml 文件的代码高亮
- Auto-save in VIM as you type
- How can I use gcc's -I command to add recursiv
- Breakpoint in ASP.NET MVC Razor view will not be h
- How to define function that returns html in asp.ne
- Vim: overloaded mapping for multiple modes
- How to use relative line numbering universally in
- MVC 3 Razor - Trigger validation from controller
Settled with adding this to
.vimrc
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
Russ Martinez (or maybe Daniel Dabrowski's) cshtml.vim file seems to be a candidate. It's not perfect, but at least it's a start. https://bitbucket.org/rod/dotfiles/src/8aaae8635165/vim/syntax/cshtml.vim
":setf html" solves the 80% part :)
You can find nice vim-razor plugin in https://github.com/adamclerk/vim-razor