diff options
author | Lewis Russell <lewis6991@gmail.com> | 2025-03-08 09:30:36 +0000 |
---|---|---|
committer | Lewis Russell <me@lewisr.dev> | 2025-03-10 18:54:03 +0000 |
commit | debabaf884fc26e9dc257aa5b62581d3846f80f1 (patch) | |
tree | f2c31107a9615fa4167a0d2b806dda847286ff6a /runtime/lua/vim/hl.lua | |
parent | 3b0fe2659e74276e995655d1f8954b48005292e6 (diff) | |
download | rneovim-debabaf884fc26e9dc257aa5b62581d3846f80f1.tar.gz rneovim-debabaf884fc26e9dc257aa5b62581d3846f80f1.tar.bz2 rneovim-debabaf884fc26e9dc257aa5b62581d3846f80f1.zip |
fix(lsp)!: pass buffer number to root_dir function
Problem:
The root dir function is not passed any context and can only assume the
current buffer is the one being attached.
The main use case is for getting the path of the buffer using
`nvim_buf_get_name`.
Solution:
Pass the buffer number as the first argument.
Diffstat (limited to 'runtime/lua/vim/hl.lua')
0 files changed, 0 insertions, 0 deletions