Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(lsp): semantic token functions allow "0" bufnr #28849

Merged
merged 1 commit into from
May 21, 2024

Conversation

ribru17
Copy link
Contributor

@ribru17 ribru17 commented May 19, 2024

Allows the following functions to adhere to the "0 for current buffer" rule (guideline?):

  • vim.lsp.semantic_tokens.highlight_token()
  • vim.lsp.semantic_tokens.start()
  • vim.lsp.semantic_tokens.stop()

@justinmk
Copy link
Member

the "0 for current buffer" rule (guideline?):

yes, documented at :help dev-patterns

@justinmk justinmk merged commit a108852 into neovim:master May 21, 2024
32 checks passed
@github-actions github-actions bot removed the request for review from MariaSolOs May 21, 2024 16:26
huangyingw pushed a commit to huangyingw/neovim that referenced this pull request May 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants