1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-24 03:00:06 +08:00
SpaceVim/bundle/vim-zettelkasten/syntax/zkbrowser.vim
2022-10-18 22:55:34 +08:00

14 lines
373 B
VimL
Vendored

if "zkbrowser" !=# get(b:, "current_syntax", "zkbrowser")
finish
endif
syntax match ZkFileName '[0-9]\+-[0-9]\+-[0-9]\+-[0-9]\+-[0-9]\+-[0-9]\+\.md'
syntax match ZkRefCount '\[[0-9]\+ .*\]'
syntax match ZkTag '#\<\k\+\>'
highlight default link ZkFileName Label
highlight default link ZkRefCount Link
highlight default link ZkTag Tag
let b:current_syntax = "zkbrowser"