Skip to content

feat: add Inko language support#262

Merged
kezhenxu94 merged 2 commits intoapache:mainfrom
jhult:feat/add-inko-language-support
Feb 11, 2026
Merged

feat: add Inko language support#262
kezhenxu94 merged 2 commits intoapache:mainfrom
jhult:feat/add-inko-language-support

Conversation

@jhult
Copy link
Contributor

@jhult jhult commented Feb 11, 2026

Summary

Add minimal config for Inko language with Hashtag comment style support.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment on lines +2417 to +2419
Inko:
extensions:
- ".inko"
Copy link

Copilot AI Feb 11, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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:

  1. type field - 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 have type: programming.

  2. language_id field - 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.

  3. tm_scope field - This represents the TextMate scope and should be set to "none" if there's no grammar. This field is present in nearly all entries.

  4. ace_mode field - 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.

Suggested change
Inko:
extensions:
- ".inko"
Inko:
type: programming
extensions:
- ".inko"
tm_scope: none
ace_mode: text
language_id: 100000000

Copilot uses AI. Check for mistakes.
@kezhenxu94 kezhenxu94 merged commit 219cca7 into apache:main Feb 11, 2026
1 check passed
@jhult jhult deleted the feat/add-inko-language-support branch February 11, 2026 16:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants