feat: add Inko language support#262
Conversation
There was a problem hiding this comment.
Pull request overview
This PR adds support for the Inko programming language by adding a new entry to the languages.yaml configuration file. However, the entry is incomplete and missing several required fields that are consistently present across all other language definitions in the file.
Changes:
- Added Inko language entry with file extension ".inko" and Hashtag comment style
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| Inko: | ||
| extensions: | ||
| - ".inko" |
There was a problem hiding this comment.
The Inko language entry is missing several fields that are typically present in language definitions. According to the file header comments (lines 6-30), the following fields should be considered:
-
typefield - Should be either "data", "programming", "markup", "prose", or nil. Looking at neighboring entries like "Inno Setup" (line 2410) and "Io" (line 2422), programming languages typically havetype: programming. -
language_idfield - This is an integer field present in all language entries in the file (as evidenced by the comprehensive search results). It's described as "language-name-independent indexed field" and is required. -
tm_scopefield - This represents the TextMate scope and should be set to "none" if there's no grammar. This field is present in nearly all entries. -
ace_modefield - This is the Ace Mode for highlighting and should be set to "text" if a mode doesn't exist. This field is present in all entries.
These fields should be added to make the Inko entry consistent with other language definitions in the file.
| Inko: | |
| extensions: | |
| - ".inko" | |
| Inko: | |
| type: programming | |
| extensions: | |
| - ".inko" | |
| tm_scope: none | |
| ace_mode: text | |
| language_id: 100000000 |
Summary
Add minimal config for Inko language with Hashtag comment style support.