@marko/language-server 1.1.12 → 1.1.13

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.
package/dist/index.mjs CHANGED
@@ -1064,6 +1064,9 @@ function AttrName({
1064
1064
  documentation.value += `[More Info](${autocomplete.descriptionMoreURL})`;
1065
1065
  }
1066
1066
  }
1067
+ if (!attr.required) {
1068
+ label += "?";
1069
+ }
1067
1070
  completions.push({
1068
1071
  label,
1069
1072
  documentation: documentation.value ? documentation : void 0,