Semantic tokens#
lsp-face-semhl-class#
Type: face
Default: ((t (:inherit font-lock-type-face)))
Face used for classes.
lsp-face-semhl-comment#
Type: face
Default: ((t (:inherit font-lock-comment-face)))
Face used for comments.
lsp-face-semhl-constant#
Type: face
Default: ((t :inherit font-lock-constant-face))
Face used for semantic highlighting scopes matching constant scopes.
lsp-face-semhl-default-library#
Type: face
Default: ((t :inherit font-lock-builtin-face))
Face used for defaultLibrary modifier.
lsp-face-semhl-definition#
Type: face
Default: ((t :inherit font-lock-function-name-face :weight bold))
Face used for definition modifier.
lsp-face-semhl-deprecated#
Type: face
Default: ((t :strike-through t))
Face used for semantic highlighting scopes matching constant scopes.
lsp-face-semhl-enum#
Type: face
Default: ((t (:inherit font-lock-type-face)))
Face used for enums.
lsp-face-semhl-event#
Type: face
Default: ((t (:inherit font-lock-variable-name-face)))
Face used for event properties.
lsp-face-semhl-function#
Type: face
Default: ((t :inherit font-lock-function-name-face))
Face used for semantic highlighting scopes matching entity.name.function.*. Unless overridden by a more specific face association.
lsp-face-semhl-implementation#
Type: face
Default: ((t :inherit font-lock-function-name-face :weight bold))
Face used for implementation modifier.
lsp-face-semhl-interface#
Type: face
Default: ((t (:inherit font-lock-type-face)))
Face used for interfaces.
lsp-face-semhl-keyword#
Type: face
Default: ((t (:inherit font-lock-keyword-face)))
Face used for keywords.
lsp-face-semhl-label#
Type: face
Default: ((t (:inherit font-lock-comment-face)))
Face used for labels.
lsp-face-semhl-macro#
Type: face
Default: ((t (:inherit font-lock-preprocessor-face)))
Face used for macros.
lsp-face-semhl-member#
Type: face
Default: ((t (:inherit font-lock-variable-name-face)))
Face used for members.
lsp-face-semhl-method#
Type: face
Default: ((t :inherit lsp-face-semhl-function))
Face used for semantic highlighting scopes matching entity.name.method.*. Unless overridden by a more specific face association.
lsp-face-semhl-namespace#
Type: face
Default: ((t :inherit font-lock-type-face :weight bold))
Face used for semantic highlighting scopes matching entity.name.namespace.*. Unless overridden by a more specific face association.
lsp-face-semhl-number#
Type: face
Default: ((t (:inherit font-lock-constant-face)))
Face used for numbers.
lsp-face-semhl-operator#
Type: face
Default: ((t (:inherit font-lock-function-name-face)))
Face used for operators.
lsp-face-semhl-parameter#
Type: face
Default: ((t (:inherit font-lock-variable-name-face)))
Face used for parameters.
lsp-face-semhl-property#
Type: face
Default: ((t (:inherit font-lock-variable-name-face)))
Face used for properties.
lsp-face-semhl-regexp#
Type: face
Default: ((t (:inherit font-lock-string-face :slant italic)))
Face used for regexps.
lsp-face-semhl-static#
Type: face
Default: ((t :inherit font-lock-keyword-face))
Face used for static modifier.
lsp-face-semhl-string#
Type: face
Default: ((t (:inherit font-lock-string-face)))
Face used for keywords.
lsp-face-semhl-struct#
Type: face
Default: ((t (:inherit font-lock-type-face)))
Face used for structs.
lsp-face-semhl-type#
Type: face
Default: ((t (:inherit font-lock-type-face)))
Face used for types.
lsp-face-semhl-type-parameter#
Type: face
Default: ((t (:inherit font-lock-type-face)))
Face used for type parameters.
lsp-face-semhl-variable#
Type: face
Default: ((t :inherit font-lock-variable-name-face))
Face used for semantic highlighting scopes matching variable.*. Unless overridden by a more specific face association.
lsp-semantic-tokens-allow-delta-requests#
Type: boolean
Default: t
Whether to use semantic token delta requests when available.
When supported by the language server, delta requests are always preferred over both full and ranged token requests.
lsp-semantic-tokens-allow-ranged-requests#
Type: boolean
Default: t
Whether to use ranged semantic token requests when available.
Note that even when this is set to t, delta requests will
be preferred whenever possible, unless
lsp-semantic-tokens-allow-delta-requests is false.
lsp-semantic-tokens-apply-modifiers#
Type: boolean
Default: t
Whether semantic tokens should take token modifiers into account.
lsp-semantic-tokens-enable#
Type: boolean
Default: nil
Enable/disable support for semantic tokens. As defined by the Language Server Protocol 3.16.
lsp-semantic-tokens-enable-multiline-token-support#
Type: boolean
Default: t
When set to nil, tokens will be truncated after end-of-line.
lsp-semantic-tokens-honor-refresh-requests#
Type: boolean
Default: nil
Whether to honor semanticTokens/refresh requests.
When set to nil, refresh requests will be silently discarded. When set to t, semantic tokens will be re-requested for all buffers associated with the requesting language server.
lsp-semantic-tokens-max-concurrent-idle-requests#
Type: integer
Default: 1
Maximum number of on-idle token requests to be dispatched simultaneously.
lsp-semantic-tokens-warn-on-missing-face#
Type: boolean
Default: nil
Warning on missing face for token type/modifier. When non-nil, this option will emit a warning any time a token or modifier type returned by a language server has no face associated with it.