File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -208,7 +208,7 @@ function M.setup()
208
208
vim .api .nvim_command (" hi def link " .. from .. " " .. to )
209
209
end
210
210
211
- -- window namespace; these don 't appear to be cleared on colorscheme however err on the side of caution
211
+ -- window standard; this doesn 't appear to clear on ColorScheme however we err on the side of caution
212
212
for from , to in pairs (NS_LINKS ) do
213
213
vim .api .nvim_set_hl (M .NS_ID , from , { link = to })
214
214
end
Original file line number Diff line number Diff line change @@ -283,7 +283,6 @@ function Builder:_create_combined_group(groups)
283
283
end
284
284
285
285
-- highlight directly in the namespace
286
- vim .api .nvim_set_hl_ns_fast (appearance .NS_ID )
287
286
vim .api .nvim_set_hl (appearance .NS_ID , combined_name , combined_hl )
288
287
289
288
table.insert (self .combined_groups , combined_name )
Original file line number Diff line number Diff line change @@ -135,7 +135,9 @@ local function set_window_options_and_buffer()
135
135
vim .opt_local [k ] = v
136
136
end
137
137
vim .opt .eventignore = eventignore
138
- vim .api .nvim_win_set_hl_ns (0 , appearance .NS_ID )
138
+
139
+ -- use highlights from the nvim_tree namespace
140
+ vim .api .nvim_win_set_hl_ns (M .get_winnr (), appearance .NS_ID )
139
141
end
140
142
141
143
--- @return table
You can’t perform that action at this time.
0 commit comments