Skip to content

Commit 351366e

Browse files
committed
fix: Markview no longer overwrites user source list for blink.cmp
Ref: #317
1 parent e4c47d2 commit 351366e

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

plugin/markview.lua

+7-7
Original file line numberDiff line numberDiff line change
@@ -69,13 +69,13 @@ if vim.g.markview_blink_loaded == false and blink ~= nil then
6969

7070
if vim.islist(default) then
7171
config.sources.per_filetype[ft] = vim.list_extend(default, { "markview" });
72-
else
73-
--- Empty context.
74-
local can_exec, exec = pcall(default, {});
75-
76-
if can_exec and vim.islist(exec) then
77-
config.sources.per_filetype[ft] = vim.list_extend(exec, { "markview" });
78-
end
72+
-- else
73+
-- --- Empty context.
74+
-- local can_exec, exec = pcall(default, {});
75+
--
76+
-- if can_exec and vim.islist(exec) then
77+
-- config.sources.per_filetype[ft] = vim.list_extend(exec, { "markview" });
78+
-- end
7979
end
8080
else
8181
pcall(blink.add_filetype_source, ft, "markview");

0 commit comments

Comments
 (0)