telescope-command-palette.nvim
telescope-command-palette.nvim copied to clipboard
use entries from neovim's menu (accessible programmatically via menu_get)
Would it be possible to load menus directly from vim menu https://github.com/vim/vim/issues/1563 ? This way one could reuse entries across the different plugins. (I used to do that in https://github.com/teto/nvim-palette so it's possible if you are interested)
Hello.
CpMenu
is just a simple table in lua.
I don't have any plan to support vim(or port this plugin to viml
). Also if you want to use CpMenu
in other neovim plugins, you can access it:
require('command_palette').CpMenu
I only use neovim as well, sry my first post was unclear but would it be possible to load entries from neovim's :h menu_get()
function so that this plugin can leverage my entries out of the box without having me change the format just for this peculiar plugin ?
Ideally one could even select a submenu
Pull requests are welcome.