dotfiles/home/private_dot_config/nvim/lua/plugins/none-ls.lua
Matthew Ryan Dillon 4db7bcac3b 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
2025-02-16 15:17:09 -05:00

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,
}