Add formatter for YAML and LSP for YAML and RPM .spec

This commit is contained in:
JailBird 2026-03-24 19:06:38 -07:00 committed by CJ van den Berg
parent 9df7a13934
commit 561124e667

View file

@ -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"},