clean config & rm un-needed pcalls
This commit is contained in:
parent
ff93c22e63
commit
2b94bb92e0
9 changed files with 27 additions and 131 deletions
|
|
@ -1,9 +1,3 @@
|
|||
local present, wk = pcall(require, "which-key")
|
||||
|
||||
if not present then
|
||||
return
|
||||
end
|
||||
|
||||
loadfile(vim.g.base46_cache .. "whichkey")()
|
||||
|
||||
local options = {
|
||||
|
|
@ -38,4 +32,4 @@ local options = {
|
|||
|
||||
options = require("core.utils").load_override(options, "folke/which-key.nvim")
|
||||
|
||||
wk.setup(options)
|
||||
require("which-key").setup(options)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue