Commits

Anonymous committed 2e03f06

Distribution organization guidelines: contributed files in contrib.

  • Participants
  • Parent commits d76a815

Comments (0)

Files changed (3)

 
 -----------------------------------------------------------------------------
 
-The files `edit/smith.vim` and `eg/beer.smt` were contributed by
+The files `contrib/edit/smith.vim` and `eg/beer.smt` were contributed by
 Rafal M. Sulejman and Nathan Thern respectively, for distribution in the
 SMITH distribution; they are freely distributable unmodified for
 non-commercial purposes, and are thus covered under the following license:

contrib/edit/smith.vim

+
+" Vim syntax file
+" Language:	SMITH
+" Maintainer:	Rafal M. Sulejman <rms@poczta.onet.pl>
+" Last Change:	24.06.2000
+
+" Remove any old syntax stuff hanging around
+syn clear
+
+syn case ignore
+
+
+syn match smithComment ";.*$"
+
+syn match decNumber		"\<[+-]*[0-9]\d*\>"
+
+syn match smithRegister		"R[\[]*[0-9]*[\]]*"
+
+syn match smithKeyword	"COR\|MOV\|MUL\|NOT\|STOP\|SUB\|NOP\|BLA\|REP"
+
+syn region smithString		start=+"+  skip=+\\\\\|\\"+  end=+"+
+
+
+syn case match
+
+if !exists("did_smith_syntax_inits")
+  let did_smith_syntax_inits = 1
+  " The default methods for highlighting.  Can be overridden later
+  hi link smithRegister	Identifier
+  hi link smithKeyword	Keyword
+	hi link smithComment Comment
+	hi link smithString String
+  hi link decNumber	Number
+endif
+
+let b:current_syntax = "smith"
+
+" vim: ts=2

edit/smith.vim

-
-" Vim syntax file
-" Language:	SMITH
-" Maintainer:	Rafal M. Sulejman <rms@poczta.onet.pl>
-" Last Change:	24.06.2000
-
-" Remove any old syntax stuff hanging around
-syn clear
-
-syn case ignore
-
-
-syn match smithComment ";.*$"
-
-syn match decNumber		"\<[+-]*[0-9]\d*\>"
-
-syn match smithRegister		"R[\[]*[0-9]*[\]]*"
-
-syn match smithKeyword	"COR\|MOV\|MUL\|NOT\|STOP\|SUB\|NOP\|BLA\|REP"
-
-syn region smithString		start=+"+  skip=+\\\\\|\\"+  end=+"+
-
-
-syn case match
-
-if !exists("did_smith_syntax_inits")
-  let did_smith_syntax_inits = 1
-  " The default methods for highlighting.  Can be overridden later
-  hi link smithRegister	Identifier
-  hi link smithKeyword	Keyword
-	hi link smithComment Comment
-	hi link smithString String
-  hi link decNumber	Number
-endif
-
-let b:current_syntax = "smith"
-
-" vim: ts=2