1
0

Compare commits

...

2 Commits

Author SHA1 Message Date
b8a83927ab Add borders to lazy ui 2023-09-09 18:32:40 +02:00
3b48153637 Use event instead of cond for wakatime
cond doesn't work as expected
2023-09-09 18:32:25 +02:00
2 changed files with 13 additions and 4 deletions

View File

@ -51,6 +51,11 @@ end
vim.opt.rtp:prepend(lazypath)
require("lazy").setup({
{ import = "valeth.plugins" },
{ import = "valeth.plugins.lsp" },
ui = {
border = "rounded",
},
spec = {
{ import = "valeth.plugins" },
{ import = "valeth.plugins.lsp" },
}
})

View File

@ -1,6 +1,10 @@
return {
"wakatime/vim-wakatime",
cond = function()
return not (os.getenv("WAKATIME_HOME") == nil)
event = function()
if os.getenv("WAKATIME_HOME") then
return { "VimEnter" }
else
return {}
end
end
}