From 708c3e8d2d17329cb64c81539223d9e6904d85f5 Mon Sep 17 00:00:00 2001 From: "Gabriel A. Giovanini" Date: Sun, 8 Sep 2024 16:05:17 +0200 Subject: feat: Sync --- lua/gabrielgio/formatter.lua | 1 + lua/gabrielgio/linter.lua | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/gabrielgio/formatter.lua b/lua/gabrielgio/formatter.lua index 7f400b6..a287d8c 100644 --- a/lua/gabrielgio/formatter.lua +++ b/lua/gabrielgio/formatter.lua @@ -5,6 +5,7 @@ formatter.setup({ nix = { require("formatter.filetypes.nix").alejandra }, lua = { require("formatter.filetypes.lua").stylua }, fish = { require("formatter.filetypes.fish").fishindent }, + javascript = { require("formatter.filetypes.javascript").prettier }, }, ["*"] = { require("formatter.filetypes.any").remove_trailing_whitespace, diff --git a/lua/gabrielgio/linter.lua b/lua/gabrielgio/linter.lua index b40c28f..427b236 100644 --- a/lua/gabrielgio/linter.lua +++ b/lua/gabrielgio/linter.lua @@ -3,7 +3,6 @@ local lint = require("lint") lint.linters_by_ft = { go = { "golangcilint" }, lua = { "luacheck" }, - javascript = { "prettier" }, fish = { "fish" }, } -- cgit v1.2.3