       ,@fstar-syntax-additional)
      nil nil))
   (font-lock-set-defaults)
-  (add-to-invisibility-spec 'fstar-subscripts)
+  (remove-from-invisibility-spec nil) ;; Make sure invisibility spec is a list
   (add-to-list 'font-lock-extra-managed-props 'display)
   (add-to-list 'font-lock-extra-managed-props 'invisible)
   (font-lock-mode))

  "Face used to highlight decreases clauses."
  :group 'fstar)

(defface fstar-subscript-face
  '((t :height 0.8))
  "Face used to use for subscripts"
  :group 'fstar)

(defface fstar-braces-face

  (goto-char (match-end rewind-to))
  (match-end (or bound-to 0)))

(defconst fstar-syntax-id "\\_<[#']?[a-z_]\\(?:\\sw\\|\\s_\\)*\\_>")
(defconst fstar-syntax-cs "\\_<[#']?[A-Z_]\\(?:\\sw\\|\\s_\\)*\\_>")

(defconst fstar-syntax-id-with-subscript
  "\\_<[#']?_*[a-z]\\(?:[a-z0-9_']*[a-z]\\)?\\([0-9]+\\)['_]*\\_>")

(defconst fstar-syntax-universe-id-unwrapped (rx "'u" (* (or wordchar (syntax symbol)))))

