fix(test): update tests to Nvim 0.8

This commit is contained in:
Christian Clason 2022-10-02 11:58:55 +02:00 committed by Stephan Seitz
parent 28f5458424
commit 8e763332b7
2 changed files with 5 additions and 5 deletions

View file

@ -10,7 +10,7 @@ local M = {}
-- Note: Some highlight groups may not be applied upstream, some may be experimental
-- TODO(clason): deprecated and will be removed for Nvim 0.8
local default_map = {
M.default_map = {
["annotation"] = "TSAnnotation",
["attribute"] = "TSAttribute",
@ -132,7 +132,7 @@ end
local function link_all_captures()
if link_captures then
for capture, hlgroup in pairs(default_map) do
for capture, hlgroup in pairs(M.default_map) do
link_captures(capture, hlgroup)
end
end