martanne / vis

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

Add Gleam Language #933

Closed tynanbe closed 1 year ago

tynanbe commented 3 years ago

Adds Gleam lexer and filetype detection.

PR submitted upstream for Gleam lexer: https://github.com/orbitalquark/scintillua/pull/44

See:

mcepl commented 1 year ago

This PR should be probably split. I see that your PR to scintillua has been accepted, so vis needs only change in lua/plugins/filetype.lua.

tynanbe commented 1 year ago

@mcepl Looks like scintillua updated the format (https://github.com/orbitalquark/scintillua/pull/44#issuecomment-789317337). Are scintillua's "non-legacy" lexers being pulled in and used in vis now?

mcepl commented 1 year ago

@mcepl Looks like scintillua updated the format (orbitalquark/scintillua#44 (comment)). Are scintillua's "non-legacy" lexers being pulled in and used in vis now?

We are working (in #1018) on switching to the current non-legacy scintillua lexers.

ninewise commented 1 year ago

merged in b828b5b986a576196cda2ccba13579de96772ebd, thanks!