Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TOML configuration language support #1268

Open
grinapo opened this issue Oct 20, 2016 · 6 comments
Open

TOML configuration language support #1268

grinapo opened this issue Oct 20, 2016 · 6 comments

Comments

@grinapo
Copy link

grinapo commented Oct 20, 2016

TOML is a fairly strictly defined configuration file syntax, used by various projects, supported by plenty of languages and already supported by some editors. I'm not familar with geany plugin dev (and lacking the time anyway) but maybe someone's interested in creating a syntax highlighting ruleset, similar to the INI config format.

https://github.com/toml-lang/toml

@bertini97
Copy link

Mega necro bump, but I stumbled upon some toml files this week in unrelated projects. Could geany add this?

@elextr
Copy link
Member

elextr commented Feb 2, 2023

If "somebody" either:

a. made a custom filetype which needs an existing lexer which is "good enough" but anybody who wants it can do it, or

b. created a new lexer and had it accepted at https://github.com/ScintillaOrg/lexilla and then made a PR to add it as part of a built-in filetype (C and C++ and Geany internals skills needed).

@rdipardo
Copy link
Contributor

rdipardo commented Feb 4, 2023

If "somebody" either:

[ . . . ]

b. created a new lexer

Somebody downstream already has: https://github.com/zufuliu/notepad2/blob/main/scintilla/lexers/LexTOML.cxx

@elextr
Copy link
Member

elextr commented Feb 4, 2023

Well, now the creator of that needs to agree to change the license from Notepad's to Lexilla's to upstream it. Luckily so far its only one person.

@rdipardo
Copy link
Contributor

rdipardo commented Feb 5, 2023

Well, now the creator of that needs to agree to change the license from Notepad's to Lexilla's to upstream it.

Nah, he can generate more sponsorship dollars by reserving the rights. I'd say he's earned it. Have you seen how active that project is? A regular beehive.

@elextr
Copy link
Member

elextr commented Feb 5, 2023

Well, HE is active, others not so much.

Actually its not clear what license its under, the header refers to License.txt and there is one in the Scintilla directory immediately above the lexers directory and a different one in the top level directory, although that again says lexilla and scintilla is under their own license. I guess the same could be done if Neil accepted it in Lexilla.

But anyway, if its not upstreamed its unlikely to get in Geany sadly.

@techee techee added the filetype label Oct 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants