feat(nvim): reworked lsp, theme, cleanup

Signed-off-by: Ismo Vuorinen <ismo@ivuorinen.net>
This commit is contained in:
2025-04-19 04:04:26 +03:00
parent 75147c7dd6
commit 196077bea9
23 changed files with 486 additions and 555 deletions

View File

@@ -21,9 +21,7 @@ autocmd({ 'BufEnter', 'BufWinEnter', 'TabEnter' }, {
callback = function()
local max_line_count = vim.fn.line '$'
-- Only adjust if the file is large enough to matter
if max_line_count > 99 then
vim.opt.numberwidth = #tostring(max_line_count) + 1
end
if max_line_count > 99 then vim.opt.numberwidth = #tostring(max_line_count) + 1 end
end,
})
@@ -104,5 +102,3 @@ autocmd({ 'BufRead', 'BufNewFile' }, {
},
command = 'set filetype=sshconfig',
})
-- vim: ts=2 sts=2 sw=2 et