From 00d3d2d3f86e177a520ecec63d3ce7f51d8a83db Mon Sep 17 00:00:00 2001 From: Filippo Berto Date: Sun, 26 Oct 2025 20:41:35 +0100 Subject: [PATCH] update(vim): cleanup --- hm/vim.nix | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/hm/vim.nix b/hm/vim.nix index ad0e8f3..df48753 100644 --- a/hm/vim.nix +++ b/hm/vim.nix @@ -293,11 +293,6 @@ in plugin = vp.conform-nvim; type = "lua"; config = '' - require("conform").setup({ - formatters_by_ft = { - -- lua = { "stylua" } - } - }) ''; } @@ -347,17 +342,18 @@ in config = '' require("conform").setup({ formatters_by_ft = { - javascript = { "prettier" }, - typescript = { "prettier" }, - javascriptreact = { "prettier" }, - typescriptreact = { "prettier" }, - svelte = { "prettier" }, css = { "prettier" }, - html = { "prettier" }, - json = { "prettier" }, - yaml = { "prettier" }, - markdown = { "prettier" }, graphql = { "prettier" }, + html = { "prettier" }, + javascript = { "prettier" }, + javascriptreact = { "prettier" }, + json = { "prettier" }, + markdown = { "prettier" }, + svelte = { "prettier" }, + typescript = { "prettier" }, + typescriptreact = { "prettier" }, + yaml = { "prettier" }, + -- lua = { "stylua" } }, format_on_save = { -- These options will be passed to conform.format()