Lotus. Source. Adapters. Ecto. Dialects. ClickHouse. EditorConfig
(Lotus ClickHouse v0.1.0)
Copy Markdown
View Source
Editor-side vocabulary for the ClickHouse dialect.
config/0 returns the payload the dialect hands back from
Lotus.Source.Adapters.Ecto.Dialect.editor_config/0: the
sql:clickhouse language identifier, ClickHouse keywords and types
including the Nullable and LowCardinality wrappers, function
completions with signatures, and the clause names that act as context
boundaries for completion.
It carries no :dialect_spec, and CodeMirror ships no ClickHouse grammar,
so the editor tokenizes as generic SQL and draws its completions from the
lists here rather than from a ClickHouse parser.