astro-nvim-v3 - set color for visual line

This commit is contained in:
huyjaky
2024-08-24 19:15:14 +07:00
parent ba759da71c
commit 59c64476bb
2 changed files with 2 additions and 3 deletions

View File

@@ -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.api.nvim_echo({ { ("Unable to load lazy from: %s\n"):format(lazypath), "ErrorMsg" }, { "Press any key to exit...", "MoreMs" } }, true, {})
vim.fn.getchar() vim.fn.getchar()
vim.cmd.quit() vim.cmd.quit()
end end
require "lazy_setup" require "lazy_setup"
require "polish" require "polish"

View File

@@ -6,6 +6,8 @@ vim.api.nvim_create_augroup("clear_last_search", { clear = true })
-- NOTE: CursorLineNr setting -- NOTE: CursorLineNr setting
vim.api.nvim_set_hl(0, "CursorLineNr", { fg = "#FFD700", bg = "none", bold = true }) 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 -- NOTE: Set colors for hightlights for similar words
-- vim.api.nvim_set_hl(0, "LspReferenceRead", { fg = "#FF0000" }) -- vim.api.nvim_set_hl(0, "LspReferenceRead", { fg = "#FF0000" })