refactor(nvim): improved handling of kanagawa compile
This commit is contained in:
parent
167e1e59e8
commit
0c77aed4ab
@ -57,11 +57,17 @@ lazy.setup({
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"rebelot/kanagawa.nvim",
|
"rebelot/kanagawa.nvim",
|
||||||
|
build = "KanagawaCompile",
|
||||||
config = function()
|
config = function()
|
||||||
require("plugins.configs.kanagawa")
|
require("plugins.configs.kanagawa")
|
||||||
vim.cmd.colorscheme("kanagawa")
|
vim.cmd.colorscheme("kanagawa")
|
||||||
|
vim.api.nvim_create_autocmd("BufWritePost", {
|
||||||
|
pattern = "lua/plugins/configs/kanagawa.lua",
|
||||||
|
callback = function()
|
||||||
vim.schedule(vim.cmd.KanagawaCompile)
|
vim.schedule(vim.cmd.KanagawaCompile)
|
||||||
end,
|
end,
|
||||||
|
})
|
||||||
|
end,
|
||||||
},
|
},
|
||||||
|
|
||||||
-- Icons for folders, files, etc.
|
-- Icons for folders, files, etc.
|
||||||
|
Loading…
Reference in New Issue
Block a user