From 81eb3d0c83c512871cb0bc8f5332401b9d5f107e Mon Sep 17 00:00:00 2001 From: bieniucieniu Date: Sun, 1 Jun 2025 17:39:56 +0200 Subject: [PATCH] feat: add fish formatter --- init.lua | 2 -- lua/plugins/conform.lua | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/init.lua b/init.lua index 3c700cec..b7f39383 100644 --- a/init.lua +++ b/init.lua @@ -54,8 +54,6 @@ vim.opt.splitbelow = true vim.opt.list = false vim.opt.listchars = { trail = '·', nbsp = '␣', tab = ' ' } -vim.opt.wrap = false - vim.opt.tabstop = 2 -- Number of spaces that a in the file counts for vim.opt.shiftwidth = 2 -- Number of spaces to use for each step of (auto)indent vim.opt.expandtab = true -- Use spaces instead of actual tab characters diff --git a/lua/plugins/conform.lua b/lua/plugins/conform.lua index 443914a9..c90554a3 100644 --- a/lua/plugins/conform.lua +++ b/lua/plugins/conform.lua @@ -48,6 +48,7 @@ return { -- Autoformat go = { 'gofmt' }, sql = { 'sqlfmt' }, zig = { 'zig-fmt' }, + fish = { 'fish_indent' }, }, }, }