From bf5d3d906846450048ff5eeaab67a486079b57dd Mon Sep 17 00:00:00 2001 From: Gordon Schulz Date: Tue, 9 Jul 2013 16:28:28 +0200 Subject: [PATCH] Changed file type detection to reflect new lowercase default behavior 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. --- ftdetect/todo.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ftdetect/todo.vim b/ftdetect/todo.vim index 889cbbb..d16a6ee 100644 --- a/ftdetect/todo.vim +++ b/ftdetect/todo.vim @@ -5,5 +5,5 @@ " Website: http://github.com/freitass/todo.txt.vim " Version: 0.1 -autocmd BufNewFile,BufRead Todo.txt set filetype=todo +autocmd BufNewFile,BufRead [Tt]odo.txt set filetype=todo