Skip to content

aymanbagabas/vim-razor

master
Switch branches/tags
Code
This branch is 1 commit ahead, 2 commits behind adamclerk:master.
Contribute

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

VIM-RAZOR

This vim bundle adds syntax highlighting and indenting for razor views (*.cshtml).

Installing and Using

  • Install pathogen into ~/.vim/autoload/ and add the following line to your ~/.vimrc:

      call pathogen#infect()
    
  • Make a clone of the vim-less repository:

      $ mkdir -p ~/.vim/bundle
      $ cd ~/.vim/bundle
      $ git clone https://github.com/adamclerk/vim-razor
    
  • OR use git submodules:

      $ git submodule add https://github.com/adamclerk/vim-razor.git bundle/vim-less
      $ git submodule init
    

That's it. Pathogen should handle the rest. Opening a file with a .cshtml extension will load everything.

Credits

Daniel Dabrowski: cshtml syntax

About

vim plugin for razor viewegine

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vim Script 100.0%