feat(nvim): add catppuccin theme
This commit is contained in:
parent
f39aaa29c1
commit
ef3a8a1b6a
1 changed files with 19 additions and 8 deletions
|
@ -1,16 +1,27 @@
|
||||||
return { -- Lua table
|
return { -- Lua table
|
||||||
|
-- nvim.tree.lua
|
||||||
"nvim-tree/nvim-tree.lua", -- github repo
|
"nvim-tree/nvim-tree.lua", -- github repo
|
||||||
version = "*", -- latest version
|
version = "*", -- latest version
|
||||||
lazy = false, -- dont use lazy loading
|
lazy = false, -- dont use lazy loading
|
||||||
dependencies = {
|
dependencies = {
|
||||||
"nvim-tree/nvim-web-devicons",
|
"nvim-tree/nvim-web-devicons",
|
||||||
},
|
},
|
||||||
config = function()
|
opts = {
|
||||||
require("nvim-tree").setup {
|
|
||||||
hijack_cursor = true, -- makes cursor stick to first char
|
hijack_cursor = true, -- makes cursor stick to first char
|
||||||
view = {
|
view = {
|
||||||
side = "right",
|
side = "right",
|
||||||
},
|
},
|
||||||
}
|
},
|
||||||
|
|
||||||
|
-- catppuccin
|
||||||
|
{
|
||||||
|
"catppuccin/nvim",
|
||||||
|
name = "catppuccin",
|
||||||
|
priority = 1000,
|
||||||
|
version = "*",
|
||||||
|
lazy = false,
|
||||||
|
config = function()
|
||||||
|
vim.cmd.colorscheme = "catppuccin"
|
||||||
end,
|
end,
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue