Add mason, none-ls, and lspconfig for LSP support

This commit is contained in:
Daniel McKnight 2025-05-19 21:21:33 -07:00
parent 7a88c10079
commit 4c6272e43e
3 changed files with 58 additions and 0 deletions

View file

@ -0,0 +1,12 @@
return {
"nvimtools/none-ls.nvim",
config = function()
local null_ls = require("null-ls")
null_ls.setup({
sources = {
null_ls.builtins.formatting.stylua,
},
})
vim.keymap.set("n", "<leader>af", vim.lsp.buf.format, {})
end,
}