mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-20 15:51:23 +02:00
Autocomplete, and more CM stuff!
This commit is contained in:
9
src-web/components/Editor/url/highlight.ts
Normal file
9
src-web/components/Editor/url/highlight.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import { styleTags, tags as t } from '@lezer/highlight';
|
||||
|
||||
export const highlight = styleTags({
|
||||
Protocol: t.comment,
|
||||
Port: t.attributeName,
|
||||
Host: t.variableName,
|
||||
Path: t.bool,
|
||||
Query: t.string,
|
||||
});
|
||||
Reference in New Issue
Block a user