mirror of
https://github.com/neovim/neovim.git
synced 2025-09-05 19:08:15 +00:00
fix(lsp): change LspTokenUpdate to use buffer instead of pattern (#22559)
This commit is contained in:
@@ -435,7 +435,7 @@ function STHighlighter:on_win(topline, botline)
|
||||
token.marked = true
|
||||
|
||||
api.nvim_exec_autocmds('LspTokenUpdate', {
|
||||
pattern = vim.api.nvim_buf_get_name(self.bufnr),
|
||||
buffer = self.bufnr,
|
||||
modeline = false,
|
||||
data = {
|
||||
token = token,
|
||||
|
Reference in New Issue
Block a user