Vim 的 Razor .cshtml 语法突出显示?
我正在寻找 .cshtml vim 语法文件。是否有任何项目尚未进入 www.vim.org?
I'm looking for a .cshtml vim syntax file. Are there any projects that haven't made it to www.vim.org?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
":setf html" 解决了 80% 的部分:)
":setf html" solves the 80% part :)
这家伙已经计划支持剃刀,但还没有实现。但是,它确实为现有的 c# 支持添加了一些功能。
https://github.com/OrangeT/vim-csharp
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
通过将其添加到
.vimrc
来解决Settled with adding this to
.vimrc
您可以在 https://github.com/adamclerk/vim-razor
You can find nice vim-razor plugin in https://github.com/adamclerk/vim-razor
Russ Martinez(或者 Daniel Dabrowski 的)cshtml.vim 文件似乎是一个候选者。它并不完美,但至少是一个开始。 https://bitbucket.org/rod/dotfiles/src/8aaae8635165 /vim/syntax/cshtml.vim
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