From b97b79961c62f78168d531212e1a58155cd290ea Mon Sep 17 00:00:00 2001 From: "Gabriel A. Giovanini" Date: Mon, 2 Sep 2024 16:26:05 +0200 Subject: feat: Sync --- lua/gabrielgio/formatter.lua | 1 + lua/gabrielgio/linter.lua | 1 + 2 files changed, 2 insertions(+) (limited to 'lua') diff --git a/lua/gabrielgio/formatter.lua b/lua/gabrielgio/formatter.lua index 68c8bac..7f400b6 100644 --- a/lua/gabrielgio/formatter.lua +++ b/lua/gabrielgio/formatter.lua @@ -4,6 +4,7 @@ formatter.setup({ filetype = { nix = { require("formatter.filetypes.nix").alejandra }, lua = { require("formatter.filetypes.lua").stylua }, + fish = { require("formatter.filetypes.fish").fishindent }, }, ["*"] = { require("formatter.filetypes.any").remove_trailing_whitespace, diff --git a/lua/gabrielgio/linter.lua b/lua/gabrielgio/linter.lua index c2d4503..b40c28f 100644 --- a/lua/gabrielgio/linter.lua +++ b/lua/gabrielgio/linter.lua @@ -4,6 +4,7 @@ lint.linters_by_ft = { go = { "golangcilint" }, lua = { "luacheck" }, javascript = { "prettier" }, + fish = { "fish" }, } vim.api.nvim_create_autocmd({ "BufWritePost" }, { -- cgit v1.2.3