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
14 lines
286 B
Lua
14 lines
286 B
Lua
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,
|
|
}
|