Skip to content

Commit

Permalink
Stupid error with numbers in function names
Browse files Browse the repository at this point in the history
  • Loading branch information
Oscar Hellström committed Oct 24, 2007
1 parent 02ecf9a commit acadc57
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions ftplugin/erlang.vim
Expand Up @@ -191,4 +191,10 @@ endif " }}}

call s:SetErlangOptions()

" Skeletons {{{1
function GenServer()
echo foo
endfunction
" }}}

" vim: set foldmethod=marker:
2 changes: 1 addition & 1 deletion syntax/erlang.vim
Expand Up @@ -29,7 +29,7 @@ syn case match
syn match erlangStringModifier /\\./ contained
syn match erlangModifier /\$\\\?./

syn match erlangInteger /\<[0-9]\+#[0-9a-f]\+\|[0-9]\+\>/
syn match erlangInteger /\<\%([0-9]\+#[0-9a-f]\+\|[0-9]\+\)\>/
syn match erlangFloat /\<[0-9]\+\.[0-9]\+\%(e-\?[0-9]\+\)\?\>/

syn keyword erlangTodo TODO FIXME XXX contained
Expand Down

0 comments on commit acadc57

Please sign in to comment.