Skip to content

Conversation

@belltoy
Copy link

@belltoy belltoy commented Jan 9, 2026

Add Erlang support, use WhatsApp erlang tree-sitter. Including word list from OTP libraries.

Copilot AI review requested due to automatic review settings January 9, 2026 10:26
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 pull request adds Erlang language support to the spell-checking tool by integrating the WhatsApp tree-sitter-erlang parser and including a comprehensive word list from OTP libraries.

Key changes:

  • Adds tree-sitter-erlang dependency (version 0.15.0)
  • Creates Erlang-specific tree-sitter query file for spell-checking
  • Includes a 580-word Erlang-specific dictionary
  • Provides example Erlang code and comprehensive tests

Reviewed changes

Copilot reviewed 8 out of 9 changed files in this pull request and generated 46 comments.

Show a summary per file
File Description
word_lists/erlang.txt New Erlang-specific word list with 580 entries from OTP libraries (contains 38 duplicate entries and minor formatting issues)
examples/example.erl Example Erlang file demonstrating spell-checking capabilities with intentional misspellings
crates/codebook/tests/test_erlang.rs Comprehensive test suite for Erlang spell-checking functionality
crates/codebook/src/queries/erlang.scm Tree-sitter query definitions for capturing Erlang comments, strings, atoms, variables, and function names
crates/codebook/src/queries.rs Registers Erlang language type and settings in the spell-checker
crates/codebook/src/dictionaries/combined.gen.txt Generated combined dictionary file including Erlang words
crates/codebook/Cargo.toml Adds tree-sitter-erlang workspace dependency
Cargo.toml Specifies tree-sitter-erlang version 0.15.0
Cargo.lock Lock file update with tree-sitter-erlang dependency

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copilot AI review requested due to automatic review settings January 9, 2026 11:19
@belltoy belltoy force-pushed the feature/erlang branch 3 times, most recently from fffd51a to 49c2580 Compare January 9, 2026 11:22
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

Copilot reviewed 8 out of 9 changed files in this pull request and generated 18 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copilot AI review requested due to automatic review settings January 9, 2026 11:27
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

Copilot reviewed 8 out of 9 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copilot AI review requested due to automatic review settings January 9, 2026 11:34
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

Copilot reviewed 8 out of 9 changed files in this pull request and generated 4 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@blopker
Copy link
Owner

blopker commented Jan 9, 2026

Ooof, copilot went off the rails on flagging spelling issues. I've pushed instructions to avoid that in the future.

Anyway, thanks for putting this together! Is it ready for review?

@belltoy
Copy link
Author

belltoy commented Jan 10, 2026

Yes. It is ready.

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