mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 18:32:56 +01:00
Fix less language configuration
This commit is contained in:
parent
53c3e4010d
commit
ffdbb8f20e
2 changed files with 4 additions and 1 deletions
|
|
@ -8,7 +8,7 @@
|
||||||
import IRichLanguageConfiguration = monaco.languages.LanguageConfiguration;
|
import IRichLanguageConfiguration = monaco.languages.LanguageConfiguration;
|
||||||
import ILanguage = monaco.languages.IMonarchLanguage;
|
import ILanguage = monaco.languages.IMonarchLanguage;
|
||||||
|
|
||||||
export var lessLanguageConfiguration: IRichLanguageConfiguration = {
|
export var conf: IRichLanguageConfiguration = {
|
||||||
wordPattern: /(#?-?\d*\.\d\w*%?)|([@#!.:]?[\w-?]+%?)|[@#!.]/g,
|
wordPattern: /(#?-?\d*\.\d\w*%?)|([@#!.:]?[\w-?]+%?)|[@#!.]/g,
|
||||||
comments: {
|
comments: {
|
||||||
blockComment: ['/*', '*/'],
|
blockComment: ['/*', '*/'],
|
||||||
|
|
|
||||||
|
|
@ -14,12 +14,14 @@
|
||||||
"src/coffee.ts",
|
"src/coffee.ts",
|
||||||
"src/cpp.ts",
|
"src/cpp.ts",
|
||||||
"src/csharp.ts",
|
"src/csharp.ts",
|
||||||
|
"src/css.ts",
|
||||||
"src/dockerfile.ts",
|
"src/dockerfile.ts",
|
||||||
"src/fsharp.ts",
|
"src/fsharp.ts",
|
||||||
"src/go.ts",
|
"src/go.ts",
|
||||||
"src/ini.ts",
|
"src/ini.ts",
|
||||||
"src/jade.ts",
|
"src/jade.ts",
|
||||||
"src/java.ts",
|
"src/java.ts",
|
||||||
|
"src/less.ts",
|
||||||
"src/lua.ts",
|
"src/lua.ts",
|
||||||
"src/markdown.ts",
|
"src/markdown.ts",
|
||||||
"src/monaco.contribution.ts",
|
"src/monaco.contribution.ts",
|
||||||
|
|
@ -28,6 +30,7 @@
|
||||||
"src/python.ts",
|
"src/python.ts",
|
||||||
"src/r.ts",
|
"src/r.ts",
|
||||||
"src/ruby.ts",
|
"src/ruby.ts",
|
||||||
|
"src/scss.ts",
|
||||||
"src/sql.ts",
|
"src/sql.ts",
|
||||||
"src/swift.ts",
|
"src/swift.ts",
|
||||||
"src/vb.ts",
|
"src/vb.ts",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue