1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 22:40:04 +08:00
SpaceVim/syntax/SpaceVimTodoManager.vim

29 lines
1.0 KiB
VimL
Raw Normal View History

2022-03-20 18:21:11 +08:00
"=============================================================================
" SpaceVimTodoManager.vim --- syntax file for TodoManager
2023-03-26 13:50:22 +08:00
" Copyright (c) 2016-2023 Wang Shidong & Contributors
2022-03-20 18:21:11 +08:00
" Author: Wang Shidong < wsdjeg@outlook.com >
" URL: https://spacevim.org
" License: GPLv3
"=============================================================================
2019-07-12 09:06:28 +08:00
if exists('b:current_syntax') && b:current_syntax ==# 'SpaceVimTodoManager'
finish
endif
let b:current_syntax = 'SpaceVimTodoManager'
syntax case ignore
2020-10-17 23:21:52 +08:00
syn match FileName /\(@[a-zA-Z]*\s\+\)\@<=[^ ]*/
2019-07-12 09:06:28 +08:00
syn match TODOTAG /^\s*@[a-zA-Z]*/
syn match TODOQUESTION /^\s*@ques[a-z]*/
2020-10-17 23:21:52 +08:00
syn match TODOFIXME /^\s*@fixm[a-z]*/
2019-07-12 09:06:28 +08:00
" syn match TODOCHECKBOX /[\d\+/\d\+\]/
syn match TODOINDEX /^\s\+\d\+\.\s/
syn match TODOCHECKBOXPANDING /\s\+√\s\+/
syn match TODOCHECKBOXDONE /\s\+□\s\+/
syn match TODOCHECKBOXNOTE /\s\+·\s\+/
syn match TODODUETIME /\d\+[d]$\|\d\+[d]\s\*$/
hi def link FileName Comment
hi def link TODOTAG Todo
hi def link TODOQUESTION Question
hi def link TODOFIXME ErrorMsg