summaryrefslogtreecommitdiff
path: root/lua/core/commands.lua
diff options
context:
space:
mode:
authorPasi Bergman <[email protected]>2021-08-09 17:59:27 +0300
committerGitHub <[email protected]>2021-08-09 10:59:27 -0400
commit625df947dcacf3804f4ec7335478535ecd8219af (patch)
tree18722a0c278dd3e4442b581d96b5fb96ccebc492 /lua/core/commands.lua
parent0e09963aff81bbab5d1b3f2b5f4190aadd0873d7 (diff)
[Feature] Add LvimInfo command (#1269)
* feature: add LvimInfo command * Move :LvimInfo to core/commands.lua
Diffstat (limited to 'lua/core/commands.lua')
-rw-r--r--lua/core/commands.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/lua/core/commands.lua b/lua/core/commands.lua
index c42b385d..22170c85 100644
--- a/lua/core/commands.lua
+++ b/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)