feat: upgrade runtimes and neovim config #216

Merged
joao.dubas merged 22 commits from jpd-upgrade-mise-runtimes into main 2025-04-24 11:43:40 +00:00
Showing only changes of commit 4e13daf1b9 - Show all commits

View File

@ -1,5 +1,5 @@
diff --git a/init.lua b/init.lua diff --git a/init.lua b/init.lua
index 776c687..430ceeb 100644 index 776c687..040cf83 100644
--- a/init.lua --- a/init.lua
+++ b/init.lua +++ b/init.lua
@@ -91,7 +91,7 @@ vim.g.mapleader = ' ' @@ -91,7 +91,7 @@ vim.g.mapleader = ' '
@ -39,7 +39,18 @@ index 776c687..430ceeb 100644
-- [[ Basic Keymaps ]] -- [[ Basic Keymaps ]]
-- See `:help vim.keymap.set()` -- See `:help vim.keymap.set()`
@@ -676,6 +684,28 @@ require('lazy').setup({ @@ -632,7 +640,9 @@ require('lazy').setup({
[vim.diagnostic.severity.HINT] = '󰌶 ',
},
} or {},
- virtual_text = {
+ virtual_text = false,
+ -- Display multiline diagnostics on virtual lines
+ virtual_lines = {
source = 'if_many',
spacing = 2,
format = function(diagnostic)
@@ -676,6 +686,28 @@ require('lazy').setup({
-- ts_ls = {}, -- ts_ls = {},
-- --
@ -68,7 +79,7 @@ index 776c687..430ceeb 100644
lua_ls = { lua_ls = {
-- cmd = { ... }, -- cmd = { ... },
-- filetypes = { ... }, -- filetypes = { ... },
@@ -690,6 +720,32 @@ require('lazy').setup({ @@ -690,6 +722,32 @@ require('lazy').setup({
}, },
}, },
}, },
@ -101,7 +112,7 @@ index 776c687..430ceeb 100644
} }
-- Ensure the servers and tools above are installed -- Ensure the servers and tools above are installed
@@ -721,6 +777,33 @@ require('lazy').setup({ @@ -721,6 +779,33 @@ require('lazy').setup({
-- by the server configuration above. Useful when disabling -- by the server configuration above. Useful when disabling
-- certain features of an LSP (for example, turning off formatting for ts_ls) -- certain features of an LSP (for example, turning off formatting for ts_ls)
server.capabilities = vim.tbl_deep_extend('force', {}, capabilities, server.capabilities or {}) server.capabilities = vim.tbl_deep_extend('force', {}, capabilities, server.capabilities or {})
@ -135,7 +146,7 @@ index 776c687..430ceeb 100644
require('lspconfig')[server_name].setup(server) require('lspconfig')[server_name].setup(server)
end, end,
}, },
@@ -801,6 +884,8 @@ require('lazy').setup({ @@ -801,6 +886,8 @@ require('lazy').setup({
opts = {}, opts = {},
}, },
'folke/lazydev.nvim', 'folke/lazydev.nvim',
@ -144,7 +155,7 @@ index 776c687..430ceeb 100644
}, },
--- @module 'blink.cmp' --- @module 'blink.cmp'
--- @type blink.cmp.Config --- @type blink.cmp.Config
@@ -846,9 +931,15 @@ require('lazy').setup({ @@ -846,9 +933,15 @@ require('lazy').setup({
}, },
sources = { sources = {
@ -161,7 +172,7 @@ index 776c687..430ceeb 100644
}, },
}, },
@@ -874,19 +965,39 @@ require('lazy').setup({ @@ -874,19 +967,39 @@ require('lazy').setup({
-- --
-- If you want to see what colorschemes are already installed, you can use `:Telescope colorscheme`. -- If you want to see what colorschemes are already installed, you can use `:Telescope colorscheme`.
'folke/tokyonight.nvim', 'folke/tokyonight.nvim',
@ -207,7 +218,7 @@ index 776c687..430ceeb 100644
end, end,
}, },
@@ -936,7 +1047,39 @@ require('lazy').setup({ @@ -936,7 +1049,39 @@ require('lazy').setup({
main = 'nvim-treesitter.configs', -- Sets main module to use for opts main = 'nvim-treesitter.configs', -- Sets main module to use for opts
-- [[ Configure Treesitter ]] See `:help nvim-treesitter` -- [[ Configure Treesitter ]] See `:help nvim-treesitter`
opts = { opts = {
@ -248,7 +259,7 @@ index 776c687..430ceeb 100644
-- Autoinstall languages that are not installed -- Autoinstall languages that are not installed
auto_install = true, auto_install = true,
highlight = { highlight = {
@@ -966,17 +1109,17 @@ require('lazy').setup({ @@ -966,17 +1111,17 @@ require('lazy').setup({
-- Uncomment any of the lines below to enable them (you will need to restart nvim). -- Uncomment any of the lines below to enable them (you will need to restart nvim).
-- --
-- require 'kickstart.plugins.debug', -- require 'kickstart.plugins.debug',