Skip to content

Commit 5345854

Browse files
Add support for LiveView Native template syntax highlighting (#75)
Co-authored-by: Jonatan Kłosko <[email protected]>
1 parent 2ac7a0f commit 5345854

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
66

7+
## [Unreleased](https://github.com/elixir-lang/tree-sitter-elixir/tree/main)
8+
9+
### Added
10+
11+
* Support for ~LVN sigils (LiveView Native templates) in the built-in injections ([#75](https://github.com/elixir-lang/tree-sitter-elixir/pull/75))
12+
713
## [v0.3.1](https://github.com/elixir-lang/tree-sitter-elixir/tree/v0.3.1) (2024-09-28)
814

915
### Changed

queries/injections.scm

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
((sigil
33
(sigil_name) @_sigil_name
44
(quoted_content) @injection.content)
5-
(#eq? @_sigil_name "H")
5+
(#match? @_sigil_name "^(H|LVN)$")
66
(#set! injection.language "heex")
77
(#set! injection.combined))

0 commit comments

Comments
 (0)