mirror of
https://github.com/gilsondev/searchtasks.vim.git
synced 2025-11-17 06:03:37 -05:00
Only set list if user has not set it yet
This commit is contained in:
@@ -6,9 +6,12 @@ if exists("g:searchtasks_loaded") || &cp || v:version < 700
|
||||
finish
|
||||
endif
|
||||
|
||||
let g:searchtasks_list=["TODO", "FIXME", "XXX"]
|
||||
let g:searchtasks_loaded=1
|
||||
|
||||
if !exists("g:searchtasks_list")
|
||||
let g:searchtasks_list=["TODO", "FIXME", "XXX"]
|
||||
endif
|
||||
|
||||
" Search tasks {{{
|
||||
function s:SearchTasks(directory)
|
||||
if a:directory
|
||||
|
||||
Reference in New Issue
Block a user