diff --git a/README.md b/README.md index 5a7922e..240dedf 100644 --- a/README.md +++ b/README.md @@ -1,22 +1,23 @@ # todolist-syntax -Vim syntax file for todo lists (**\*.td**). +Vim syntax file for todo lists (**\*.todo**, **\*.td**). # Installation ```shell mkdir -p ~/.vim/syntax wget -O ~/.vim/syntax/todolist.vim https://raw.githubusercontent.com/gechandesu/todolist-syntax/main/todolist.vim -echo 'autocmd BufRead,BufNewFile *.td set filetype=todolist' >> ~/.vim/filetype.vim +echo 'autocmd BufRead,BufNewFile *.todo,*.td set filetype=todolist' >> ~/.vim/filetype.vim ``` # Syntax ``` -- Uncompleted task (blue) +- Uncompleted task (light blue) + Completed task (green) x Rejected task (red) -# Comment (cyan) -TODO mark +# Comment +\Marked text (yellow background)\ +`Code (magenta)` Plain text ```