Skip to content

Fixed multiline command highlighting in Cmd2Lexer#1591

Merged
tleonhardt merged 6 commits intomainfrom
lex-multiline
Feb 27, 2026
Merged

Fixed multiline command highlighting in Cmd2Lexer#1591
tleonhardt merged 6 commits intomainfrom
lex-multiline

Conversation

@tleonhardt
Copy link
Member

Fixed multiline command highlighting in Cmd2Lexer.

Previously if a command name was entered after the first line it was syntax highlighted like a command even though logically it was an argument. This PR fixes that.

@tleonhardt tleonhardt added this to the 4.0.0 milestone Feb 27, 2026
@tleonhardt tleonhardt self-assigned this Feb 27, 2026
@github-actions
Copy link
Contributor

🤖 Hi @tleonhardt, I've received your request, and I'm working on it now! You can track my progress in the logs for more details.

@codecov
Copy link

codecov bot commented Feb 27, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.48%. Comparing base (41cf712) to head (0435957).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1591      +/-   ##
==========================================
+ Coverage   99.46%   99.48%   +0.02%     
==========================================
  Files          21       21              
  Lines        4679     4685       +6     
==========================================
+ Hits         4654     4661       +7     
+ Misses         25       24       -1     
Flag Coverage Δ
unittests 99.48% <100.00%> (+0.02%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@github-actions
Copy link
Contributor

🤖 I'm sorry @tleonhardt, but I was unable to process your request. Please see the logs for more details.

kmvanbrunt
kmvanbrunt previously approved these changes Feb 27, 2026
@tleonhardt tleonhardt mentioned this pull request Feb 27, 2026
20 tasks
@tleonhardt tleonhardt merged commit 60a66c1 into main Feb 27, 2026
36 checks passed
@tleonhardt tleonhardt deleted the lex-multiline branch February 27, 2026 19:45
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