Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ directory.
Usage
-----

Plugin is automatically applied for files with `.todo.md` extension.
Plugin is automatically applied for files named `todo.md` or with the `.todo.md` extension.

##### TODO Items

Expand Down
6 changes: 3 additions & 3 deletions doc/vim-todo-lists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ CONTENTS *VimTodoListsContents*
vim-todo-lists plugin is intended for TODO lists management.

Current version contains only key bindings that simplify the navigation
between TODO list (should have '.todo.md' extension) items, creation and
update.
between TODO list (should be named `todo.md` or have `.todo.md` extension) items,
creation and update.

==============================================================================
2. Installation *VimTodoListsInstallation*
Expand All @@ -43,7 +43,7 @@ directory.
==============================================================================
3. Usage *VimTodoListsUsage*

Plugin is automatically applied for files with `.todo.md` extension.
Plugin is automatically applied for files named `todo.md` or with the `.todo.md` extension.

TODO Items
----------
Expand Down
2 changes: 1 addition & 1 deletion plugin/vim-todo-lists.vim
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ if !exists('g:vimtodolists_plugin')
"Defining auto commands
augroup vimtodolists_auto_commands
autocmd!
autocmd BufRead,BufNewFile *.todo.md call VimTodoListsInit()
autocmd BufRead,BufNewFile todo.md,*.todo.md call VimTodoListsInit()
autocmd FileType todo call VimTodoListsInit()
augroup end

Expand Down