summaryrefslogtreecommitdiff
path: root/lua/aotrix/plugins
diff options
context:
space:
mode:
authorAotrix <[email protected]>2025-02-27 22:08:18 +0100
committerAotrix <[email protected]>2025-02-27 22:08:18 +0100
commit68b3193635f332d1a78993cf9a4f9711d7a3981f (patch)
tree417495d3f8a91dc45cf93c662b0cc1e5e8b0d231 /lua/aotrix/plugins
parent6e90ce987af1e4b16df100dc010451ef2920b237 (diff)
removed transparency
Diffstat (limited to 'lua/aotrix/plugins')
-rw-r--r--lua/aotrix/plugins/duskfox.lua12
-rw-r--r--lua/aotrix/plugins/gruvbox.lua31
-rw-r--r--lua/aotrix/plugins/nvim_cmp.lua19
-rw-r--r--lua/aotrix/plugins/transparent.lua16
4 files changed, 35 insertions, 43 deletions
diff --git a/lua/aotrix/plugins/duskfox.lua b/lua/aotrix/plugins/duskfox.lua
deleted file mode 100644
index ac59521..0000000
--- a/lua/aotrix/plugins/duskfox.lua
+++ /dev/null
@@ -1,12 +0,0 @@
-return {
- "EdenEast/nightfox.nvim",
- config = function()
- local colorscheme = "duskfox"
- local ok, _ = pcall(vim.cmd, "colorscheme " .. colorscheme)
- vim.o.background = "dark" -- or "light" for light mode
- if not ok then
- vim.notify("colorscheme " .. colorscheme .. " not found!")
- return
- end
- end
-}
diff --git a/lua/aotrix/plugins/gruvbox.lua b/lua/aotrix/plugins/gruvbox.lua
new file mode 100644
index 0000000..454b482
--- /dev/null
+++ b/lua/aotrix/plugins/gruvbox.lua
@@ -0,0 +1,31 @@
+return {
+ "ellisonleao/gruvbox.nvim",
+ config = function()
+ require("gruvbox").setup({
+ terminal_colors = true, -- add neovim terminal colors
+ undercurl = true,
+ underline = true,
+ bold = true,
+ italic = {
+ strings = true,
+ emphasis = true,
+ comments = true,
+ operators = false,
+ folds = true
+ },
+ strikethrough = true,
+ invert_selection = false,
+ invert_signs = false,
+ invert_tabline = false,
+ invert_intend_guides = false,
+ inverse = true, -- invert background for search, diffs, statuslines and errors
+ contrast = "soft", -- can be "hard", "soft" or empty string
+ palette_overrides = {},
+ overrides = {},
+ dim_inactive = false,
+ transparent_mode = false
+ })
+ vim.o.background = "light" -- or "light" for light mode
+ vim.cmd("colorscheme gruvbox")
+ end
+}
diff --git a/lua/aotrix/plugins/nvim_cmp.lua b/lua/aotrix/plugins/nvim_cmp.lua
index 09bd142..a9fc176 100644
--- a/lua/aotrix/plugins/nvim_cmp.lua
+++ b/lua/aotrix/plugins/nvim_cmp.lua
@@ -64,23 +64,11 @@ return { -- Autocompletion
-- This will expand snippets if the LSP sent a snippet.
['<C-y>'] = cmp.mapping.confirm {select = true},
- -- If you prefer more traditional completion keymaps,
- -- you can uncomment the following lines
- -- ['<CR>'] = cmp.mapping.confirm { select = true },
- -- ['<Tab>'] = cmp.mapping.select_next_item(),
- -- ['<S-Tab>'] = cmp.mapping.select_prev_item(),
-
-- Manually trigger a completion from nvim-cmp.
-- Generally you don't need this, because nvim-cmp will display
-- completions whenever it has completion options available.
['<C-Space>'] = cmp.mapping.complete {},
- -- Think of <c-k> as moving to the right of your snippet expansion.
- -- So if you have a snippet that's like:
- -- function $name($args)
- -- $body
- -- end
- --
-- <c-k> will move you to the right of each of the expansion locations.
-- <c-j> is similar, except moving you backwards.
['<C-k>'] = cmp.mapping(function()
@@ -93,13 +81,14 @@ return { -- Autocompletion
luasnip.jump(-1)
end
end, {'i', 's'})
-
- -- For more advanced Luasnip keymaps (e.g. selecting choice nodes, expansion) see:
- -- https://github.com/L3MON4D3/LuaSnip?tab=readme-ov-file#keymaps
},
sources = {
{name = 'nvim_lsp'}, {name = 'luasnip'}, {name = 'path'},
{name = 'nvim_lsp_signature_help'}
+ },
+ window = {
+ completion = cmp.config.window.bordered(),
+ documentation = cmp.config.window.bordered()
}
}
end
diff --git a/lua/aotrix/plugins/transparent.lua b/lua/aotrix/plugins/transparent.lua
deleted file mode 100644
index f4e2e45..0000000
--- a/lua/aotrix/plugins/transparent.lua
+++ /dev/null
@@ -1,16 +0,0 @@
-return {
- "xiyaowong/transparent.nvim",
- config = function()
- require("transparent").setup({
- extra_groups = { -- table/string: additional groups that should be cleared
- -- In particular, when you set it to 'all', that means all available groups
- -- "NormalFloat",
- -- "FloatBorder",
- -- "TelescopeBorder",
- -- "TelescopeNormal",
- -- "TelescopeSelection",
- -- "TelescopeSelectionCaret"
- },
- })
- end
-}