summaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
authorLouie Shprung <lshprung@scu.edu>2023-02-14 10:27:37 -0800
committerLouie Shprung <lshprung@scu.edu>2023-02-14 10:27:37 -0800
commit8d6153e85e42942875cc7740b278cb45766882e4 (patch)
treed72a7c406b34af58478374b1a5cce0d6e945f4b7 /lua
parent07828af70e1065e866048408f24f19cbdea04f9e (diff)
Set some custom highlighting for guicolors
Diffstat (limited to 'lua')
-rw-r--r--lua/user/colorscheme.lua11
1 files changed, 8 insertions, 3 deletions
diff --git a/lua/user/colorscheme.lua b/lua/user/colorscheme.lua
index 6601ff4..1bfe2aa 100644
--- a/lua/user/colorscheme.lua
+++ b/lua/user/colorscheme.lua
@@ -20,6 +20,11 @@ local function colorscheme_set()
-- Set Parentheses matching to Magenta so that it's actually visible
vim.cmd("highlight MatchParen ctermbg=none ctermfg=magenta guibg=none guifg=magenta")
+
+ -- Change some gui colors
+ vim.cmd("highlight LineNr guifg=yellow3")
+ vim.cmd("highlight Comment guifg=yellow")
+ vim.cmd("highlight Todo guibg=blue")
end
-- keymap for toggling colorscheme
@@ -27,16 +32,16 @@ vim.keymap.set("n", "<leader>g", function()
gui = not gui
if gui then
vim.cmd(":set termguicolors")
- colorscheme_set(gui)
+ colorscheme_set()
vim.cmd(":TSEnable highlight")
else
vim.cmd(":set notermguicolors")
- colorscheme_set(gui)
+ colorscheme_set()
vim.cmd(":TSDisable highlight")
end
end)
-colorscheme_set(gui)
+colorscheme_set()
--local colorscheme = "legacy_slate"
--local gui_colorscheme = "material"