diff options
| author | rob <[email protected]> | 2021-07-04 15:07:11 +0100 | 
|---|---|---|
| committer | GitHub <[email protected]> | 2021-07-04 10:07:11 -0400 | 
| commit | 1ed739253485621d165341bcb69f857aa9d13a01 (patch) | |
| tree | 4a8a14b25300f0f703557d31d3bf1fbf606017a2 /lua/lv-which-key | |
| parent | 53d1e8b9010ac956763a93b24f8c576d6b5b9644 (diff) | |
Prevent startup errors on first run (#645)
Diffstat (limited to 'lua/lv-which-key')
| -rw-r--r-- | lua/lv-which-key/init.lua | 4 | 
1 files changed, 4 insertions, 0 deletions
| diff --git a/lua/lv-which-key/init.lua b/lua/lv-which-key/init.lua index 88dd2ef0..2b4ac95d 100644 --- a/lua/lv-which-key/init.lua +++ b/lua/lv-which-key/init.lua @@ -1,3 +1,7 @@ +if not package.loaded['which-key'] then +  return +end +  require("which-key").setup {      plugins = {          marks = true, -- shows a list of your marks on ' and ` | 
