mirror of
https://github.com/aquatix/dotfiles.git
synced 2025-12-07 06:55:11 +01:00
Started syntax highlighting of 'todo' files
This commit is contained in:
1
.vim/ftdetect/todo.vim
Normal file
1
.vim/ftdetect/todo.vim
Normal file
@@ -0,0 +1 @@
|
|||||||
|
au BufNewFile,BufRead *.todo set filetype=todo
|
||||||
8
.vim/syntax/todo.vim
Normal file
8
.vim/syntax/todo.vim
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
if exists("b:current_syntax")
|
||||||
|
finish
|
||||||
|
endif
|
||||||
|
|
||||||
|
syntax keyword todoKeyword todo done
|
||||||
|
highlight link todoKeyword Keyword
|
||||||
|
|
||||||
|
let b:current_syntax = "todo"
|
||||||
Reference in New Issue
Block a user