From 9e8736ac5cc85807901b2688586a060ecc34eb1f Mon Sep 17 00:00:00 2001 From: Emmet Date: Sat, 21 Sep 2024 08:12:41 -0500 Subject: [PATCH] Fixed some colors on nvim --- user/app/nvim/init.lua | 3 +++ user/app/nvim/lua/themes/stylix.lua.mustache | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/user/app/nvim/init.lua b/user/app/nvim/init.lua index 79fa3c7..67f609e 100644 --- a/user/app/nvim/init.lua +++ b/user/app/nvim/init.lua @@ -13,6 +13,9 @@ if vim.g.neovide then vim.g.neovide_floating_blur_amount_y = 8.0 vim.g.neovide_refresh_rate = 120 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 vim.api.nvim_create_user_command('W', 'execute "silent! write !sudo tee % >/dev/null" edit', { nargs = 0}) diff --git a/user/app/nvim/lua/themes/stylix.lua.mustache b/user/app/nvim/lua/themes/stylix.lua.mustache index fba0ee7..585952d 100644 --- a/user/app/nvim/lua/themes/stylix.lua.mustache +++ b/user/app/nvim/lua/themes/stylix.lua.mustache @@ -57,6 +57,8 @@ M.polish_hl = { luaTSField = { fg = M.base_16.base0D }, ["@tag.delimiter"] = { fg = M.base_30.cyan }, ["@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 }, ["@constructor"] = { fg = M.base_16.base0A }, ["@tag.attribute"] = { fg = M.base_30.orange }, @@ -65,6 +67,6 @@ M.polish_hl = { M = require("base46").override_theme(M, "stylix") -M.type = "{{polarity}}" +M.type = "dark" return M