diff --git a/dotfiles/neovim/lua/my/plugins/null-ls.lua b/dotfiles/neovim/lua/my/plugins/null-ls.lua index 6254a40..3399a99 100644 --- a/dotfiles/neovim/lua/my/plugins/null-ls.lua +++ b/dotfiles/neovim/lua/my/plugins/null-ls.lua @@ -12,7 +12,8 @@ function M.config() local null_ls = require("null-ls") local sources = { - null_ls.builtins.formatting.prettierd.with({ extra_filetypes = {} }), -- format ts files + null_ls.builtins.formatting.prettier.with({ extra_filetypes = {} }), -- format ts files + -- null_ls.builtins.formatting.prettierd.with({ extra_filetypes = {} }), -- format ts files null_ls.builtins.formatting.stylua.with({}), -- format lua code -- null_ls.builtins.formatting.lua_format.with({}), -- format lua code } diff --git a/home/adrielus/features/neovim/default.nix b/home/adrielus/features/neovim/default.nix index 63e390c..45fb573 100644 --- a/home/adrielus/features/neovim/default.nix +++ b/home/adrielus/features/neovim/default.nix @@ -17,6 +17,7 @@ let stylua # Lua ormolu # Haskell nodePackages_latest.purs-tidy # Purescript + nodePackages_latest.prettier # Js & friends nodePackages_latest.prettier_d_slim # Js & friends # Others