mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-03-16 04:05:04 +00:00
chore: general maintenance and cleanup (#306)
This commit is contained in:
@@ -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 = '*',
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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 }
|
||||
)
|
||||
|
||||
@@ -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,
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user