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,
dim_inactive = false,
module_default = true,
colorblind = {
enable = true,
-- Only show simulated colorblind colors and not diff shifted
simulate_only = true,
severity = {
protan = 1, -- red
deutan = 1, -- green
tritan = 0, -- blue
}, },
transparent_background = false,
show_end_of_buffer = false,
term_colors = false,
dim_inactive = {
enabled = false,
shade = "dark",
percentage = 0.15,
}, },
no_italic = false, -- force no_italic
no_bold = false,
styles = { styles = {
-- :help attr-list comments = { "italic" },
comments = 'NONE', conditionals = { "italic" },
conditionals = 'bold,standout', loops = {},
constants = 'bold,standout', functions = {},
functions = 'bold', keywords = {},
keywords = 'bold', strings = {},
numbers = 'NONE', variables = { "bold" },
operators = 'NONE', numbers = {},
strings = 'NONE', booleans = { "italic" },
types = 'NONE', properties = {},
variables = 'NONE', types = {},
operators = { "bold" },
}, },
inverse = { color_overrides = {
match_paren = false, mocha = {
visual = false, base = "#000000",
search = false, mantle = "#000000",
crust = "#000000",
}, },
}, },
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