Path: blob/main/extensions/less/language-configuration.json
3290 views
{1"comments": {2"blockComment": [3"/*",4"*/"5],6"lineComment": "//"7},8"brackets": [9[10"{",11"}"12],13[14"[",15"]"16],17[18"(",19")"20]21],22"autoClosingPairs": [23{24"open": "{",25"close": "}",26"notIn": [27"string",28"comment"29]30},31{32"open": "[",33"close": "]",34"notIn": [35"string",36"comment"37]38},39{40"open": "(",41"close": ")",42"notIn": [43"string",44"comment"45]46},47{48"open": "\"",49"close": "\"",50"notIn": [51"string",52"comment"53]54},55{56"open": "'",57"close": "'",58"notIn": [59"string",60"comment"61]62}63],64"surroundingPairs": [65[66"{",67"}"68],69[70"[",71"]"72],73[74"(",75")"76],77[78"\"",79"\""80],81[82"'",83"'"84]85],86"folding": {87"markers": {88"start": "^\\s*\\/\\*\\s*#region\\b\\s*(.*?)\\s*\\*\\/",89"end": "^\\s*\\/\\*\\s*#endregion\\b.*\\*\\/"90}91},92"indentationRules": {93"increaseIndentPattern": "(^.*\\{[^}]*$)",94"decreaseIndentPattern": "^\\s*\\}"95},96"wordPattern": "(#?-?\\d*\\.\\d\\w*%?)|(::?[\\w-]+(?=[^,{;]*[,{]))|(([@#.!])?[\\w-?]+%?|[@#!.])",97"onEnterRules": [98// Add // when pressing enter from inside line comment99{100"beforeText": {101"pattern": "\/\/.*"102},103"afterText": {104"pattern": "^(?!\\s*$).+"105},106"action": {107"indent": "none",108"appendText": "// "109}110},111]112}113114115