From 59c64476bb255499421083f72fb3213efd46e816 Mon Sep 17 00:00:00 2001 From: huyjaky Date: Sat, 24 Aug 2024 19:15:14 +0700 Subject: [PATCH] astro-nvim-v3 - set color for visual line --- init.lua | 3 --- lua/core/autocmds.lua | 2 ++ 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/init.lua b/init.lua index 6d90d67..425b155 100644 --- a/init.lua +++ b/init.lua @@ -13,10 +13,7 @@ if not pcall(require, "lazy") then vim.api.nvim_echo({ { ("Unable to load lazy from: %s\n"):format(lazypath), "ErrorMsg" }, { "Press any key to exit...", "MoreMs" } }, true, {}) vim.fn.getchar() vim.cmd.quit() - end require "lazy_setup" require "polish" - - diff --git a/lua/core/autocmds.lua b/lua/core/autocmds.lua index 9ed86f6..e54106c 100644 --- a/lua/core/autocmds.lua +++ b/lua/core/autocmds.lua @@ -6,6 +6,8 @@ vim.api.nvim_create_augroup("clear_last_search", { clear = true }) -- NOTE: CursorLineNr setting vim.api.nvim_set_hl(0, "CursorLineNr", { fg = "#FFD700", bg = "none", bold = true }) +-- NOTE: visual line colors +vim.api.nvim_set_hl(0, "Visual", { fg = "#000000", bg = "#FFFFFF", bold = true }) -- NOTE: Set colors for hightlights for similar words -- vim.api.nvim_set_hl(0, "LspReferenceRead", { fg = "#FF0000" })