Move python scripts to syntax/

This commit is contained in:
Guilherme Victal
2016-01-24 17:22:24 -02:00
parent 6e1bcc0e1a
commit 7232106f45
4 changed files with 4 additions and 30 deletions

View File

@@ -52,8 +52,8 @@ highlight default link TodoContext Special
if has('python')
let b:curdir = expand('<sfile>:p:h')
let s:script_dir = b:curdir . "/../python/"
execute "pyfile " . b:curdir . "/../python/todo.py"
let s:script_dir = b:curdir . "/python/"
execute "pyfile " . s:script_dir. "todo.py"
else
echom "Your version of vim has no python support. Overdue dates won't be highlighted"
endif