From 64a73e23b183c9f2eaa3aab669af38fa0925045e Mon Sep 17 00:00:00 2001 From: Andy Teijelo Date: Thu, 10 Nov 2022 10:50:37 -0500 Subject: [PATCH] Fix colors of treesitter-context & visual-multi --- lua/user/autocommands.lua | 1 + lua/user/colorscheme.lua | 16 +++++++++++++++- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/lua/user/autocommands.lua b/lua/user/autocommands.lua index 80d59a2..30d6bf4 100644 --- a/lua/user/autocommands.lua +++ b/lua/user/autocommands.lua @@ -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, }) diff --git a/lua/user/colorscheme.lua b/lua/user/colorscheme.lua index a460258..4026739 100644 --- a/lua/user/colorscheme.lua +++ b/lua/user/colorscheme.lua @@ -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"