feat: add bash formatter (shfmt)
This commit is contained in:
parent
10a9a8598b
commit
ec16f80548
1 changed files with 1 additions and 0 deletions
|
@ -9,6 +9,7 @@ pub const bash = .{
|
||||||
.extensions = .{ "sh", "bash", ".profile" },
|
.extensions = .{ "sh", "bash", ".profile" },
|
||||||
.comment = "#",
|
.comment = "#",
|
||||||
.first_line_matches = .{ .prefix = "#!", .content = "sh" },
|
.first_line_matches = .{ .prefix = "#!", .content = "sh" },
|
||||||
|
.formatter = .{"shfmt", "--indent", "4"},
|
||||||
.language_server = .{"bash-language-server", "start"},
|
.language_server = .{"bash-language-server", "start"},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue