-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsyntax.vim
More file actions
35 lines (27 loc) · 708 Bytes
/
Copy pathsyntax.vim
File metadata and controls
35 lines (27 loc) · 708 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
" Vim syntax file
" Language: Brokkr
" Maintainer: Florian Kramer
" Latest Revision: 17 Novembver 2023
if exists("b:current_syntax")
finish
endif
" Types
syn keyword Type void uint64 double uint8
" Keywords
syn keyword Keyword return global
syn keyword Conditional if while
" Literals
syn region String start=/"/ skip=/\\"/ end=/"/
syn match Float "[0-9]+\.[0-9]+"
syn match Number "[0-9]+"
" Comments
syn region Comment start="//" end="\n"
" Bind this to highlighting info
let b:current_syntax = "brkr"
hi def link Type Type
hi def link Keyword Keyword
hi def link Conditional Conditional
hi def link String String
hi def link Float Float
hi def link Number Number
hi def link Comment Comment