瀏覽代碼

[Feature] Add LvimInfo command (#1269)

* feature: add LvimInfo command

* Move :LvimInfo to core/commands.lua
Pasi Bergman 3 年之前
父節點
當前提交
625df947dc
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      lua/core/commands.lua

+ 2 - 0
lua/core/commands.lua

@@ -10,6 +10,8 @@ M.defaults = {
     endif
   endfunction
   ]],
+  -- :LvimInfo
+  [[command! LvimInfo lua require('core.info').toggle_popup(vim.bo.filetype)]],
 }
 
 M.load = function(commands)