Skip to content

Commit f39c634

Browse files
committed
Merge branch 'master' into codemedic-customisations
* master: Add explicit dependency of nvim-lspconfig on cmp-nvim-lsp (nvim-lua#1042) Remove treesitter prefer_git option (nvim-lua#1061)
2 parents fd9ec59 + 1860184 commit f39c634

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

init.lua

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -444,6 +444,9 @@ require('lazy').setup({
444444
-- Useful status updates for LSP.
445445
-- NOTE: `opts = {}` is the same as calling `require('fidget').setup({})`
446446
{ 'j-hui/fidget.nvim', opts = {} },
447+
448+
-- Allows extra capabilities provided by nvim-cmp
449+
'hrsh7th/cmp-nvim-lsp',
447450
},
448451
config = function()
449452
-- Brief aside: **What is LSP?**
@@ -907,8 +910,6 @@ require('lazy').setup({
907910
config = function(_, opts)
908911
-- [[ Configure Treesitter ]] See `:help nvim-treesitter`
909912

910-
-- Prefer git instead of curl in order to improve connectivity in some environments
911-
require('nvim-treesitter.install').prefer_git = true
912913
---@diagnostic disable-next-line: missing-fields
913914
require('nvim-treesitter.configs').setup(opts)
914915

0 commit comments

Comments
 (0)