diff --git a/programs/neovim/default.nix b/programs/neovim/default.nix index 2ec5339..d07bf62 100644 --- a/programs/neovim/default.nix +++ b/programs/neovim/default.nix @@ -33,7 +33,7 @@ # Nix nil - nixfmt + nixpkgs-fmt # TypeScript nodePackages.typescript-language-server diff --git a/programs/neovim/lua/plugins/none-ls.lua b/programs/neovim/lua/plugins/none-ls.lua index 2f432dd..2bf5082 100644 --- a/programs/neovim/lua/plugins/none-ls.lua +++ b/programs/neovim/lua/plugins/none-ls.lua @@ -5,7 +5,7 @@ return { "nvimtools/none-ls.nvim", opts = function(_, config) -- config variable is the default configuration table for the setup function call - local null_ls = require "null-ls" + local null_ls = require("null-ls") -- Check supported formatters and linters -- https://github.com/nvimtools/none-ls.nvim/tree/main/lua/null-ls/builtins/formatting @@ -14,7 +14,7 @@ return { -- Set a formatter -- null_ls.builtins.formatting.stylua, -- null_ls.builtins.formatting.prettier, - null_ls.builtins.formatting.nixfmt, + null_ls.builtins.formatting.nixpkgs_fmt, null_ls.builtins.formatting.prettier, null_ls.builtins.formatting.stylua, }