aboutsummaryrefslogtreecommitdiff
path: root/.config/nvim/syntax
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/syntax')
-rw-r--r--.config/nvim/syntax/hobbylang.vim41
1 files changed, 0 insertions, 41 deletions
diff --git a/.config/nvim/syntax/hobbylang.vim b/.config/nvim/syntax/hobbylang.vim
deleted file mode 100644
index cb02b5b..0000000
--- a/.config/nvim/syntax/hobbylang.vim
+++ /dev/null
@@ -1,41 +0,0 @@
-if exists("b:current_syntax")
- finish
-endif
-
-syn keyword hlStatement break continue return self
-syn keyword hlLabel case
-syn keyword hlConditional if else match
-syn keyword hlRepeat while loop for
-syn keyword hlStructure struct enum var func
-syn keyword hlModifier static global
-syn keyword hlLiteral true false nil
-
-syn match hlFunction /\<\h\w*\ze\_s*(/
-
-syn match hlComment /\/\/.*/
-syn match hlType /[^a-z0-9_][A-Z][A-z0-9_]*/
-syn match hlNumber /\<\d\+\>/
-syn match hlNumber /\<\d\+\.\d*/
-syn match hlOperator /=|\+=|-=|\*=|\/=|%=|\*\*=|\+|-|\*\*|\*|\/|%|\<|\>|\<=|\>=|==|!=|!|\.\./
-
-syn region hlString start="\"" end="\"" contains=hlEscape
-syn region hlString start="'" end="'" contains=hlEscape
-
-syn match hlEscape /\\[ntra"'\\]/
-
-hi def link hlEscape Special
-hi def link hlStructure Structure
-hi def link hlFunction Function
-hi def link hlStatement Statement
-hi def link hlLabel Label
-hi def link hlConditional Conditional
-hi def link hlRepeat Repeat
-hi def link hlModifier StorageClass
-hi def link hlType Type
-hi def link hlString String
-hi def link hlOperator Operator
-hi def link hlNumber Constant
-hi def link hlLiteral Constant
-hi def link hlComment Comment
-
-let b:current_syntax = 'hl'