Przeglądaj źródła

Initial commit

master
Dylan Baker 5 lat temu
commit
fd736b6ac5
2 zmienionych plików z 16 dodań i 0 usunięć
  1. 1
    0
      ftdetect/moss.vim
  2. 15
    0
      syntax/moss.vim

+ 1
- 0
ftdetect/moss.vim Wyświetl plik

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

+ 15
- 0
syntax/moss.vim Wyświetl plik

@@ -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

Ładowanie…
Anuluj
Zapisz