From 4d71c0767f4238a5c2210af2b0bf0df72f2e1414 Mon Sep 17 00:00:00 2001 From: wsdjeg Date: Fri, 12 Jul 2019 09:06:28 +0800 Subject: [PATCH] Change fileformat to unix --- syntax/SpaceVimTodoManager.vim | 42 +++++++++++++++++----------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/syntax/SpaceVimTodoManager.vim b/syntax/SpaceVimTodoManager.vim index 41c576d9a..fdcf14c42 100644 --- a/syntax/SpaceVimTodoManager.vim +++ b/syntax/SpaceVimTodoManager.vim @@ -1,21 +1,21 @@ -if exists('b:current_syntax') && b:current_syntax ==# 'SpaceVimTodoManager' - finish -endif -let b:current_syntax = 'SpaceVimTodoManager' -syntax case ignore - -syn match FileName /\(@[a-zA-Z]*\s\+\)\@<=[^ ]*/ -syn match TODOTAG /^\s*@[a-zA-Z]*/ -syn match TODOQUESTION /^\s*@ques[a-z]*/ -syn match TODOFIXME /^\s*@fixm[a-z]*/ -" 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 - +if exists('b:current_syntax') && b:current_syntax ==# 'SpaceVimTodoManager' + finish +endif +let b:current_syntax = 'SpaceVimTodoManager' +syntax case ignore + +syn match FileName /\(@[a-zA-Z]*\s\+\)\@<=[^ ]*/ +syn match TODOTAG /^\s*@[a-zA-Z]*/ +syn match TODOQUESTION /^\s*@ques[a-z]*/ +syn match TODOFIXME /^\s*@fixm[a-z]*/ +" 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 +