feat: add pyi to python file extensions

This commit is contained in:
CJ van den Berg 2024-12-05 13:32:49 +01:00
parent 017c727e1c
commit 2dd75f9ba6

View file

@ -343,7 +343,7 @@ pub const purescript = .{
pub const python = .{ pub const python = .{
.color = 0xffd845, .color = 0xffd845,
.icon = "󰌠", .icon = "󰌠",
.extensions = .{"py"}, .extensions = .{"py", "pyi"},
.comment = "#", .comment = "#",
.first_line_matches = .{ .prefix = "#!", .content = "python" }, .first_line_matches = .{ .prefix = "#!", .content = "python" },
.language_server = .{"pylsp"}, .language_server = .{"pylsp"},