mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-21 08:11:24 +02:00
Autocomplete, and more CM stuff!
This commit is contained in:
7
src-web/components/Editor/twig/highlight.ts
Normal file
7
src-web/components/Editor/twig/highlight.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import { styleTags, tags as t } from '@lezer/highlight';
|
||||
|
||||
export const highlight = styleTags({
|
||||
'if endif': t.controlKeyword,
|
||||
'${[ ]}': t.meta,
|
||||
DirectiveContent: t.variableName,
|
||||
});
|
||||
Reference in New Issue
Block a user