Move catppuccin options into ui directory
This commit is contained in:
parent
edb827889a
commit
c4fdedf391
|
@ -1,5 +1,5 @@
|
|||
vim.g.mapleader = " "
|
||||
vim.keymap.set("i", "jk", "<esc>")
|
||||
vim.keymap.set("n", "<leader>l", "<cmd>Lazy<CR>")
|
||||
vim.keymap.set({ "n", "t" }, "<A-h>", "<CMD>NavigatorLeft<CR>")
|
||||
vim.keymap.set({ "n", "t" }, "<A-l>", "<CMD>NavigatorRight<CR>")
|
||||
vim.keymap.set({ "n", "t" }, "<A-k>", "<CMD>NavigatorUp<CR>")
|
||||
|
@ -25,7 +25,7 @@ vim.keymap.set("n", "<leader>\\", "<cmd>Neotree reveal<cr>")
|
|||
|
||||
-- diffview
|
||||
vim.keymap.set("n", "<leader>do", "<cmd>DiffviewOpen<cr>")
|
||||
vim.keymap.set("n", "<leader>dc", "<cmd>DiffviewOpen<cr>")
|
||||
vim.keymap.set("n", "<leader>dc", "<cmd>DiffviewClose<cr>")
|
||||
vim.keymap.set("n", "<leader>dh", "<cmd>DiffviewFileHistory<cr>")
|
||||
vim.keymap.set("n", "<leader>df", "<cmd>DiffviewFileHistory %<cr>")
|
||||
|
||||
|
|
|
@ -4,37 +4,8 @@ return {
|
|||
lazy = false,
|
||||
priority = 1000,
|
||||
config = function()
|
||||
vim.opt.fillchars:append {
|
||||
horiz = "━",
|
||||
horizup = "┻",
|
||||
horizdown = "┳",
|
||||
vert = "┃",
|
||||
vertleft = "┨",
|
||||
vertright = "┣",
|
||||
verthoriz = "╋",
|
||||
}
|
||||
require("catppuccin").setup {
|
||||
flavour = "macchiato",
|
||||
transparent_background = true,
|
||||
term_colors = true,
|
||||
integrations = {
|
||||
gitsigns = true,
|
||||
indent_blankline = {
|
||||
enabled = true,
|
||||
colored_indent_levels = true,
|
||||
},
|
||||
cmp = true,
|
||||
native_lsp = {
|
||||
enabled = true,
|
||||
},
|
||||
notify = true,
|
||||
nvimtree = true,
|
||||
treesitter = true,
|
||||
treesitter_context = true,
|
||||
telescope = true,
|
||||
lsp_trouble = true,
|
||||
},
|
||||
}
|
||||
require "ui.fillchars"
|
||||
require("catppuccin").setup ( require "ui.catppuccin_opts" )
|
||||
vim.cmd "colorscheme catppuccin"
|
||||
end,
|
||||
}
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
return {
|
||||
"sindrets/diffview.nvim",
|
||||
dependencies = { "nvim-lua/plenary.nvim", "nvim-tree/nvim-web-devicons" },
|
||||
cmd = {
|
||||
"DiffviewOpen",
|
||||
"DiffviewFileHistory",
|
||||
},
|
||||
config = function()
|
||||
require("diffview").setup {
|
||||
enhanced_diff_hl = true,
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
return {
|
||||
"feline-nvim/feline.nvim",
|
||||
dependencies = "catppuccin/nvim",
|
||||
dependencies = { require "plugins.catppuccin" },
|
||||
config = function()
|
||||
local components = require("ui.catppuccin_feline").get()
|
||||
require("feline").setup { components = components }
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
return {
|
||||
"numToStr/Navigator.nvim",
|
||||
name = "Navigator",
|
||||
config = function() require("Navigator").setup() end,
|
||||
}
|
||||
|
|
|
@ -1,5 +1,14 @@
|
|||
return {
|
||||
"klen/nvim-test",
|
||||
cmd = {
|
||||
"TestSuite",
|
||||
"TestFile",
|
||||
"TestEdit",
|
||||
"TestNearest",
|
||||
"TestLast",
|
||||
"TestVisit",
|
||||
"TestInfo",
|
||||
},
|
||||
config = function()
|
||||
require("nvim-test").setup {
|
||||
termOpts = {
|
||||
|
|
22
config/nvim/lua/ui/catppuccin_opts.lua
Normal file
22
config/nvim/lua/ui/catppuccin_opts.lua
Normal file
|
@ -0,0 +1,22 @@
|
|||
return {
|
||||
flavour = "macchiato",
|
||||
transparent_background = true,
|
||||
term_colors = true,
|
||||
integrations = {
|
||||
gitsigns = true,
|
||||
indent_blankline = {
|
||||
enabled = true,
|
||||
colored_indent_levels = true,
|
||||
},
|
||||
cmp = true,
|
||||
native_lsp = {
|
||||
enabled = true,
|
||||
},
|
||||
notify = true,
|
||||
nvimtree = true,
|
||||
treesitter = true,
|
||||
treesitter_context = true,
|
||||
telescope = true,
|
||||
lsp_trouble = true,
|
||||
},
|
||||
}
|
9
config/nvim/lua/ui/fillchars.lua
Normal file
9
config/nvim/lua/ui/fillchars.lua
Normal file
|
@ -0,0 +1,9 @@
|
|||
vim.opt.fillchars:append {
|
||||
horiz = "━",
|
||||
horizup = "┻",
|
||||
horizdown = "┳",
|
||||
vert = "┃",
|
||||
vertleft = "┨",
|
||||
vertright = "┣",
|
||||
verthoriz = "╋",
|
||||
}
|
Loading…
Reference in a new issue