mason-lspconfig is kinda broken on first run
This commit is contained in:
parent
3344392f1e
commit
c8917beb8e
3 changed files with 24 additions and 12 deletions
|
@ -6,25 +6,29 @@ require("lazy").setup({
|
|||
keys = require('plugins.nvim-tree').keys },
|
||||
|
||||
{ 'nvim-treesitter/nvim-treesitter',
|
||||
config = require('plugins.treesitter').config,
|
||||
build = ':TSUpdate',
|
||||
priority = 200},
|
||||
-- treesitter need to be configured after load,
|
||||
-- so let here be init, not config
|
||||
init = require('plugins.treesitter'),
|
||||
build = ':TSUpdate' },
|
||||
-- neovim lsp plugins and depencencies
|
||||
{ 'neovim/nvim-lspconfig',
|
||||
init = require('plugins.nvim-lspconfig').init,
|
||||
priority = 100},
|
||||
priority = 60 },
|
||||
{ 'hrsh7th/cmp-nvim-lsp' },
|
||||
{ 'hrsh7th/cmp-buffer' },
|
||||
{ 'hrsh7th/cmp-cmdline' },
|
||||
{ 'hrsh7th/cmp-path' },
|
||||
{ 'hrsh7th/nvim-cmp',
|
||||
init = require('plugins.nvim-cmp').init,
|
||||
dependencies = { { 'onsails/lspkind.nvim' } } },
|
||||
dependencies = { 'onsails/lspkind.nvim' } },
|
||||
{ 'williamboman/mason.nvim',
|
||||
config = {} },
|
||||
config = {},
|
||||
priority = 30 },
|
||||
-- mason-lspconfig might need disabling on first run
|
||||
{ 'williamboman/mason-lspconfig.nvim',
|
||||
config = require('plugins.mason-lspconfig').config,
|
||||
dependencies = { 'williamboman/mason.nvim' } },
|
||||
dependencies = { 'williamboman/mason.nvim' },
|
||||
priority = 55 },
|
||||
{ 'mfussenegger/nvim-lint',
|
||||
init = require('plugins.nvim-lint').init },
|
||||
{},
|
||||
|
@ -77,7 +81,7 @@ require("lazy").setup({
|
|||
{ 'olimorris/onedarkpro.nvim' },
|
||||
{ 'ellisonleao/gruvbox.nvim' },
|
||||
{ 'Mofiqul/dracula.nvim',
|
||||
priority = 300},
|
||||
priority = 300 },
|
||||
{ 'vigoux/oak' },
|
||||
{ 'NLKNguyen/papercolor-theme' },
|
||||
{ 'bluz71/vim-moonfly-colors' },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue