aboutsummaryrefslogtreecommitdiffstats
path: root/subprojects/frontend/src/language/props.ts
blob: aa67145afe4268a65bb01de8d3f86d4d57739d61 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/*
 * SPDX-FileCopyrightText: 2021-2023 The Refinery Authors <https://refinery.tools/>
 *
 * SPDX-License-Identifier: EPL-2.0
 */

/* eslint-disable import/prefer-default-export -- Lezer needs non-default exports */

import { NodeProp } from '@lezer/common';

export const implicitCompletion = new NodeProp({
  deserialize(s: string) {
    return s === 'true';
  },
});