simrat39 / symbols-outline.nvim

A tree like view for symbols in Neovim using the Language Server Protocol. Supports all your favourite languages.
MIT License
1.85k stars 100 forks source link

"?" does not print any help message #211

Open girishji opened 1 year ago

girishji commented 1 year ago

Well, it prints the keybinding info into 'messages' and can be retrieved using :messages, but this is hardly convenient. Maybe use vim.notify() instead of print()?

In config.lua:

function M.show_help()
   print 'Current keymaps:'
   print(vim.inspect(M.options.keymaps))
end

instead use

vim.notify(vim.inspect(M.options.keymaps))

I circumvented this problem by defining a keybinding to call vim.notify(vim.inspect(require 'symbols-outline.config'.options.keymaps))

Username-Adrian commented 1 year ago

vim.notify(vim.inspect(require 'symbols-outline.config'.options.keymaps))

My key '?' is print } image Thank you so much for your approach solving my problem!

imroc commented 1 year ago

Same problem~

cxzhou35 commented 1 year ago

Same problem with you.

Djedouas commented 11 months ago

same