@marko/language-server 1.1.12 → 1.1.14

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.js CHANGED
@@ -1069,6 +1069,9 @@ function AttrName({
1069
1069
  documentation.value += `[More Info](${autocomplete.descriptionMoreURL})`;
1070
1070
  }
1071
1071
  }
1072
+ if (!attr.required) {
1073
+ label += "?";
1074
+ }
1072
1075
  completions.push({
1073
1076
  label,
1074
1077
  documentation: documentation.value ? documentation : void 0,