Update themes

This commit is contained in:
Saeed Afzal
2022-09-27 09:29:54 +01:00
parent daaab2caad
commit 160eedb189
6 changed files with 68 additions and 6 deletions

View 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]]

View File

@@ -1,6 +1,6 @@
require("lualine").setup { require("lualine").setup {
options = { options = {
theme = "tokyonight" theme = "catppuccin"
}, },
extensions = { extensions = {

View File

@@ -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,

View File

@@ -3,4 +3,4 @@ require("tokyonight").setup {
lualine_bold = true lualine_bold = true
} }
vim.cmd [[colorscheme tokyonight]] -- vim.cmd [[colorscheme tokyonight]]

View File

@@ -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 = {

View File

@@ -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 {