editor: setting up neovim again

been using helix for a few years now, but wanted to test the neovim
waters again. mostly just ripped off "neovim for newbs"
https://www.youtube.com/watch?v=zHTeCSVAFNY&list=PLsz00TDipIffreIaUNk64KxTIkQaGguqn
This commit is contained in:
Matthew Ryan Dillon 2025-02-14 11:51:43 -05:00
parent 25e22570c8
commit 4db7bcac3b
19 changed files with 333 additions and 33 deletions

View file

@ -0,0 +1,14 @@
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>cf", vim.lsp.buf.format, { desc = "format" })
end,
}