feat: add fish formatter
This commit is contained in:
parent
74f90c60a0
commit
81eb3d0c83
2
init.lua
2
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 <Tab> 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
|
||||
|
|
|
|||
|
|
@ -48,6 +48,7 @@ return { -- Autoformat
|
|||
go = { 'gofmt' },
|
||||
sql = { 'sqlfmt' },
|
||||
zig = { 'zig-fmt' },
|
||||
fish = { 'fish_indent' },
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue