1
0
Fork 0

nvim: move away from old theme EdenEast/nightfox to catppuccin/nvim

This commit is contained in:
Pratham Patel 2023-03-25 14:10:38 +05:30
parent 774b551760
commit efc6c3271b
3 changed files with 58 additions and 45 deletions

View File

@ -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({
}, },
}, {}) }, {})

View File

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

View File

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