Skip to content

Commit 9e8736a

Browse files
committed
Fixed some colors on nvim
1 parent 3874b46 commit 9e8736a

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

user/app/nvim/init.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ if vim.g.neovide then
1313
vim.g.neovide_floating_blur_amount_y = 8.0
1414
vim.g.neovide_refresh_rate = 120
1515
vim.g.neovide_cursor_vfx_mode = "pixiedust"
16+
vim.g.neovide_text_gamma = 0.8
17+
vim.g.neovide_text_contrast = 0.1
18+
vim.opt.termguicolors = true
1619
end
1720

1821
vim.api.nvim_create_user_command('W', 'execute "silent! write !sudo tee % >/dev/null" <bar> edit', { nargs = 0})

user/app/nvim/lua/themes/stylix.lua.mustache

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ M.polish_hl = {
5757
luaTSField = { fg = M.base_16.base0D },
5858
["@tag.delimiter"] = { fg = M.base_30.cyan },
5959
["@function"] = { fg = M.base_30.orange },
60+
["@string"] = { fg = M.base_16.base0F },
61+
["@identifier"] = { fg = M.base_16.base0E },
6062
["@variable.parameter"] = { fg = M.base_16.base0F },
6163
["@constructor"] = { fg = M.base_16.base0A },
6264
["@tag.attribute"] = { fg = M.base_30.orange },
@@ -65,6 +67,6 @@ M.polish_hl = {
6567

6668
M = require("base46").override_theme(M, "stylix")
6769

68-
M.type = "{{polarity}}"
70+
M.type = "dark"
6971

7072
return M

0 commit comments

Comments
 (0)