fix: lean4-mode: attributes are not documentation
and in particular should not be spell-checked
This commit is contained in:
parent
c2b357a5c8
commit
70232f7ad9
1 changed files with 2 additions and 2 deletions
|
|
@ -129,9 +129,9 @@
|
|||
(defconst lean4-font-lock-defaults
|
||||
`((;; attributes
|
||||
(,(rx word-start "attribute" word-end (zero-or-more whitespace) (group (one-or-more "[" (zero-or-more (not (any "]"))) "]" (zero-or-more whitespace))))
|
||||
(1 'font-lock-doc-face))
|
||||
(1 'font-lock-preprocessor-face))
|
||||
(,(rx (group "@[" (zero-or-more (not (any "]"))) "]"))
|
||||
(1 'font-lock-doc-face))
|
||||
(1 'font-lock-preprocessor-face))
|
||||
(,(rx (group "#" (or "eval" "print" "reduce" "help" "check" "lang" "check_failure" "synth")))
|
||||
(1 'font-lock-keyword-face))
|
||||
;; mutual definitions "names"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue