Add formatter for YAML and LSP for YAML and RPM .spec
This commit is contained in:
parent
9df7a13934
commit
561124e667
1 changed files with 7 additions and 2 deletions
|
|
@ -183,7 +183,9 @@ pub const python = .{
|
||||||
|
|
||||||
pub const regex = .{};
|
pub const regex = .{};
|
||||||
|
|
||||||
pub const rpmspec = .{};
|
pub const rpmspec = .{
|
||||||
|
.language_server = .{ "python3", "-mrpm_spec_language_server", "--stdio" },
|
||||||
|
};
|
||||||
|
|
||||||
pub const rst = .{
|
pub const rst = .{
|
||||||
.language_server = .{"esbonio"},
|
.language_server = .{"esbonio"},
|
||||||
|
|
@ -233,7 +235,10 @@ pub const xml = .{
|
||||||
.formatter = .{ "xmllint", "--format", "-" },
|
.formatter = .{ "xmllint", "--format", "-" },
|
||||||
};
|
};
|
||||||
|
|
||||||
pub const yaml = .{};
|
pub const yaml = .{
|
||||||
|
.language_server = .{ "yaml-language-server", "--stdio" },
|
||||||
|
.formatter = .{ "prettier", "--parser", "yaml" },
|
||||||
|
};
|
||||||
|
|
||||||
pub const zig = .{
|
pub const zig = .{
|
||||||
.language_server = .{"zls"},
|
.language_server = .{"zls"},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue