diff options
author | “jvgrootveld” <“justin.vangrootveld@gmail.com”> | 2021-01-18 08:17:12 +0100 |
---|---|---|
committer | “jvgrootveld” <“justin.vangrootveld@gmail.com”> | 2021-01-18 08:17:12 +0100 |
commit | 9bed991cfb2d40911eaf149b705da4d3b77a9c28 (patch) | |
tree | 95d3fffad52b3fee4c189712b3df660909e76ac7 /runtime/lua/vim/lsp.lua | |
parent | a2818819bb5afc3283e935727d5a1b0e9d1cf6b3 (diff) | |
download | rneovim-9bed991cfb2d40911eaf149b705da4d3b77a9c28.tar.gz rneovim-9bed991cfb2d40911eaf149b705da4d3b77a9c28.tar.bz2 rneovim-9bed991cfb2d40911eaf149b705da4d3b77a9c28.zip |
treesitter: Fix linter warning and add helper function to remove duplicated logic
This function returns the start and stop value if set else the node's range is used
When the node's range is used, the stop is incremented by 1 to make the search inclusive
Diffstat (limited to 'runtime/lua/vim/lsp.lua')
0 files changed, 0 insertions, 0 deletions