language-configuration.json 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. {
  2. //NOTE: regex case-insensitive option 'i' results in an error
  3. // line and block comments
  4. "comments": {
  5. "lineComment": "!!",
  6. "blockComment": ["!{", "!}"]
  7. },
  8. // symbols used as brackets
  9. "brackets": [
  10. ["{", "}"],
  11. ["[", "]"],
  12. ["(", ")"]
  13. ],
  14. // symbols that are auto closed when typing
  15. "autoClosingPairs": [
  16. { "open": "{", "close": "}" },
  17. { "open": "[", "close": "]" },
  18. { "open": "(", "close": ")" },
  19. { "open": "'", "close": "'" },
  20. { "open": "\"", "close": "\"", "notIn": ["string"] }
  21. ],
  22. // symbols that that can be used to surround a selection
  23. "surroundingPairs": [
  24. ["{", "}"],
  25. ["[", "]"],
  26. ["(", ")"],
  27. ["\"", "\""],
  28. ["'", "'"],
  29. ["<<", ">>"]
  30. ],
  31. // code folding
  32. "folding": {
  33. "markers": {
  34. "start": "^\\s*([Aa][Cc][Tt]|[Ii][Ff])\\b\\s*.+\\s*[:]\\s*?$\\n?",
  35. "end": "^\\s*[Ee][Nn][Dd]\\b"
  36. }
  37. },
  38. // automatic indentation
  39. "indentationRules": {
  40. "increaseIndentPattern": "^\\s*([Aa][Cc][Tt]|[Ii][Ff])\\b\\s*.+\\s*[:]\\s*?$\\n?",
  41. "decreaseIndentPattern": "^\\s*[Ee][Nn][Dd]\\b"
  42. }
  43. }