Browse Source

Initial commit

master
Dylan Baker 1 year ago
commit
fd736b6ac5
2 changed files with 16 additions and 0 deletions
  1. 1
    0
      ftdetect/moss.vim
  2. 15
    0
      syntax/moss.vim

+ 1
- 0
ftdetect/moss.vim View File

@@ -0,0 +1 @@
1
+au BufRead,BufNewFile *.moss set filetype=moss

+ 15
- 0
syntax/moss.vim View File

@@ -0,0 +1,15 @@
1
+if exists("b:current_syn")
2
+  finish
3
+endif
4
+
5
+let b:current_syn = "moss"
6
+
7
+syn match mossIdentifier "\v\$[a-z-]+"
8
+syn match mossFunction "\v\@[a-z-]+"
9
+syn match mossParen "\v[()]"
10
+syn match mossProperty "\v\:[a-z-]+"
11
+
12
+hi link mossIdentifier Identifier
13
+hi link mossFunction Function
14
+hi link mossParen Special
15
+hi link mossProperty Constant

Loading…
Cancel
Save