Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@codemirror/lang-less

codemirror1mMIT6.0.2TypeScript support: included

Less support for the CodeMirror code editor

editor, code, wast

readme

@codemirror/lang-less NPM version

[ WEBSITE | ISSUES | FORUM | CHANGELOG ]

This package implements Less language support for the CodeMirror code editor.

The project page has more information, a number of examples and the documentation.

This code is released under an MIT license.

We aim to be an inclusive, welcoming community. To make that explicit, we have a code of conduct that applies to communication around the project.

API Reference

less() → LanguageSupport

Language support for Less.

lessLanguage: LRLanguage

A language provider for Less style sheets.

lessCompletionSource: CompletionSource

Property, variable, @-variable, and value keyword completion source.

changelog

6.0.2 (2023-12-28)

Bug fixes

Tag comments and strings as isolating for the purpose of bidirectional text.

6.0.1 (2023-04-29)

Bug fixes

Properly highlight the when keyword.

Make semicolons after detached rule sets optional.

Allow multiple options for @import.

6.0.0 (2023-04-26)

Breaking changes

First numbered release.