nvim: fix lspconfig and lspinstall to work together
This commit is contained in:
parent
03fd58499e
commit
4529ed7b43
1 changed files with 10 additions and 9 deletions
|
@ -78,16 +78,16 @@ return require('packer').startup({function()
|
|||
}
|
||||
|
||||
-- IDE features
|
||||
---- LSP (document analysis)
|
||||
use { -- lsp installer
|
||||
---- LSP
|
||||
use { -- lspinstall + lspconfig
|
||||
'williamboman/nvim-lsp-installer',
|
||||
}
|
||||
use { -- Default LSP configs
|
||||
'neovim/nvim-lspconfig',
|
||||
before = 'williamboman/nvim-lsp-installer',
|
||||
config = function()
|
||||
require('blake.lsp').lspconfig()
|
||||
end
|
||||
{ -- lspconfig
|
||||
'neovim/nvim-lspconfig',
|
||||
config = function()
|
||||
require('blake.lsp').lspinstall()
|
||||
require('blake.lsp').lspconfig()
|
||||
end
|
||||
}
|
||||
}
|
||||
use { -- commentstring based on context from treesitter
|
||||
'JoosepAlviste/nvim-ts-context-commentstring',
|
||||
|
@ -195,6 +195,7 @@ return require('packer').startup({function()
|
|||
-- }
|
||||
use { -- terminal
|
||||
'akinsho/toggleterm.nvim',
|
||||
tag = 'v1.*',
|
||||
config = function()
|
||||
require('blake.other').toggleterm()
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue