Pārlūkot izejas kodu

Add explicit dependency of nvim-lspconfig on cmp-nvim-lsp (#1042)

jstrot 2 gadi atpakaļ
vecāks
revīzija
1860184830
1 mainītis faili ar 3 papildinājumiem un 0 dzēšanām
  1. 3 0
      init.lua

+ 3 - 0
init.lua

@@ -428,6 +428,9 @@ require('lazy').setup({
       -- Useful status updates for LSP.
       -- NOTE: `opts = {}` is the same as calling `require('fidget').setup({})`
       { 'j-hui/fidget.nvim', opts = {} },
+
+      -- Allows extra capabilities provided by nvim-cmp
+      'hrsh7th/cmp-nvim-lsp',
     },
     config = function()
       -- Brief aside: **What is LSP?**