nvim: replace lspinstall (depricated)
This commit is contained in:
parent
c00e15e6e6
commit
4245dc1ca2
1 changed files with 12 additions and 18 deletions
|
@ -25,7 +25,6 @@ return require('packer').startup({function()
|
|||
config = function()
|
||||
-- Map :PS to :PackerSync
|
||||
vim.cmd 'command! PS PackerSync'
|
||||
-- require('packer_compiled')
|
||||
end
|
||||
}
|
||||
|
||||
|
@ -50,17 +49,11 @@ return require('packer').startup({function()
|
|||
-- IDE features
|
||||
---- LSP (document analysis)
|
||||
use { -- lsp installer
|
||||
'kabouzeid/nvim-lspinstall',
|
||||
setup = function()
|
||||
-- reload the current file so lsp actually starts for it
|
||||
vim.defer_fn(function()
|
||||
vim.cmd 'silent! e %'
|
||||
end, 0)
|
||||
end,
|
||||
'williamboman/nvim-lsp-installer',
|
||||
}
|
||||
use { -- Default LSP configs
|
||||
'neovim/nvim-lspconfig',
|
||||
after = {'nvim-lspinstall',},
|
||||
before = 'williamboman/nvim-lsp-installer',
|
||||
config = function()
|
||||
require('blake.lsp').lspconfig()
|
||||
end
|
||||
|
@ -81,7 +74,7 @@ return require('packer').startup({function()
|
|||
'hrsh7th/cmp-buffer',
|
||||
'hrsh7th/cmp-cmdline',
|
||||
'hrsh7th/cmp-emoji',
|
||||
}
|
||||
},
|
||||
}
|
||||
use { -- function parameter previews
|
||||
'ray-x/lsp_signature.nvim',
|
||||
|
@ -90,7 +83,7 @@ return require('packer').startup({function()
|
|||
require('blake.lsp').signature()
|
||||
end,
|
||||
}
|
||||
use {
|
||||
use { -- symbols-outline: treesitter-based document outline (:SO)
|
||||
'simrat39/symbols-outline.nvim',
|
||||
config = function()
|
||||
vim.cmd 'command! SO SymbolsOutline'
|
||||
|
@ -195,7 +188,8 @@ return require('packer').startup({function()
|
|||
vim.cmd [[
|
||||
let g:indentLine_char = '▏'
|
||||
let g:indentLine_conceallevel = 1
|
||||
let g:indentLine_fileTypeExclude = ['markdown', 'help']
|
||||
let g:indentLine_fileTypeExclude = ['markdown', 'help', 'packer']
|
||||
autocmd TermOpen * IndentLinesDisable
|
||||
]]
|
||||
end
|
||||
}
|
||||
|
@ -234,12 +228,12 @@ return require('packer').startup({function()
|
|||
require('Comment').setup()
|
||||
end
|
||||
}
|
||||
use { -- lewis6991: spellsitter: Spell checking in treesitter files
|
||||
'lewis6991/spellsitter.nvim',
|
||||
config = function()
|
||||
require('spellsitter').setup()
|
||||
end,
|
||||
}
|
||||
-- use { -- lewis6991: spellsitter: Spell checking in treesitter files
|
||||
-- 'lewis6991/spellsitter.nvim',
|
||||
-- config = function()
|
||||
-- require('spellsitter').setup()
|
||||
-- end,
|
||||
-- }
|
||||
use { -- lewis6991: spaceless: Strip trailing whitespace as you are editing
|
||||
'lewis6991/spaceless.nvim',
|
||||
config = function()
|
||||
|
|
Loading…
Add table
Reference in a new issue