aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/treesitter/_range.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2026-08-01 10:07:26 -0400
committerGitHub <noreply@github.com>2026-08-01 10:07:26 -0400
commite02755cd9ff29277d14421c9df627e5dc48e4f67 (patch)
treed3a35b8bfbf2be5accd6e572953a436a9eb8d049 /runtime/lua/vim/treesitter/_range.lua
parentb11f1b1f76296e0296bb21a54315e2a18c8d6a6e (diff)
downloadrneovim-e02755cd9ff29277d14421c9df627e5dc48e4f67.tar.gz
rneovim-e02755cd9ff29277d14421c9df627e5dc48e4f67.tar.bz2
rneovim-e02755cd9ff29277d14421c9df627e5dc48e4f67.zip
fix(options): ":set foo?" for Lua callbacks #41100
Problem: `:set foo=<tab>` and `:set foo?` for func/expr options set to a Lua function, always displays "v:lua". The existing "<Lua N: file:line>" form was avoided because the ref id N changes on every read of the same option. Solution: - Don't attempt to tab-complete Lua functions. - Show "<Lua file:line>" (or "<Lua>" if source file is unknown). Example: :set operatorfunc? operatorfunc=<Lua ~/.config/nvim/init.lua:42>
Diffstat (limited to 'runtime/lua/vim/treesitter/_range.lua')
0 files changed, 0 insertions, 0 deletions