Logo
Explore Help
Sign In
realAscot/helix-editor
realAscot/helix-editor
1
0
Fork 0
You've already forked helix-editor
mirror of https://github.com/realAscot/helix.git synced 2025-09-15 12:43:04 +02:00
Code Issues Packages Projects Releases Wiki Activity
helix-editor/runtime/queries/cpp/injections.scm

5 lines
133 B
Scheme
Raw Normal View History

Highlight comments in c, cpp, cmake and llvm (#1309) Also, reuse the c injections in glsl
2021-12-20 03:42:23 +01:00
; inherits: c
Update tree-sitter-cpp, support injections in tagged rawstrings (#5457) The grammar now exposes the delimiter of raw-strings. We can now inject the inner grammar in cases like: const char* script = R"js( alert('hello world!'); )js";
2023-01-11 02:57:10 +01:00
(raw_string_literal
delimiter: (raw_string_delimiter) @injection.language
(raw_string_content) @injection.content)
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.5 Page: 77ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API