Permalink
Browse files

some ecl updates.

  • Loading branch information...
1 parent 0091d91 commit 728e301db1c69b59bd26e9fab0b1a8ff9bcfcc2f @jeffbuttars committed Aug 21, 2012
Showing with 17 additions and 3 deletions.
  1. +15 −0 UltiSnips/ecl.snippets
  2. +1 −1 ftplugin/ecl.vim
  3. +1 −0 vimrc/bundles.vim
  4. +0 −2 vimrc/nerdtree.vim
View
@@ -57,3 +57,18 @@ ${1}(${2}) := MACRO
${0}
ENDMACRO; // MACRO $1()
endsnippet
+
+snippet if "IF()"
+IF(${1:test}, ${2:do})${0}
+endsnippet
+
+snippet seq "SEQUENTIAL()"
+SEQUENTIAL(${1});
+endsnippet
+
+snippet func "fname := FUNCTION()"
+${1:resulttype }${2:funcname}(${3}) := FUNCTION
+ ${4}
+ RETURN ${5};
+END; //$2()${0}
+endsnippet
View
@@ -1,7 +1,7 @@
" mock.ecl(7,14): error C3002: syntax error near "UNSIGNED4" : expected :=, ';'
set makeprg=eclcc\ -syntax\ '%'
-set errorformat=%f(%l,%c):\ error\ %t%n:\ %m
+set errorformat=%f(%l\\,%c):\ %trror\ C%n:\ %m,%f(%l\\,%c):\ %tarning\ C%n:\ %m
nmap <F8> <ESC>:!eclcc -syntax '%'<CR>
imap <F8> <ESC><ESC>:!eclcc -syntax '%'<CR>
View
@@ -51,6 +51,7 @@ Bundle 'Gundo'
Bundle 'ack.vim'
Bundle 'fugitive.vim'
Bundle 'The-NERD-tree'
+Bundle 'SuperTab-continued.'
" https://lampsvn.epfl.ch/trac/scala/browser/scala-tool-support/trunk/src/vim
" Bundle 'scala'
View
@@ -1,2 +0,0 @@
-
-map <c-d> <ESC>:NERDTreeToggle<CR>

0 comments on commit 728e301

Please sign in to comment.