Skip to content
Browse files

Ragel support

  • Loading branch information...
1 parent 25c295e commit c8e9eb980278262f693242ad33c0fba0378ff885 @mislav committed Jun 6, 2013
Showing with 8 additions and 0 deletions.
  1. +3 −0 .gitmodules
  2. +1 −0 bundle/ragel
  3. +4 −0 vimrc
View
3 .gitmodules
@@ -76,3 +76,6 @@
[submodule "bundle/dispatch"]
path = bundle/dispatch
url = https://github.com/tpope/vim-dispatch
+[submodule "bundle/ragel"]
+ path = bundle/ragel
+ url = https://github.com/jayferd/ragel.vim
1 bundle/ragel
@@ -0,0 +1 @@
+Subproject commit 68e674d62acf08d66997441c28cdbe8e1e500083
View
4 vimrc
@@ -76,6 +76,10 @@ set notimeout
set ttimeout
set ttimeoutlen=100
+" Ragel syntax (default to ruby as host language)
+let g:ragel_default_subtype='ruby'
+autocmd BufNewFile,BufRead *.rl setfiletype ragel
+
function s:setupWrapping()
set wrap
set wrapmargin=2

0 comments on commit c8e9eb9

Please sign in to comment.
Something went wrong with that request. Please try again.