mirror of
https://github.com/freitass/todo.txt-vim.git
synced 2025-11-08 09:53:48 -05:00
Fix error when g:todo_load_python is not defined
This commit is contained in:
@@ -50,7 +50,7 @@ highlight default link TodoDate PreProc
|
|||||||
highlight default link TodoProject Special
|
highlight default link TodoProject Special
|
||||||
highlight default link TodoContext Special
|
highlight default link TodoContext Special
|
||||||
|
|
||||||
if g:todo_load_python
|
if exists('g:todo_load_python') && g:todo_load_python
|
||||||
if has('python')
|
if has('python')
|
||||||
let b:curdir = expand('<sfile>:p:h')
|
let b:curdir = expand('<sfile>:p:h')
|
||||||
let s:script_dir = b:curdir . "/python/"
|
let s:script_dir = b:curdir . "/python/"
|
||||||
|
|||||||
Reference in New Issue
Block a user