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:
parent
25e22570c8
commit
4db7bcac3b
19 changed files with 333 additions and 33 deletions
14
home/private_dot_config/nvim/lua/plugins/none-ls.lua
Normal file
14
home/private_dot_config/nvim/lua/plugins/none-ls.lua
Normal 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,
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue