diff options
author | Gabriel A. Giovanini <g.giovanini@gridx.de> | 2024-09-02 16:26:05 +0200 |
---|---|---|
committer | Gabriel A. Giovanini <g.giovanini@gridx.de> | 2024-09-02 16:26:05 +0200 |
commit | b97b79961c62f78168d531212e1a58155cd290ea (patch) | |
tree | 03d73c6148f3010e44e796133523452247adf4a0 /lua/gabrielgio | |
parent | 6f2e38e183bcf1faa864ebb11b162c99fd4a0130 (diff) | |
download | gabrielgio.lua-b97b79961c62f78168d531212e1a58155cd290ea.tar.gz gabrielgio.lua-b97b79961c62f78168d531212e1a58155cd290ea.tar.bz2 gabrielgio.lua-b97b79961c62f78168d531212e1a58155cd290ea.zip |
feat: Sync
Diffstat (limited to 'lua/gabrielgio')
-rw-r--r-- | lua/gabrielgio/formatter.lua | 1 | ||||
-rw-r--r-- | lua/gabrielgio/linter.lua | 1 |
2 files changed, 2 insertions, 0 deletions
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" }, { |