forked from vuciv/vim-bujo
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbujo-syntax.vim
More file actions
26 lines (22 loc) · 723 Bytes
/
bujo-syntax.vim
File metadata and controls
26 lines (22 loc) · 723 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
" Vim syntax file
" Language: Bullet Journal
" Maintainer: Adam Vander Pas
" Filenames: *.bujo
" Last Change: 28 October 2020
if exists("b:current_syntax")
finish
endif
syn match bujoTodone "^\s*\[x\] .*$"
syn match bujoTodo "^\s*\[\] .*$"
syn match bujoPriorityTodo "^\s*\[\*\] .*$"
syn match bujoEvent "^\s*o .*$"
syn match bujoNote "^\s*\(-\|\d*\.\) .*$"
syn match bujoReject "^\s*\~ .*$"
let b:current_syntax = "bujo"
hi def link bujoPriorityTodo Todo
hi def link bujoNote Type
hi def link bujoTodo Statement
hi def link bujoEvent Constant
hi def link bujoTodone Comment
hi def Strikeout ctermbg=darkblue ctermfg=black guibg=darkblue guifg=blue
hi link bujoReject Strikeout