feat: add fish formatter

This commit is contained in:
bieniucieniu 2025-06-01 17:39:56 +02:00
parent 74f90c60a0
commit 81eb3d0c83
2 changed files with 1 additions and 2 deletions

View File

@ -54,8 +54,6 @@ vim.opt.splitbelow = true
vim.opt.list = false vim.opt.list = false
vim.opt.listchars = { trail = '·', nbsp = '', tab = ' ' } vim.opt.listchars = { trail = '·', nbsp = '', tab = ' ' }
vim.opt.wrap = false
vim.opt.tabstop = 2 -- Number of spaces that a <Tab> in the file counts for vim.opt.tabstop = 2 -- Number of spaces that a <Tab> in the file counts for
vim.opt.shiftwidth = 2 -- Number of spaces to use for each step of (auto)indent 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 vim.opt.expandtab = true -- Use spaces instead of actual tab characters

View File

@ -48,6 +48,7 @@ return { -- Autoformat
go = { 'gofmt' }, go = { 'gofmt' },
sql = { 'sqlfmt' }, sql = { 'sqlfmt' },
zig = { 'zig-fmt' }, zig = { 'zig-fmt' },
fish = { 'fish_indent' },
}, },
}, },
} }