summaryrefslogtreecommitdiff
path: root/lua/user
diff options
context:
space:
mode:
authorLouie S <louie@example.com>2024-08-03 10:32:55 -0400
committerLouie S <louie@example.com>2024-08-03 10:32:55 -0400
commit658a34ee24a647dc526a01de076820081af4c675 (patch)
treec930f8d43c1fbb8206662b9643d6951c3b78f080 /lua/user
parent622dfd0c308958b0a11acc801b485e5558ec4bde (diff)
Add sorbet colorscheme to repo; fix parenthesis coloring in gui mode
Diffstat (limited to 'lua/user')
-rw-r--r--lua/user/colorscheme.lua19
1 files changed, 8 insertions, 11 deletions
diff --git a/lua/user/colorscheme.lua b/lua/user/colorscheme.lua
index 3adc395..574ef50 100644
--- a/lua/user/colorscheme.lua
+++ b/lua/user/colorscheme.lua
@@ -3,10 +3,6 @@ local gui = false -- set to true if guicolors should be on by default
local function colorscheme_set()
local colorscheme = "sorbet"
- if not (vim.fn.has("nvim-0.10") == 1) then
- colorscheme = "legacy_slate"
- end
-
if gui then
colorscheme = "slate"
end
@@ -17,14 +13,14 @@ local function colorscheme_set()
return
end
- -- Set Popup menu colors
- if not (vim.fn.has("nvim-0.10") == 1) then
- --highlight Pmenu ctermbg=White ctermfg=Black guibg=Gray
- vim.cmd("highlight Pmenu ctermbg=gray guibg=gray")
+ ---- Set Popup menu colors
+ --if not (vim.fn.has("nvim-0.10") == 1) then
+ -- --highlight Pmenu ctermbg=White ctermfg=Black guibg=Gray
+ -- vim.cmd("highlight Pmenu ctermbg=gray guibg=gray")
- -- Set Parentheses matching to Magenta so that it's actually visible
- vim.cmd("highlight MatchParen ctermbg=none ctermfg=magenta guibg=none guifg=magenta")
- end
+ -- -- Set Parentheses matching to Magenta so that it's actually visible
+ -- vim.cmd("highlight MatchParen ctermbg=none ctermfg=magenta guibg=none guifg=magenta")
+ --end
-- TODO fix TODO highlight
-- TODO fix FIXME highlight
@@ -34,6 +30,7 @@ local function colorscheme_set()
vim.cmd("highlight LineNr guifg=yellow3")
vim.cmd("highlight Comment guifg=yellow3")
vim.cmd("highlight Todo guibg=blue")
+ vim.cmd("highlight MatchParen guibg=none guifg=magenta")
end
-- keymap for toggling colorscheme