force forward slash for cli path

This commit is contained in:
Alan Hamlett 2018-04-04 08:11:10 -07:00
parent 068496b66b
commit 81e2a93bcd
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ let s:VERSION = '7.1.0'
if s:home == '$WAKATIME_HOME'
let s:home = expand("$HOME")
endif
let s:cli_location = expand("<sfile>:p:h") . '/packages/wakatime/cli.py'
let s:cli_location = substitute(expand("<sfile>:p:h"), '\', '/', 'g') . '/packages/wakatime/cli.py'
let s:config_file = s:home . '/.wakatime.cfg'
let s:default_configs = ['[settings]', 'debug = false', 'hidefilenames = false', 'ignore =', ' COMMIT_EDITMSG$', ' PULLREQ_EDITMSG$', ' MERGE_MSG$', ' TAG_EDITMSG$']
let s:data_file = s:home . '/.wakatime.data'