From 43b589693584c0a2cf68c49a87f5cc01b619f39f Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Tue, 5 Jul 2016 12:15:27 -0400 Subject: Move vim script to "extras" directory --- extras/steuermann.vim | 22 ++++++++++++++++++++++ steuermann.vim | 22 ---------------------- 2 files changed, 22 insertions(+), 22 deletions(-) create mode 100644 extras/steuermann.vim delete mode 100644 steuermann.vim diff --git a/extras/steuermann.vim b/extras/steuermann.vim new file mode 100644 index 0000000..97c3b2f --- /dev/null +++ b/extras/steuermann.vim @@ -0,0 +1,22 @@ +" To use syntax highlighting with vim: +" +" put this file in ~/.vim/syntax/steuermann.vim +" +" put this command in ~/.vimrc +" autocmd BufRead,BufNewFile *.sm set filetype=steuermann + +syntax match Comment "#.*$" + +syntax keyword Keyword HOSTGROUP TABLE HOST CMD OPT AFTER RUN LOCAL +syntax keyword Keyword IMPORT DEBUG + +syntax match IfClause "IF[^:]*:" + +highlight IfClause guifg=green ctermfg=2 + +syntax match String "\"[^"]*\"" + +syntax region PreProc start="CONDITIONS" end="[\s]*END[ \t]*\n" + +syntax sync fromstart + diff --git a/steuermann.vim b/steuermann.vim deleted file mode 100644 index 97c3b2f..0000000 --- a/steuermann.vim +++ /dev/null @@ -1,22 +0,0 @@ -" To use syntax highlighting with vim: -" -" put this file in ~/.vim/syntax/steuermann.vim -" -" put this command in ~/.vimrc -" autocmd BufRead,BufNewFile *.sm set filetype=steuermann - -syntax match Comment "#.*$" - -syntax keyword Keyword HOSTGROUP TABLE HOST CMD OPT AFTER RUN LOCAL -syntax keyword Keyword IMPORT DEBUG - -syntax match IfClause "IF[^:]*:" - -highlight IfClause guifg=green ctermfg=2 - -syntax match String "\"[^"]*\"" - -syntax region PreProc start="CONDITIONS" end="[\s]*END[ \t]*\n" - -syntax sync fromstart - -- cgit