@likec4/language-server 1.46.2 → 1.46.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10,7 +10,7 @@ export const LikeC4Terminals = {
10
10
  WS: /[\t ]+/,
11
11
  NL: /[\r\n]+/,
12
12
  BOOLEAN: /\b(true|false)\b/,
13
- LIB_ICON: /(aws|azure|gcp|tech):[-\w]*/,
13
+ LIB_ICON: /(aws|azure|bootstrap|gcp|tech):[-\w]*/,
14
14
  URI_WITH_SCHEMA: /\w+:\/{2}\S+/,
15
15
  URI_RELATIVE: /\.{0,2}\/[^\/]\S+/,
16
16
  URI_ALIAS: /@[a-zA-Z0-9_-]*\/[^\s]+/,
@@ -109,7 +109,7 @@ export function isFqnReferenceable(item) {
109
109
  return reflection.isInstance(item, FqnReferenceable);
110
110
  }
111
111
  export function isIconId(item) {
112
- return (typeof item === 'string' && (/(aws|azure|gcp|tech):[-\w]*/.test(item)));
112
+ return (typeof item === 'string' && (/(aws|azure|bootstrap|gcp|tech):[-\w]*/.test(item)));
113
113
  }
114
114
  export function isId(item) {
115
115
  return isElementShape(item) || isThemeColor(item) || isArrowType(item) || isLineOptions(item) || isParticipant(item) || isSizeValue(item) || isDynamicViewDisplayVariantValue(item) || item === 'element' || item === 'model' || item === 'group' || item === 'node' || item === 'deployment' || item === 'instance' || (typeof item === 'string' && (/[_]*[a-zA-Z][-\w]*/.test(item)));