Pārlūkot izejas kodu

nixpkgs/neovim: fix LSP override

Thomas Dy 4 mēneši atpakaļ
vecāks
revīzija
1e3b325654
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1 0
      .config/nixpkgs/neovim/mappings.lua

+ 1 - 0
.config/nixpkgs/neovim/mappings.lua

@@ -86,6 +86,7 @@ vim.api.nvim_create_autocmd('LspAttach', {
     if client.name == 'dprint' or client.name == 'eslint' then
       -- mappings should have been attached by typescript and re-attaching can
       -- overwrite the typescript specific overrides
+      return
     end
 
     local opts = { silent = true, buffer = args.buf }