summaryrefslogtreecommitdiffstatshomepage
path: root/runtime/lua/vim/_editor.lua
diff options
context:
space:
mode:
authorJeff Martin <jeffmartin@gmail.com>2025-11-18 23:03:40 -0800
committerGitHub <noreply@github.com>2025-11-18 23:03:40 -0800
commitff792f8e690854aaae9be627c583b596faf137c0 (patch)
treef4c53b575e5520c76a89cf23a1563ff845b14c63 /runtime/lua/vim/_editor.lua
parentb65aadc03ee7914081ca4055dc72778fd4d68e7b (diff)
fix(lsp): enable insertReplaceSupport for use in adjust_start_col #36569
Problem: With the typescript LSes typescript-language-server and vtsls, omnicompletion on partial tokens for certain types, such as array methods, and functions that are attached as attributes to other functions, either results in no entries populated in the completion menu (typescript-language-server), or an unfiltered completion menu with all array methods included, even if they don't share the same prefix as the partial token being completed (vtsls). Solution: Enable insertReplaceSupport and uses the insert portion of the lsp completion response in adjust_start_col if it's included in the response. Completion results are still filtered client side.
Diffstat (limited to 'runtime/lua/vim/_editor.lua')
0 files changed, 0 insertions, 0 deletions