Browse Source

add syntax test cases

pull/207/head
gmarik 14 years ago
parent
commit
3bf598d169
2 changed files with 25 additions and 0 deletions
  1. +20
    -0
      test/files/test.erl
  2. +5
    -0
      test/vimrc

+ 20
- 0
test/files/test.erl View File

@ -0,0 +1,20 @@
-module(mmc_logmon_sup).
-behaviour(supervisor).
-export([init/1]).
init(_) ->
{ok, {
{one_for_one, 5, 1},
[
{listener,
{aaa, start_link, []},
permanent, 100, worker,
[aaa]
},
{server,
{bbb, start_link, []},
permanent, 100, worker,
[bbb]
}
]
}}.

+ 5
- 0
test/vimrc View File

@ -58,6 +58,9 @@ Bundle 'rstacruz/sparkup.git', {'rtp': 'vim/'}
" Camel case
Bundle 'vim-scripts/RubySinatra'
" syntax issue #203
Bundle 'jimenezrick/vimerl'
filetype plugin indent on " Automatically detect file types.
set wildignore+=doc " should not break helptags
@ -69,3 +72,5 @@ set wildignore+=*/.git/*
" set wildignore+=*/doc/*
au VimEnter * BundleInstall
" e test/files/erlang.erl

Loading…
Cancel
Save