Only load wakatime when WAKATIME_HOME is set
This commit is contained in:
parent
387c3419ce
commit
c330103981
@ -37,8 +37,12 @@ local function spec(use)
|
|||||||
end
|
end
|
||||||
}
|
}
|
||||||
|
|
||||||
|
use {
|
||||||
use "wakatime/vim-wakatime"
|
"wakatime/vim-wakatime",
|
||||||
|
cond = function()
|
||||||
|
return not (os.getenv("WAKATIME_HOME") == nil)
|
||||||
|
end
|
||||||
|
}
|
||||||
|
|
||||||
-- Currently doesn't seem to have an option to make it off by default easily
|
-- Currently doesn't seem to have an option to make it off by default easily
|
||||||
use {
|
use {
|
||||||
|
Loading…
Reference in New Issue
Block a user