Skip to content

Commit fae5ae2

Browse files
committed
Fixes broken compatibility with the 'filestyle' plugin (#4)
Due to incorrecly defined augroup using 'vim-todo-lists' and 'filestyle' breaks the 'filestyle' plugin autocommands.
1 parent b0a43c5 commit fae5ae2

File tree

3 files changed

+15
-2
lines changed

3 files changed

+15
-2
lines changed

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,10 @@ Changelog
7575
* Easy adding new items
7676
* Easy items toggling
7777

78+
#### 0.1.1
79+
80+
* Fixes broken compatibility with the [filestyle](https://github.com/aserebryakov/filestyle) plugin
81+
7882
Credits
7983
-------
8084

doc/vim-todo-lists.txt

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*vim-todo-lists.txt* Version 0.1.0
1+
*vim-todo-lists.txt* Version 0.1.1
22
*vim-todo-lists*
33

44
Plugin for TODO lists management.
@@ -115,6 +115,10 @@ SOFTWARE.
115115
* Easy adding new items
116116
* Easy items toggling
117117

118+
0.1.1
119+
120+
* Fixes broken compatibility with the [filestyle] plugin
121+
118122
==============================================================================
119123
8. Credits *VimTodoListsCredits*
120124

plugin/vim-todo-lists.vim

+6-1
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,13 @@ endfunction
7272
if !exists('g:vimtodolists_plugin')
7373
let g:vimtodolists_plugin = 1
7474

75+
if exists('vimtodolists_auto_commands')
76+
echoerr 'VimTodoLists: vimtodolists_auto_commands group already exists'
77+
exit
78+
endif
79+
7580
"Defining auto commands
76-
augroup filestyle_auto_commands
81+
augroup vimtodolists_auto_commands
7782
autocmd!
7883
autocmd BufRead,BufNewFile *.todo call VimTodoListsInit()
7984
augroup end

0 commit comments

Comments
 (0)