fix no lspmappings without custom mappings | 0f013d4e7b (commitcomment-74845391)
This commit is contained in:
parent
ebe1512108
commit
1381e924cf
@ -92,9 +92,8 @@ M.load_mappings = function(mappings, mapping_opt)
|
||||
end
|
||||
end
|
||||
|
||||
mappings.lspconfig = nil
|
||||
|
||||
for _, section_mappings in pairs(mappings) do
|
||||
for section, section_mappings in pairs(mappings) do
|
||||
if section ~= "lspconfig" then
|
||||
-- skip mapping this as its mapppings are loaded in lspconfiguti
|
||||
for mode, mode_mappings in pairs(section_mappings) do
|
||||
for keybind, mapping_info in pairs(mode_mappings) do
|
||||
@ -111,6 +110,7 @@ M.load_mappings = function(mappings, mapping_opt)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
-- load plugin after entering vim ui
|
||||
|
Loading…
Reference in New Issue
Block a user