mirror of
https://github.com/zoriya/telescope.nvim.git
synced 2026-08-15 02:13:33 +00:00
fix: small fixes from sunjon (#107)
* Don't execute `command` if target buffer is already loaded in window. * Print node_text before entry.kind in ordinal string. * Add new builtin for listing and reloading Lua modules. * Revert "Add new builtin for listing and reloading Lua modules." This reverts commit 65d9d0294eae92b347b38b8dcf807fbcdd5783fe.
This commit is contained in:
@@ -268,7 +268,7 @@ function make_entry.gen_from_treesitter(opts)
|
||||
valid = true,
|
||||
|
||||
value = entry.node,
|
||||
ordinal = entry.kind .. " " .. node_text,
|
||||
ordinal = string.format("%s [%s]", node_text, entry.kind),
|
||||
display = make_display,
|
||||
|
||||
node_text = node_text,
|
||||
|
||||
Reference in New Issue
Block a user