mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-24 09:48:59 +02:00
build: fix lsp keymaps doc generation
This commit is contained in:
parent
47ba46f184
commit
29ae872ad1
1 changed files with 2 additions and 4 deletions
|
@ -36,11 +36,9 @@ function M.keymaps()
|
|||
dofile(root .. "/lua/lazyvim/config/keymaps.lua")
|
||||
group = "LSP"
|
||||
local lsp = dofile(root .. "/lua/lazyvim/plugins/lsp/keymaps.lua")
|
||||
lsp.has = function()
|
||||
return true
|
||||
for _, keys in ipairs(lsp.get()) do
|
||||
map(keys.mode or "n", keys[1], keys[2], keys)
|
||||
end
|
||||
lsp.on_attach({ name = "foobar" })
|
||||
|
||||
vim.keymap.set = keymap_set
|
||||
|
||||
group = "Plugins"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue