mirror of
https://github.com/freitass/todo.txt-vim.git
synced 2025-11-12 20:03:47 -05:00
When creating a new todo/ directory structure from the Android app last week I noticed new todo files are now (have always been?) created all lowercase. Therefore I made a trivial change to ftdetect/todo.vim to make the plugin recognize both Todo.txt as well as todo.txt and switch to todo mode accordingly.
10 lines
283 B
VimL
10 lines
283 B
VimL
" File: todo.txt.vim
|
|
" Description: Todo.txt filetype detection
|
|
" Author: Leandro Freitas <freitass@gmail.com>
|
|
" Licence: Vim licence
|
|
" Website: http://github.com/freitass/todo.txt.vim
|
|
" Version: 0.1
|
|
|
|
autocmd BufNewFile,BufRead [Tt]odo.txt set filetype=todo
|
|
|