fix catppuccin theme
parent
be3818d719
commit
5a4bea05d6
|
@ -33,11 +33,13 @@ vim.opt.updatetime = 300
|
||||||
vim.opt_local.spell = true
|
vim.opt_local.spell = true
|
||||||
vim.opt_local.spelllang = { "en", "de_20" } -- all English regions and new German spelling
|
vim.opt_local.spelllang = { "en", "de_20" } -- all English regions and new German spelling
|
||||||
|
|
||||||
-- plugins
|
|
||||||
require("catppuccin").setup({
|
require("catppuccin").setup({
|
||||||
flavour = "macchiato",
|
compile_path = vim.fn.stdpath("cache") .. "/catppuccin", -- fix issue of writing to nix store
|
||||||
|
integrations = {
|
||||||
|
which_key = true,
|
||||||
|
},
|
||||||
})
|
})
|
||||||
vim.cmd.colorscheme("catppuccin")
|
vim.cmd.colorscheme("catppuccin-macchiato")
|
||||||
|
|
||||||
vim.o.timeout = true
|
vim.o.timeout = true
|
||||||
vim.o.timeoutlen = 300
|
vim.o.timeoutlen = 300
|
||||||
|
@ -63,20 +65,20 @@ require("noice").setup({
|
||||||
})
|
})
|
||||||
|
|
||||||
wk.register({
|
wk.register({
|
||||||
f = {
|
f = {
|
||||||
name="find",
|
name = "find",
|
||||||
f = { "<cmd>Telescope find_files<cr>", "find file" },
|
f = { "<cmd>Telescope find_files<cr>", "find file" },
|
||||||
g = { "<cmd>Telescope live_grep<cr>", "live grep" },
|
g = { "<cmd>Telescope live_grep<cr>", "live grep" },
|
||||||
b = { "<cmd>Telescope buffers<cr>", "find buffer" },
|
b = { "<cmd>Telescope buffers<cr>", "find buffer" },
|
||||||
},
|
},
|
||||||
}, { prefix = "<leader>" })
|
}, { prefix = "<leader>" })
|
||||||
|
|
||||||
require("neogit").setup({
|
require("neogit").setup({
|
||||||
disable_commit_confirmation = true,
|
disable_commit_confirmation = true,
|
||||||
})
|
})
|
||||||
wk.register({
|
wk.register({
|
||||||
g = { "<cmd>Neogit<cr>", "git" }
|
g = { "<cmd>Neogit<cr>", "git" },
|
||||||
}, { prefix = "<leader>"})
|
}, { prefix = "<leader>" })
|
||||||
|
|
||||||
require("nvim-treesitter.configs").setup({
|
require("nvim-treesitter.configs").setup({
|
||||||
sync_install = false,
|
sync_install = false,
|
||||||
|
|
Loading…
Reference in New Issue