mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-02 11:36:54 -04:00
highlight: use new highlighter interface
This commit is contained in:
parent
7c96582ef1
commit
2c8d401bb8
1 changed files with 1 additions and 1 deletions
|
|
@ -88,7 +88,7 @@ function M.attach(bufnr, lang)
|
|||
local query = queries.get_query(lang, "highlights")
|
||||
if not query then return end
|
||||
|
||||
M.highlighters[bufnr] = ts.highlighter.new(query, bufnr, lang)
|
||||
M.highlighters[bufnr] = ts.highlighter.new(bufnr, lang, query)
|
||||
end
|
||||
|
||||
function M.detach(bufnr)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue