Fixed some colors on nvim

This commit is contained in:
Emmet 2024-09-21 08:12:41 -05:00
parent 3874b46f30
commit 9e8736ac5c
2 changed files with 6 additions and 1 deletions

View file

@ -13,6 +13,9 @@ if vim.g.neovide then
vim.g.neovide_floating_blur_amount_y = 8.0 vim.g.neovide_floating_blur_amount_y = 8.0
vim.g.neovide_refresh_rate = 120 vim.g.neovide_refresh_rate = 120
vim.g.neovide_cursor_vfx_mode = "pixiedust" vim.g.neovide_cursor_vfx_mode = "pixiedust"
vim.g.neovide_text_gamma = 0.8
vim.g.neovide_text_contrast = 0.1
vim.opt.termguicolors = true
end end
vim.api.nvim_create_user_command('W', 'execute "silent! write !sudo tee % >/dev/null" <bar> edit', { nargs = 0}) vim.api.nvim_create_user_command('W', 'execute "silent! write !sudo tee % >/dev/null" <bar> edit', { nargs = 0})

View file

@ -57,6 +57,8 @@ M.polish_hl = {
luaTSField = { fg = M.base_16.base0D }, luaTSField = { fg = M.base_16.base0D },
["@tag.delimiter"] = { fg = M.base_30.cyan }, ["@tag.delimiter"] = { fg = M.base_30.cyan },
["@function"] = { fg = M.base_30.orange }, ["@function"] = { fg = M.base_30.orange },
["@string"] = { fg = M.base_16.base0F },
["@identifier"] = { fg = M.base_16.base0E },
["@variable.parameter"] = { fg = M.base_16.base0F }, ["@variable.parameter"] = { fg = M.base_16.base0F },
["@constructor"] = { fg = M.base_16.base0A }, ["@constructor"] = { fg = M.base_16.base0A },
["@tag.attribute"] = { fg = M.base_30.orange }, ["@tag.attribute"] = { fg = M.base_30.orange },
@ -65,6 +67,6 @@ M.polish_hl = {
M = require("base46").override_theme(M, "stylix") M = require("base46").override_theme(M, "stylix")
M.type = "{{polarity}}" M.type = "dark"
return M return M