AstroNvim / AstroNvim/astrocommunity

[pack/vue] disable semanticTokens for vtsls with .vue files

Open
#1,662 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Lua
Stars
1.7k
Forks
313
PR merge metrics
No merged PRs in 30d

Description

### Is your feature related to a problem?

there were some changes in the vue.js language tools wiki entry for [Neovim](https://github.com/vuejs/language-tools/wiki/Neovim)
seems like `vue_ls`/`volar` is now handling semantic tokens instead of `vtsls`, the semantic token capability of `vtsls` should be disabled for single file components (`.vue` files) inside `on_attach`

### Describe the new feature

See [Neovim#custom-component-highlight](https://github.com/vuejs/language-tools/wiki/Neovim#custom-component-highlight) for details

### Additional context

_No response_

Contributor guide

Open the contributing guide

Research direction

Locate the pack/vue configuration and its on_attach handler, then compare the linked Vue language-tools guidance for Neovim. Confirm how semantic tokens are currently exposed for vtsls and .vue files; done means the vtsls capability is disabled for those files without affecting other file types.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua, neovim
Domain
tooling
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.