Fix colors of treesitter-context & visual-multi

This commit is contained in:
Andy Teijelo 2022-11-10 10:50:37 -05:00
parent 52335f09c0
commit 64a73e23b1
2 changed files with 16 additions and 1 deletions

View file

@ -68,5 +68,6 @@ vim.api.nvim_create_autocmd({ "BufWritePost" }, {
vim.api.nvim_create_autocmd({ "VimEnter" }, {
callback = function()
vim.cmd("hi link illuminatedWord LspReferenceText")
vim.cmd("VMTheme sand")
end,
})

View file

@ -1,4 +1,3 @@
--require("catppuccin").setup()
--vim.cmd [[colorscheme catppuccin]]
--TokyonNight
@ -7,6 +6,21 @@
--Catppuccin
vim.g.catppuccin_flavour = "mocha" -- latte, frappe, macchiato, mocha
local colorscheme = "catppuccin"
require("catppuccin").setup({
-- integrations = {
-- treesitter_context = true,
-- fidget = false,
-- },
custom_highlights = function(colors)
return {
TreesitterContext = { bg = colors.mantle },
TreesitterContextLineNumber = { bg = colors.mantle },
TreesitterContextBottom = { style = { "underline" } },
MultiCursor = { bg = colors.red },
VM_Cursor = { bg = colors.red },
}
end
})
--DarkPlus
--local colorscheme = "darkplus"