Permalink
Browse files

Added instructions for how to enable yard syntax for .rb files.

  • Loading branch information...
1 parent 3f2735a commit 3e0ab20eeb3a8c5c2cb33ed168050a8ea8890b87 @postmodern committed Nov 7, 2011
Showing with 4 additions and 0 deletions.
  1. +4 −0 README.md
View
@@ -7,3 +7,7 @@ A [VIM](http://www.vim.org/) plugin which adds syntax highlighting to your
Copy `syntax/yard.vim` into `~/.vim/syntax`.
+Then add the following line to your `.vimrc`:
+
+ autocmd BufRead *.rb set syntax=yard
+

0 comments on commit 3e0ab20

Please sign in to comment.