martanne / vis

A vi-like editor based on Plan 9's structural regular expressions
Other
4.2k stars 258 forks source link

Add filetype detection for SPEC file for RPM packages building. #1019

Closed mcepl closed 1 year ago

mcepl commented 2 years ago

Working on lexer for vis (which I will probably add to scintillua branch), but I would like to add filetype first.

Nomarian commented 2 years ago

both at the same time I think, its not like you can accept the filetype first and then the lexer. the lexer must exist.

mcepl commented 2 years ago

both at the same time I think, its not like you can accept the filetype first and then the lexer. the lexer must exist.

No, it doesn’t. See in lua/plugins/filetype.lua for yourself. There are many filetypes for which we have no lexer.

ninewise commented 1 year ago

Applied in f3828efe9dcb51c29e33ff0ee7a3ffbbb8789918