martanne / vis

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

Add lexer for Janet #1017

Closed sevvie closed 1 year ago

sevvie commented 2 years ago

All I did was copy the clojure.lua file over, change the appropriate parts of the file, and added janet to the filetype.lua core plugin because I needed it; I figured others might want it too.

mcepl commented 2 years ago

Lexers are fetched from upstream: https://github.com/orbitalquark/scintillua/. You should open the PR there.

sevvie commented 2 years ago

https://github.com/orbitalquark/scintillua/pull/66

I've taken the lexer out of this PR and moved it to a PR on scintillua.

jgarte commented 1 year ago

Lexers are fetched from upstream: https://github.com/orbitalquark/scintillua/. You should open the PR there.

How are lexers fetched from upstream? Is a script used or just manually?

mcepl commented 1 year ago

Lexers are fetched from upstream: https://github.com/orbitalquark/scintillua/. You should open the PR there.

How are lexers fetched from upstream? Is a script used or just manually?

It's actually more complicated than that. The problem is that vis actually supports only old deprecated API for scintillua.

It's a mess.