Variable: go-work-ts-mode--font-lock-settings

go-work-ts-mode--font-lock-settings is a variable defined in go-ts-mode.el.gz.

Value

((#<treesit-compiled-query> t bracket nil nil gowork)
 (#<treesit-compiled-query> t comment nil nil gowork)
 (#<treesit-compiled-query> t keyword nil nil gowork)
 (#<treesit-compiled-query> t number nil nil gowork)
 (#<treesit-compiled-query> t operator nil nil gowork)
 (#<treesit-compiled-query> t error t nil gowork))

Documentation

Tree-sitter font-lock settings for go-work-ts-mode.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/go-ts-mode.el.gz
(defvar go-work-ts-mode--font-lock-settings
  (treesit-font-lock-rules
   :language 'gowork
   :feature 'bracket
   '((["(" ")"]) @font-lock-bracket-face)

   :language 'gowork
   :feature 'comment
   '((comment) @font-lock-comment-face)

   :language 'gowork
   :feature 'keyword
   `([,@go-work-ts-mode--keywords] @font-lock-keyword-face)

   :language 'gowork
   :feature 'number
   '([(go_version) (version)] @font-lock-number-face)

   :language 'gowork
   :feature 'operator
   '((["=>"]) @font-lock-operator-face)

   :language 'gowork
   :feature 'error
   :override t
   '((ERROR) @font-lock-warning-face))
  "Tree-sitter font-lock settings for `go-work-ts-mode'.")