todolist-syntax/README.md

24 lines
504 B
Markdown
Raw Permalink Normal View History

2021-08-31 14:38:09 +03:00
# todolist-syntax
2021-08-31 14:52:29 +03:00
2021-09-02 07:49:52 +03:00
Vim syntax file for todo lists (**\*.todo**, **\*.td**).
2021-08-31 14:52:29 +03:00
# Installation
```shell
mkdir -p ~/.vim/syntax
wget -O ~/.vim/syntax/todolist.vim https://raw.githubusercontent.com/gechandesu/todolist-syntax/main/todolist.vim
2021-09-02 07:49:52 +03:00
echo 'autocmd BufRead,BufNewFile *.todo,*.td set filetype=todolist' >> ~/.vim/filetype.vim
2021-08-31 14:52:29 +03:00
```
# Syntax
```
2021-09-02 07:49:52 +03:00
- Uncompleted task (light blue)
2021-08-31 14:52:29 +03:00
+ Completed task (green)
x Rejected task (red)
2021-09-02 07:49:52 +03:00
# Comment
\Marked text (yellow background)\
`Code (magenta)`
2021-08-31 14:52:29 +03:00
Plain text
```