Allow spaces in todo files
This commit is contained in:
parent
168efd6dbd
commit
d19a3f32d2
1 changed files with 3 additions and 3 deletions
6
vimrc
6
vimrc
|
@ -434,9 +434,9 @@ command! Snapshot call <sid>snapshot()
|
||||||
|
|
||||||
command! -nargs=? Scratch enew | set buftype=nofile | set filetype=<args>
|
command! -nargs=? Scratch enew | set buftype=nofile | set filetype=<args>
|
||||||
command! Todo enew | set buftype=nofile | set filetype=markdown |
|
command! Todo enew | set buftype=nofile | set filetype=markdown |
|
||||||
\ call matchadd('Todo', '^\[ \?\].*$') |
|
\ call matchadd('Todo', '^\s*\[ \?\].*$') |
|
||||||
\ call matchadd('Comment', '^\[x\].*$') |
|
\ call matchadd('Comment', '^\s*\[x\].*$') |
|
||||||
\ call matchadd('Error', '^\[-\].*$')
|
\ call matchadd('Error', '^\s*\[-\].*$')
|
||||||
command! -nargs=? Tempfile exec 'new '.tempname() | set filetype=<args> | au BufDelete <buffer> call delete(expand('%'))
|
command! -nargs=? Tempfile exec 'new '.tempname() | set filetype=<args> | au BufDelete <buffer> call delete(expand('%'))
|
||||||
|
|
||||||
" ┌──────────────────────────┐
|
" ┌──────────────────────────┐
|
||||||
|
|
Loading…
Reference in a new issue