From 21d8223f318d67c23f311b16074d70372218ae96 Mon Sep 17 00:00:00 2001 From: Natapat Samutpong Date: Thu, 24 Mar 2022 09:38:54 +0700 Subject: [PATCH] move hazure.vim to another repo --- editor/hazure.vim | 36 ------------------------------------ 1 file changed, 36 deletions(-) delete mode 100644 editor/hazure.vim diff --git a/editor/hazure.vim b/editor/hazure.vim deleted file mode 100644 index a0b09d0..0000000 --- a/editor/hazure.vim +++ /dev/null @@ -1,36 +0,0 @@ -" Vim syntax file -" Language: Hazure - -if exists("b:current_syntax") - finish -endif - -set iskeyword=a-z,A-Z,_ - -" Todos -syn keyword hazureTodos TODO XXX FIXME NOTE - -" Language keywords -syn keyword hazureKeywords let mut fun do end if then else case of return pub -syn keyword hazureTypes int string bool void vec_int vec_string vec_bool - -" Comments -syn region hazureCommentLine start="--" end="$" contains=hazureTodos -syn region hazureCommentBlock start="-{" end="}-" contains=hazureTodos - -" Strings -syn region hazureString start=/\v"/ skip=/\v\\./ end=/\v"/ - -" Numbers -syn region hazureNumber start=/\s\d/ skip=/\d/ end=/\s/ - -" Set hilighting -hi def link hazureTodos Todo -hi def link hazureKeywords Keyword -hi def link hazureTypes Types -hi def link hazureCommentLine Comment -hi def link hazureCommentBlock Comment -hi def link hazureString String -hi def link hazureNumber Number - -let b:current_syntax="hazure"