diff --git a/neovim/default.nix b/neovim/default.nix index 68232651..29d2ed09 100644 --- a/neovim/default.nix +++ b/neovim/default.nix @@ -169,6 +169,7 @@ in { end ''; formatters_by_ft = { + json = ["jq"]; d2 = ["d2"]; sql = ["sleek"]; toml = ["taplo"]; @@ -761,6 +762,8 @@ in { }, }) + vim.bo.formatexpr = "v:lua.require'conform'.formatexpr()" + ''; extraPlugins = with pkgs.vimPlugins; [ FTerm-nvim