Update themes
This commit is contained in:
52
lua/plugins/config/catppuccin.lua
Normal file
52
lua/plugins/config/catppuccin.lua
Normal file
@@ -0,0 +1,52 @@
|
|||||||
|
vim.g.catppuccin_flavour = "mocha"
|
||||||
|
|
||||||
|
require("catppuccin").setup {
|
||||||
|
term_colors = true,
|
||||||
|
styles = {
|
||||||
|
conditionals = { "italic", "bold" },
|
||||||
|
loops = { "italic", "bold" },
|
||||||
|
functions = { "italic", "bold" },
|
||||||
|
keywords = { "italic", "bold" },
|
||||||
|
strings = { "bold" },
|
||||||
|
variables = { "bold" },
|
||||||
|
numbers = { "bold" },
|
||||||
|
booleans = { "bold" },
|
||||||
|
properties = { "italic" },
|
||||||
|
types = { "italic", "bold" }
|
||||||
|
},
|
||||||
|
integrations = {
|
||||||
|
barbar = true,
|
||||||
|
gitsigns = true,
|
||||||
|
cmp = true,
|
||||||
|
nvimtree = true,
|
||||||
|
treesitter_context = true,
|
||||||
|
treesitter = true,
|
||||||
|
symbols_outline = true,
|
||||||
|
telescope = true,
|
||||||
|
lsp_trouble = true,
|
||||||
|
which_key = true,
|
||||||
|
|
||||||
|
indent_blankline = {
|
||||||
|
enabled = true,
|
||||||
|
colored_indent_levels = false
|
||||||
|
},
|
||||||
|
|
||||||
|
native_lsp = {
|
||||||
|
enabled = true,
|
||||||
|
virtual_text = {
|
||||||
|
errors = { "italic" },
|
||||||
|
hints = { "italic" },
|
||||||
|
warnings = { "italic" },
|
||||||
|
information = { "italic" }
|
||||||
|
},
|
||||||
|
underlines = {
|
||||||
|
errors = { "underline" },
|
||||||
|
hints = { "underline" },
|
||||||
|
warnings = { "underline" },
|
||||||
|
information = { "underline" }
|
||||||
|
}
|
||||||
|
},
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
vim.cmd [[colorscheme catppuccin]]
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
require("lualine").setup {
|
require("lualine").setup {
|
||||||
options = {
|
options = {
|
||||||
theme = "tokyonight"
|
theme = "catppuccin"
|
||||||
},
|
},
|
||||||
|
|
||||||
extensions = {
|
extensions = {
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
require("nvim-tree").setup {
|
require("nvim-tree").setup {
|
||||||
-- view = {
|
view = {
|
||||||
-- hide_root_folder = true
|
hide_root_folder = true
|
||||||
-- },
|
},
|
||||||
|
|
||||||
renderer = {
|
renderer = {
|
||||||
group_empty = true,
|
group_empty = true,
|
||||||
|
|||||||
@@ -3,4 +3,4 @@ require("tokyonight").setup {
|
|||||||
lualine_bold = true
|
lualine_bold = true
|
||||||
}
|
}
|
||||||
|
|
||||||
vim.cmd [[colorscheme tokyonight]]
|
-- vim.cmd [[colorscheme tokyonight]]
|
||||||
|
|||||||
@@ -21,7 +21,9 @@ wk.register({
|
|||||||
l = {
|
l = {
|
||||||
name = "LSP",
|
name = "LSP",
|
||||||
r = { "<cmd>lua vim.lsp.buf.rename()<CR>", "rename" },
|
r = { "<cmd>lua vim.lsp.buf.rename()<CR>", "rename" },
|
||||||
d = { "<cmd>Telescope diagnostics<CR>", "diagnostics" }
|
d = { "<cmd>Telescope diagnostics<CR>", "diagnostics" },
|
||||||
|
f = { "<cmd>lua vim.lsp.buf.formatting()<CR>", "format" },
|
||||||
|
a = { "<cmd>lua vim.lsp.buf.code_action()<CR>", "code action" }
|
||||||
},
|
},
|
||||||
|
|
||||||
b = {
|
b = {
|
||||||
|
|||||||
@@ -31,6 +31,14 @@ return packer.startup(function(use)
|
|||||||
end
|
end
|
||||||
}
|
}
|
||||||
|
|
||||||
|
use {
|
||||||
|
"catppuccin/nvim",
|
||||||
|
as = "catppuccin",
|
||||||
|
config = function()
|
||||||
|
require("plugins.config.catppuccin")
|
||||||
|
end
|
||||||
|
}
|
||||||
|
|
||||||
use "kyazdani42/nvim-web-devicons"
|
use "kyazdani42/nvim-web-devicons"
|
||||||
|
|
||||||
use {
|
use {
|
||||||
|
|||||||
Reference in New Issue
Block a user