nvim: move away from old theme EdenEast/nightfox to catppuccin/nvim
This commit is contained in:
parent
774b551760
commit
efc6c3271b
|
@ -30,7 +30,7 @@ require('lazy').setup({
|
||||||
'tpope/vim-sleuth',
|
'tpope/vim-sleuth',
|
||||||
|
|
||||||
-- theme
|
-- theme
|
||||||
'EdenEast/nightfox.nvim',
|
{ "catppuccin/nvim", name = "catppuccin" },
|
||||||
|
|
||||||
{ -- Rust lang
|
{ -- Rust lang
|
||||||
'rust-lang/rust.vim',
|
'rust-lang/rust.vim',
|
||||||
|
@ -159,4 +159,3 @@ require('lazy').setup({
|
||||||
},
|
},
|
||||||
|
|
||||||
}, {})
|
}, {})
|
||||||
|
|
||||||
|
|
|
@ -519,52 +519,66 @@ cmp.setup {
|
||||||
|
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
-- nightfox.nvim
|
-- catppuccin.nvim
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
|
|
||||||
--[[
|
require("catppuccin").setup {
|
||||||
require('nightfox').setup({
|
flavour = "mocha", -- latte, frappe, macciato, mocha
|
||||||
options = {
|
background = {
|
||||||
compile_path = vim.fn.stdpath('cache') .. '/nightfox',
|
light = "latte",
|
||||||
compile_file_suffix = '_compiled',
|
dark = "mocha",
|
||||||
transparent = false,
|
},
|
||||||
terminal_colors = true,
|
transparent_background = false,
|
||||||
dim_inactive = false,
|
show_end_of_buffer = false,
|
||||||
module_default = true,
|
term_colors = false,
|
||||||
colorblind = {
|
dim_inactive = {
|
||||||
enable = true,
|
enabled = false,
|
||||||
-- Only show simulated colorblind colors and not diff shifted
|
shade = "dark",
|
||||||
simulate_only = true,
|
percentage = 0.15,
|
||||||
severity = {
|
},
|
||||||
protan = 1, -- red
|
no_italic = false, -- force no_italic
|
||||||
deutan = 1, -- green
|
no_bold = false,
|
||||||
tritan = 0, -- blue
|
styles = {
|
||||||
},
|
comments = { "italic" },
|
||||||
},
|
conditionals = { "italic" },
|
||||||
styles = {
|
loops = {},
|
||||||
-- :help attr-list
|
functions = {},
|
||||||
comments = 'NONE',
|
keywords = {},
|
||||||
conditionals = 'bold,standout',
|
strings = {},
|
||||||
constants = 'bold,standout',
|
variables = { "bold" },
|
||||||
functions = 'bold',
|
numbers = {},
|
||||||
keywords = 'bold',
|
booleans = { "italic" },
|
||||||
numbers = 'NONE',
|
properties = {},
|
||||||
operators = 'NONE',
|
types = {},
|
||||||
strings = 'NONE',
|
operators = { "bold" },
|
||||||
types = 'NONE',
|
},
|
||||||
variables = 'NONE',
|
color_overrides = {
|
||||||
},
|
mocha = {
|
||||||
inverse = {
|
base = "#000000",
|
||||||
match_paren = false,
|
mantle = "#000000",
|
||||||
visual = false,
|
crust = "#000000",
|
||||||
search = false,
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
palettes = {},
|
highlight_overrides = {
|
||||||
specs = {},
|
mocha = function(C)
|
||||||
groups = {},
|
return {
|
||||||
})
|
TabLineSel = { bg = C.pink },
|
||||||
--]]
|
CmpBorder = {fg = C.surface },
|
||||||
|
Pmenu = { bg = C.none },
|
||||||
|
TelescopeBorder = { link = "FloatBorder" },
|
||||||
|
}
|
||||||
|
end,
|
||||||
|
},
|
||||||
|
custom_highlights = {},
|
||||||
|
integrations = {
|
||||||
|
cmp = true,
|
||||||
|
gitsigns = true,
|
||||||
|
nvimtree = false,
|
||||||
|
telescope = true,
|
||||||
|
markdown = true,
|
||||||
|
mason = true,
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
-- indent-blankline.nvim
|
-- indent-blankline.nvim
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
-- appearance
|
-- appearance
|
||||||
vim.cmd.colorscheme 'carbonfox'
|
vim.cmd.colorscheme 'catppuccin'
|
||||||
vim.opt.colorcolumn = '80'
|
vim.opt.colorcolumn = '80'
|
||||||
vim.opt.cursorcolumn = true
|
vim.opt.cursorcolumn = true
|
||||||
vim.opt.cursorline = true
|
vim.opt.cursorline = true
|
||||||
|
|
Loading…
Reference in New Issue