Skip to content

Add ESPHome UDL with embedded C++ lambda highlighting - #408

Merged
pryrt merged 3 commits into
notepad-plus-plus:masterfrom
MichaelN0815:add-esphome-udl
Sep 11, 2026
Merged

pryrt merged 3 commits into
notepad-plus-plus:masterfrom
MichaelN0815:add-esphome-udl

Conversation

@MichaelN0815

@MichaelN0815 MichaelN0815 commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

Adds a Notepad++ User Defined Language for ESPHome configuration files.
ESPHome uses YAML configuration and supports embedded C++ lambdas. This UDL keeps a YAML-oriented color scheme while adding highlighting for common C++ keywords, types, constants, numbers, strings, and comments used inside ESPHome lambdas.
Included:
UDLs/ESPHome_YAML-CPP_DefaultTheme.xml
UDL-samples/ESPHome_YAML-CPP_DefaultTheme.yaml
matching entry in udl-list.json
The UDL uses the Notepad++ default/light theme color scheme and supports both .yaml and .yml.
ESPHome YAML documentation:
https://esphome.io/guides/yaml/
The sample includes an embedded C++ lambda so both YAML and C++ highlighting can be checked.

@MichaelN0815 MichaelN0815 changed the title Add esphome udl Add ESPHome UDL with embedded C++ lambda highlighting Sep 11, 2026
@pryrt
pryrt merged commit a941fce into notepad-plus-plus:master Sep 11, 2026
2 checks passed
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