Reconfigure lsp
This commit is contained in:
parent
84bd738041
commit
0ebf26b49c
6 changed files with 204 additions and 168 deletions
|
|
@ -11,38 +11,38 @@ return { -- NOTE: First, some plugins that don't require any configuration
|
|||
|
||||
-- NOTE: This is where your plugins related to LSP can be installed.
|
||||
-- The configuration is done below. Search for lspconfig to find it below.
|
||||
{
|
||||
-- LSP Configuration & Plugins
|
||||
'neovim/nvim-lspconfig',
|
||||
dependencies = {
|
||||
-- Automatically install LSPs to stdpath for neovim
|
||||
{ 'williamboman/mason.nvim', config = true },
|
||||
'williamboman/mason-lspconfig.nvim',
|
||||
-- {
|
||||
-- -- LSP Configuration & Plugins
|
||||
-- 'neovim/nvim-lspconfig',
|
||||
-- dependencies = {
|
||||
-- -- Automatically install LSPs to stdpath for neovim
|
||||
-- { 'williamboman/mason.nvim', config = true },
|
||||
-- 'williamboman/mason-lspconfig.nvim',
|
||||
--
|
||||
-- -- Useful status updates for LSP
|
||||
-- -- NOTE: `opts = {}` is the same as calling `require('fidget').setup({})`
|
||||
-- { 'j-hui/fidget.nvim', tag = 'legacy', opts = {} },
|
||||
--
|
||||
-- -- Additional lua configuration, makes nvim stuff amazing!
|
||||
-- 'folke/neodev.nvim',
|
||||
-- },
|
||||
-- },
|
||||
|
||||
-- Useful status updates for LSP
|
||||
-- NOTE: `opts = {}` is the same as calling `require('fidget').setup({})`
|
||||
{ 'j-hui/fidget.nvim', tag = 'legacy', opts = {} },
|
||||
|
||||
-- Additional lua configuration, makes nvim stuff amazing!
|
||||
'folke/neodev.nvim',
|
||||
},
|
||||
},
|
||||
|
||||
{
|
||||
-- Autocompletion
|
||||
'hrsh7th/nvim-cmp',
|
||||
dependencies = {
|
||||
-- Snippet Engine & its associated nvim-cmp source
|
||||
'L3MON4D3/LuaSnip',
|
||||
'saadparwaiz1/cmp_luasnip',
|
||||
|
||||
-- Adds LSP completion capabilities
|
||||
'hrsh7th/cmp-nvim-lsp',
|
||||
|
||||
-- Adds a number of user-friendly snippets
|
||||
'rafamadriz/friendly-snippets',
|
||||
},
|
||||
},
|
||||
-- {
|
||||
-- -- Autocompletion
|
||||
-- 'hrsh7th/nvim-cmp',
|
||||
-- dependencies = {
|
||||
-- -- Snippet Engine & its associated nvim-cmp source
|
||||
-- 'L3MON4D3/LuaSnip',
|
||||
-- 'saadparwaiz1/cmp_luasnip',
|
||||
--
|
||||
-- -- Adds LSP completion capabilities
|
||||
-- 'hrsh7th/cmp-nvim-lsp',
|
||||
--
|
||||
-- -- Adds a number of user-friendly snippets
|
||||
-- 'rafamadriz/friendly-snippets',
|
||||
-- },
|
||||
-- },
|
||||
|
||||
-- Useful plugin to show you pending keybinds.
|
||||
{ 'folke/which-key.nvim', opts = {} },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue