add neoformat
This commit is contained in:
parent
378a2ae66e
commit
fe810aa91b
1 changed files with 12 additions and 0 deletions
|
@ -43,6 +43,18 @@ require("lazy").setup({
|
|||
},
|
||||
},
|
||||
|
||||
{
|
||||
-- I didn't figure out how to use null-ls/none-ls...
|
||||
"sbdchd/neoformat",
|
||||
init = function()
|
||||
-- Prefer Alejandra for Nix files
|
||||
vim.g.neoformat_enabled_nix = { "alejandra" }
|
||||
end,
|
||||
keys = {
|
||||
{ "<Space>lf", "<cmd>Neoformat<CR>", desc = "Format file" },
|
||||
},
|
||||
},
|
||||
|
||||
-- nvim-tree.lua
|
||||
{
|
||||
"nvim-tree/nvim-tree.lua",
|
||||
|
|
Loading…
Reference in a new issue