nvim: fix lspconfig and lspinstall to work together

This commit is contained in:
PowerUser64 2022-05-13 04:28:53 -07:00
parent 03fd58499e
commit 4529ed7b43

View file

@ -78,16 +78,16 @@ return require('packer').startup({function()
} }
-- IDE features -- IDE features
---- LSP (document analysis) ---- LSP
use { -- lsp installer use { -- lspinstall + lspconfig
'williamboman/nvim-lsp-installer', 'williamboman/nvim-lsp-installer',
} { -- lspconfig
use { -- Default LSP configs 'neovim/nvim-lspconfig',
'neovim/nvim-lspconfig', config = function()
before = 'williamboman/nvim-lsp-installer', require('blake.lsp').lspinstall()
config = function() require('blake.lsp').lspconfig()
require('blake.lsp').lspconfig() end
end }
} }
use { -- commentstring based on context from treesitter use { -- commentstring based on context from treesitter
'JoosepAlviste/nvim-ts-context-commentstring', 'JoosepAlviste/nvim-ts-context-commentstring',
@ -195,6 +195,7 @@ return require('packer').startup({function()
-- } -- }
use { -- terminal use { -- terminal
'akinsho/toggleterm.nvim', 'akinsho/toggleterm.nvim',
tag = 'v1.*',
config = function() config = function()
require('blake.other').toggleterm() require('blake.other').toggleterm()
end end