Browse Source

nixpkgs/neovim: disable aliasing when renaming in ts_ls

Thomas Dy 3 months ago
parent
commit
17b08cb900
1 changed files with 2 additions and 0 deletions
  1. 2 0
      .config/nixpkgs/neovim/lsp.lua

+ 2 - 0
.config/nixpkgs/neovim/lsp.lua

@@ -33,6 +33,8 @@ else
         completionDisableFilterText = true,
         preferences = {
           importModuleSpecifierPreference = 'non-relative',
+          -- this prevents renames from aliasing when destructuring
+          providePrefixAndSuffixTextForRename = false,
         },
       },
       capabilities = capabilities,