You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
use { -- A collection of common configurations for Neovim's built-in language server client
81
75
'neovim/nvim-lspconfig',
82
76
commit=commits.nvim_lspconfig,
83
-
-- [loading with after causing errors. for now, disable it]
84
-
-- after = "nvim-lsp-installer", -- make sure setup for nvim-lsp-installer executes before the setup for lspconfig
77
+
requires= {
78
+
{ -- Companion plugin for nvim-lspconfig that allows you to seamlessly install LSP servers locally (inside :echo stdpath("data")).
79
+
'williamboman/nvim-lsp-installer',
80
+
commit=commits.nvim_lsp_installer,
81
+
}
82
+
},
85
83
config=[[ require('plugins/nvim-lspconfig') ]]
86
84
}
87
85
@@ -103,21 +101,22 @@ return packer.startup {
103
101
'hrsh7th/nvim-cmp',
104
102
commit=commits.nvim_cmp,
105
103
requires= {
104
+
{ -- Snippet Engine for Neovim written in Lua.
105
+
'L3MON4D3/LuaSnip',
106
+
commit=commits.LuaSnip,
107
+
requires= {"rafamadriz/friendly-snippets", commit=commits.friendly_snippets}, -- Snippets collection for a set of different programming languages for faster development.
108
+
},
106
109
{"hrsh7th/cmp-nvim-lsp", commit=commits.cmp_nvim_lsp}, -- nvim-cmp source for neovim builtin LSP client
107
110
{"hrsh7th/cmp-buffer", commit=commits.cmp_buffer}, -- nvim-cmp source for buffer words.
108
111
{"hrsh7th/cmp-path", commit=commits.cmp_path}, -- nvim-cmp source for filesystem paths.
109
112
{"saadparwaiz1/cmp_luasnip", commit=commits.cmp_luasnip},-- luasnip completion source for nvim-cmp
110
113
{"hrsh7th/cmp-nvim-lsp-signature-help", commit=commits.cmp_nvim_lsp_signature_help}, -- nvim-cmp source for displaying function signatures with the current parameter emphasized:
111
114
{"hrsh7th/cmp-nvim-lua", ft='lua', commit=commits.cmp_nvim_lua}, -- nvim-cmp source for nvim lua
112
115
},
113
-
config=[[ require('plugins/nvim-cmp') ]]
114
-
}
115
-
116
-
use { -- Snippet Engine for Neovim written in Lua.
117
-
'L3MON4D3/LuaSnip',
118
-
commit=commits.LuaSnip,
119
-
requires= {"rafamadriz/friendly-snippets", commit=commits.friendly_snippets}, -- Snippets collection for a set of different programming languages for faster development.
120
-
config=[[ require('plugins/LuaSnip') ]]
116
+
config=[[
117
+
require('plugins/nvim-cmp')
118
+
require('plugins/LuaSnip')
119
+
]]
121
120
}
122
121
123
122
use { -- Use Neovim as a language server to inject LSP diagnostics, code actions, and more via Lua.
@@ -132,6 +131,12 @@ return packer.startup {
132
131
config=[[ require('plugins/nvim-autopairs') ]]
133
132
}
134
133
134
+
use { -- Add/change/delete surrounding delimiter pairs with ease.
135
+
'kylechui/nvim-surround',
136
+
commit=commits.nvim_surround,
137
+
config=[[ require('plugins/nvim-surround') ]]
138
+
}
139
+
135
140
use { -- Find, Filter, Preview, Pick. All lua, all the time.
136
141
'nvim-telescope/telescope.nvim',
137
142
commit=commits.telescope_nvim,
@@ -231,7 +236,7 @@ return packer.startup {
231
236
}
232
237
233
238
use { -- smart indent and project detector with project based config loader
0 commit comments