Skip to content

Commit 81e2a93

Browse files
committed
force forward slash for cli path
1 parent 068496b commit 81e2a93

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugin/wakatime.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ let s:VERSION = '7.1.0'
4242
if s:home == '$WAKATIME_HOME'
4343
let s:home = expand("$HOME")
4444
endif
45-
let s:cli_location = expand("<sfile>:p:h") . '/packages/wakatime/cli.py'
45+
let s:cli_location = substitute(expand("<sfile>:p:h"), '\', '/', 'g') . '/packages/wakatime/cli.py'
4646
let s:config_file = s:home . '/.wakatime.cfg'
4747
let s:default_configs = ['[settings]', 'debug = false', 'hidefilenames = false', 'ignore =', ' COMMIT_EDITMSG$', ' PULLREQ_EDITMSG$', ' MERGE_MSG$', ' TAG_EDITMSG$']
4848
let s:data_file = s:home . '/.wakatime.data'

0 commit comments

Comments
 (0)