From 5e696cf9d0c2a26b0ba097d92b2a8ad3c59f9cd3 Mon Sep 17 00:00:00 2001 From: Matei Adriel Date: Thu, 2 Feb 2023 01:33:12 +0100 Subject: [PATCH] Switched nvim back to prettier (for now) --- dotfiles/neovim/lua/my/plugins/null-ls.lua | 3 ++- home/adrielus/features/neovim/default.nix | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) 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