update to lua config
This commit is contained in:
68
lua/plugins/colorscheme/catppuccin.lua
Normal file
68
lua/plugins/colorscheme/catppuccin.lua
Normal file
@@ -0,0 +1,68 @@
|
||||
require("catppuccin").setup({
|
||||
flavour = "macchiato", -- latte, frappe, macchiato, mocha
|
||||
background = { -- :h background
|
||||
light = "latte",
|
||||
-- dark = "mocha",
|
||||
dark = "macchiato",
|
||||
},
|
||||
transparent_background = false,
|
||||
show_end_of_buffer = false, -- show the '~' characters after the end of buffers
|
||||
term_colors = false,
|
||||
dim_inactive = {
|
||||
enabled = false,
|
||||
shade = "dark",
|
||||
percentage = 0.15,
|
||||
},
|
||||
no_italic = false, -- Force no italic
|
||||
no_bold = false, -- Force no bold
|
||||
styles = {
|
||||
comments = { "italic" },
|
||||
conditionals = { "italic" },
|
||||
loops = { "bold" },
|
||||
functions = { "bold", "italic" },
|
||||
keywords = { "bold" },
|
||||
strings = { "italic" },
|
||||
variables = { "italic" },
|
||||
numbers = {},
|
||||
booleans = {},
|
||||
properties = {},
|
||||
types = { "bold" },
|
||||
operators = {},
|
||||
},
|
||||
color_overrides = {},
|
||||
custom_highlights = {},
|
||||
integrations = {
|
||||
cmp = true,
|
||||
gitsigns = true,
|
||||
treesitter = true,
|
||||
nvimtree = true,
|
||||
telescope = true,
|
||||
which_key = true,
|
||||
notify = false,
|
||||
mini = false
|
||||
-- For more plugins integrations please scroll down (https://github.com/catppuccin/nvim#integrations)
|
||||
},
|
||||
native_lsp = {
|
||||
enabled = true,
|
||||
virtual_text = {
|
||||
errors = { "italic" },
|
||||
hints = { "italic" },
|
||||
warnings = { "italic" },
|
||||
information = { "italic" },
|
||||
},
|
||||
underlines = {
|
||||
errors = { "underline" },
|
||||
hints = { "underline" },
|
||||
warnings = { "underline" },
|
||||
information = { "underline" },
|
||||
},
|
||||
},
|
||||
|
||||
})
|
||||
|
||||
require("nvim-treesitter.configs").setup {
|
||||
highlight = {
|
||||
enable = true,
|
||||
additional_vim_regex_highlighting = false
|
||||
},
|
||||
}
|
||||
33
lua/plugins/colorscheme/dracula.lua
Normal file
33
lua/plugins/colorscheme/dracula.lua
Normal file
@@ -0,0 +1,33 @@
|
||||
-- customize dracula color palette
|
||||
vim.g.dracula_colors = {
|
||||
bg = "#282A36",
|
||||
fg = "#F8F8F2",
|
||||
selection = "#44475A",
|
||||
comment = "#6272A4",
|
||||
red = "#FF5555",
|
||||
orange = "#FFB86C",
|
||||
yellow = "#F1FA8C",
|
||||
green = "#50fa7b",
|
||||
purple = "#BD93F9",
|
||||
cyan = "#8BE9FD",
|
||||
pink = "#FF79C6",
|
||||
bright_red = "#FF6E6E",
|
||||
bright_green = "#69FF94",
|
||||
bright_yellow = "#FFFFA5",
|
||||
bright_blue = "#D6ACFF",
|
||||
bright_magenta = "#FF92DF",
|
||||
bright_cyan = "#A4FFFF",
|
||||
bright_white = "#FFFFFF",
|
||||
menu = "#21222C",
|
||||
visual = "#3E4452",
|
||||
gutter_fg = "#4B5263",
|
||||
nontext = "#3B4048",
|
||||
}
|
||||
-- show the '~' characters after the end of buffers
|
||||
vim.g.dracula_show_end_of_buffer = true
|
||||
-- use transparent background
|
||||
vim.g.dracula_transparent_bg = true
|
||||
-- set custom lualine background color
|
||||
vim.g.dracula_lualine_bg_color = "#44475a"
|
||||
-- set italic comment
|
||||
vim.g.dracula_italic_comment = true
|
||||
3
lua/plugins/colorscheme/init.lua
Normal file
3
lua/plugins/colorscheme/init.lua
Normal file
@@ -0,0 +1,3 @@
|
||||
require("plugins.colorscheme.catppuccin")
|
||||
require("plugins.colorscheme.dracula")
|
||||
require("plugins.colorscheme.onedarkpro")
|
||||
74
lua/plugins/colorscheme/onedarkpro.lua
Normal file
74
lua/plugins/colorscheme/onedarkpro.lua
Normal file
@@ -0,0 +1,74 @@
|
||||
require("onedarkpro").setup({
|
||||
colors = {}, -- Override default colors or create your own
|
||||
filetypes = { -- Override which filetype highlight groups are loaded
|
||||
java = true,
|
||||
javascript = true,
|
||||
lua = true,
|
||||
markdown = true,
|
||||
php = true,
|
||||
python = true,
|
||||
ruby = true,
|
||||
rust = true,
|
||||
toml = true,
|
||||
typescript = true,
|
||||
typescriptreact = true,
|
||||
vue = true,
|
||||
yaml = true,
|
||||
},
|
||||
plugins = { -- Override which plugin highlight groups are loaded
|
||||
aerial = false,
|
||||
barbar = false,
|
||||
copilot = true,
|
||||
dashboard = true,
|
||||
gitsigns = true,
|
||||
hop = false,
|
||||
indentline = false,
|
||||
leap = false,
|
||||
lsp_saga = false,
|
||||
marks = true,
|
||||
neotest = false,
|
||||
neo_tree = true,
|
||||
nvim_cmp = true,
|
||||
nvim_bqf = false,
|
||||
nvim_dap = true,
|
||||
nvim_dap_ui = true,
|
||||
nvim_hlslens = true,
|
||||
nvim_lsp = true,
|
||||
nvim_navic = false,
|
||||
nvim_notify = true,
|
||||
nvim_tree = true,
|
||||
nvim_ts_rainbow = true,
|
||||
op_nvim = false,
|
||||
packer = true,
|
||||
polygot = true,
|
||||
startify = false,
|
||||
telescope = true,
|
||||
toggleterm = true,
|
||||
treesitter = true,
|
||||
trouble = true,
|
||||
vim_ultest = false,
|
||||
which_key = true,
|
||||
},
|
||||
highlights = {}, -- Override default highlight groups or create your own
|
||||
styles = { -- For example, to apply bold and italic, use "bold,italic"
|
||||
types = "bold", -- Style that is applied to types
|
||||
methods = "NONE", -- Style that is applied to methods
|
||||
numbers = "NONE", -- Style that is applied to numbers
|
||||
strings = "italic", -- Style that is applied to strings
|
||||
comments = "italic", -- Style that is applied to comments
|
||||
keywords = "bold,italic", -- Style that is applied to keywords
|
||||
constants = "bold", -- Style that is applied to constants
|
||||
functions = "bold,italic", -- Style that is applied to functions
|
||||
operators = "NONE", -- Style that is applied to operators
|
||||
variables = "italic", -- Style that is applied to variables
|
||||
parameters = "italic", -- Style that is applied to parameters
|
||||
conditionals = "NONE", -- Style that is applied to conditionals
|
||||
virtual_text = "italic", -- Style that is applied to virtual text
|
||||
},
|
||||
options = {
|
||||
cursorline = true, -- Use cursorline highlighting?
|
||||
transparency = false, -- Use a transparent background?
|
||||
terminal_colors = true, -- Use the theme's colors for Neovim's :terminal?
|
||||
highlight_inactive_windows = false, -- When the window is out of focus, change the normal background?
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user