Neovim: Migrate catppuccin config according to instructions

This commit is contained in:
Marko Korhonen 2022-07-25 15:07:50 +03:00
parent 8f700627f7
commit 910c15fd42
No known key found for this signature in database
GPG Key ID: 911B85FBC6003FE5

View File

@ -1,56 +1,49 @@
require("catppuccin").setup(
{
transparent_background = false,
term_colors = false,
styles = {
comments = "italic",
functions = "italic",
keywords = "italic",
strings = "NONE",
variables = "NONE",
},
integrations = {
treesitter = true,
native_lsp = {
enabled = true,
virtual_text = {
errors = "italic",
hints = "italic",
warnings = "italic",
information = "italic",
},
underlines = {
errors = "underline",
hints = "underline",
warnings = "underline",
information = "underline",
},
},
lsp_trouble = false,
lsp_saga = false,
gitgutter = true,
gitsigns = false,
telescope = true,
nvimtree = {
enabled = false,
show_root = false,
},
which_key = false,
indent_blankline = {
enabled = true,
colored_indent_levels = false,
},
dashboard = false,
neogit = false,
vim_sneak = false,
fern = false,
barbar = false,
bufferline = false,
markdown = false,
lightspeed = false,
ts_rainbow = false,
hop = false,
},
}
)
vim.cmd[[colorscheme catppuccin]]
require("catppuccin").setup({
transparent_background = false,
term_colors = false,
compile = {enabled = true, path = vim.fn.stdpath "cache" .. "/catppuccin"},
styles = {
comments = {"italic"},
functions = {"italic"},
keywords = {"italic"},
strings = {},
variables = {}
},
integrations = {
treesitter = true,
native_lsp = {
enabled = true,
virtual_text = {
errors = {"italic"},
hints = {"italic"},
warnings = {"italic"},
information = {"italic"}
},
underlines = {
errors = {"underline"},
hints = {"underline"},
warnings = {"underline"},
information = {"underline"}
}
},
lsp_trouble = false,
lsp_saga = false,
gitgutter = true,
gitsigns = false,
telescope = true,
nvimtree = {enabled = false, show_root = false},
which_key = false,
indent_blankline = {enabled = true, colored_indent_levels = false},
dashboard = false,
neogit = false,
vim_sneak = false,
fern = false,
barbar = false,
bufferline = false,
markdown = false,
lightspeed = false,
ts_rainbow = false,
hop = false
}
})
vim.cmd [[colorscheme catppuccin]]