From a541a5eb51532e778d5242a1317944caab18d7a3 Mon Sep 17 00:00:00 2001 From: Daniel McKnight Date: Wed, 21 May 2025 17:38:36 -0700 Subject: [PATCH] Make modal windows solid instead of transparent --- nvim/lua/plugins/nvim-lspconfig.lua | 10 +++++----- nvim/lua/plugins/theme.lua | 27 ++++++++++++++------------- 2 files changed, 19 insertions(+), 18 deletions(-) diff --git a/nvim/lua/plugins/nvim-lspconfig.lua b/nvim/lua/plugins/nvim-lspconfig.lua index 0afe16e..f64333e 100644 --- a/nvim/lua/plugins/nvim-lspconfig.lua +++ b/nvim/lua/plugins/nvim-lspconfig.lua @@ -1,6 +1,6 @@ return { "neovim/nvim-lspconfig", - tag="v1.8.0", + tag = "v1.8.0", config = function() local lspconfig = require("lspconfig") lspconfig.lua_ls.setup({}) @@ -11,8 +11,8 @@ return { lspconfig.nginx_language_server.setup({}) lspconfig.ruff.setup({}) lspconfig.yamlls.setup({}) - vim.keymap.set('n', 'd', vim.lsp.buf.hover, {desc="Show Docstring"}) - vim.keymap.set('n', 'gt', vim.lsp.buf.definition, {desc="Go To Definition"}) - vim.keymap.set('n', 'ca', vim.lsp.buf.code_action, {desc="Show Code Actions"}) - end + vim.keymap.set("n", "d", vim.lsp.buf.hover, { desc = "Show Docstring" }) + vim.keymap.set("n", "gt", vim.lsp.buf.definition, { desc = "Go To Definition" }) + vim.keymap.set("n", "ca", vim.lsp.buf.code_action, { desc = "Show Code Actions" }) + end, } diff --git a/nvim/lua/plugins/theme.lua b/nvim/lua/plugins/theme.lua index 2fe79eb..313d60f 100644 --- a/nvim/lua/plugins/theme.lua +++ b/nvim/lua/plugins/theme.lua @@ -1,14 +1,15 @@ return { - 'projekt0n/github-nvim-theme', - name = 'github-theme', - lazy = false, -- make sure we load this during startup if it is your main colorscheme - priority = 1000, -- make sure to load this before all the other start plugins - config = function() - require('github-theme').setup({ - options = { - transparent = true - } - }) - vim.cmd('colorscheme github_dark_default') - end, - } + "projekt0n/github-nvim-theme", + name = "github-theme", + lazy = false, -- make sure we load this during startup if it is your main colorscheme + priority = 1000, -- make sure to load this before all the other start plugins + config = function() + require("github-theme").setup({ + options = { + transparent = true, + }, + }) + vim.cmd("colorscheme github_dark_default") + vim.api.nvim_set_hl(0, "NormalFloat", { bg = "#0d1117" }) + end, +}