neovim: use nixpkgs-fmt instead of nixfmt
This commit is contained in:
parent
812692731c
commit
fd48cedcc1
|
@ -33,7 +33,7 @@
|
|||
|
||||
# Nix
|
||||
nil
|
||||
nixfmt
|
||||
nixpkgs-fmt
|
||||
|
||||
# TypeScript
|
||||
nodePackages.typescript-language-server
|
||||
|
|
|
@ -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,
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue