chore: general maintenance and cleanup (#306)

This commit is contained in:
2026-03-15 19:14:36 +02:00
committed by GitHub
parent 2410f343c2
commit 8a5c9f9089
27 changed files with 316 additions and 759 deletions

View File

@@ -1,6 +1,6 @@
return {
-- Performant, batteries-included completion plugin for Neovim
-- https:/github.com/saghen/blink.cmp
-- https://github.com/saghen/blink.cmp
{
'saghen/blink.cmp',
version = '*',

View File

@@ -24,7 +24,14 @@ return {
-- https://github.com/fatih/vim-go
{
'fatih/vim-go',
config = function() end,
ft = 'go',
config = function()
vim.g.go_def_mode = 'gopls'
vim.g.go_info_mode = 'gopls'
vim.g.go_fmt_autosave = 0
vim.g.go_imports_autosave = 0
vim.g.go_mod_fmt_autosave = 0
end,
},
-- Clarify and beautify your comments using boxes and lines.

View File

@@ -223,7 +223,7 @@ return {
vim.env.VIMRUNTIME,
}
client.config.settings.Lua.runtime = { version = 'LuaJIT' }
client.notify(
client:notify(
'workspace/didChangeConfiguration',
{ settings = client.config.settings }
)

View File

@@ -89,15 +89,12 @@ return {
'f-person/auto-dark-mode.nvim',
opts = {
update_interval = 1000,
-- stylua: ignore
set_dark_mode = function()
vim.api.nvim_set_option_value('background', 'dark', {})
-- vim.cmd.colorscheme(vim.g.colors_variant_dark)
-- vim.cmd 'colorscheme rose-pine'
end,
set_light_mode = function()
vim.api.nvim_set_option_value('background', 'light', {})
-- vim.cmd.colorscheme(vim.g.colors_variant_light)
-- vim.cmd 'colorscheme rose-pine-dawn'
end,
},
},