mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-24 17:58:51 +02:00
refactor: cleanup keymaps and fixed bnext/bprev when bufferline is disabled
This commit is contained in:
parent
06107862a7
commit
2ea489c7ba
3 changed files with 40 additions and 33 deletions
|
@ -15,6 +15,11 @@ function M.on_attach(on_attach)
|
|||
})
|
||||
end
|
||||
|
||||
---@param plugin string
|
||||
function M.has(plugin)
|
||||
return require("lazy.core.config").plugins[plugin] ~= nil
|
||||
end
|
||||
|
||||
-- returns the root directory based on:
|
||||
-- * lsp workspace folders
|
||||
-- * lsp root_dir
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue