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
|
||||
}
|
||||
|
||||
|
||||
use "wakatime/vim-wakatime"
|
||||
use {
|
||||
"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
|
||||
use {
|
||||
|
Loading…
Reference in New Issue
Block a user