refactor: cleanup config
All checks were successful
Container build / container-build (push) Successful in 4m52s
All checks were successful
Container build / container-build (push) Successful in 4m52s
This commit is contained in:
@@ -1,10 +0,0 @@
|
||||
-- Disable autocomplete on enter.
|
||||
return {
|
||||
"hrsh7th/nvim-cmp",
|
||||
opts = function(_, opts)
|
||||
local cmp = require("cmp")
|
||||
opts.mapping = vim.tbl_deep_extend("force", opts.mapping, {
|
||||
["<CR>"] = cmp.config.disable,
|
||||
})
|
||||
end,
|
||||
}
|
||||
@@ -1,12 +1,9 @@
|
||||
-- Configure rose-pine and gruvbox-material colorschemes.
|
||||
return {
|
||||
{ "rose-pine/neovim" },
|
||||
{ "sainnhe/gruvbox-material" },
|
||||
{
|
||||
"sainnhe/gruvbox-material",
|
||||
opts = function()
|
||||
vim.g.gruvbox_material_foreground = "original"
|
||||
end,
|
||||
},
|
||||
{
|
||||
-- Set default colorscheme.
|
||||
"LazyVim/LazyVim",
|
||||
opts = {
|
||||
colorscheme = "gruvbox-material",
|
||||
|
||||
@@ -1,13 +1,32 @@
|
||||
-- Disable some unneeded plugins by default.
|
||||
-- Disable unused plugins and functionality.
|
||||
return {
|
||||
{
|
||||
-- Disable the dashboard.
|
||||
"folke/snacks.nvim",
|
||||
opts = function(_, opts)
|
||||
opts.dashboard = { enabled = false }
|
||||
end,
|
||||
},
|
||||
{
|
||||
-- Disable the bufferline.
|
||||
"bufferline.nvim",
|
||||
enabled = false,
|
||||
},
|
||||
{
|
||||
-- Disable inline hints by default.
|
||||
"neovim/nvim-lspconfig",
|
||||
opts = {
|
||||
inlay_hints = { enabled = false },
|
||||
},
|
||||
},
|
||||
{
|
||||
"hrsh7th/nvim-cmp",
|
||||
opts = function(_, opts)
|
||||
-- Disable autocomplete on enter.
|
||||
local cmp = require("cmp")
|
||||
opts.mapping = vim.tbl_deep_extend("force", opts.mapping, {
|
||||
["<CR>"] = cmp.config.disable,
|
||||
})
|
||||
end,
|
||||
},
|
||||
}
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
-- Disable inline hints by default.
|
||||
return {
|
||||
"neovim/nvim-lspconfig",
|
||||
opts = {
|
||||
inlay_hints = { enabled = false },
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user