@@ -141,21 +141,10 @@ local plugins = {
141
141
-- - select an item with `<Tab>`/`<S-Tab>`
142
142
{
143
143
" hrsh7th/nvim-cmp" ,
144
- dependencies = {
145
- " hrsh7th/cmp-nvim-lsp" , -- use suggestions from the LSP
146
-
147
- -- Snippet engine. Required for nvim-cmp to work, even if you don't
148
- -- intend to use custom snippets.
149
- " L3MON4D3/LuaSnip" , -- snippet engine
150
- " saadparwaiz1/cmp_luasnip" , -- adapter for the snippet engine
151
- },
144
+ dependencies = " hrsh7th/cmp-nvim-lsp" , -- use suggestions from the LSP
152
145
config = function ()
153
146
local cmp = require (" cmp" )
154
147
cmp .setup ({
155
- -- tell cmp to use Luasnip as our snippet engine
156
- snippet = {
157
- expand = function (args ) require (" luasnip" ).lsp_expand (args .body ) end ,
158
- },
159
148
-- Define the mappings for the completion. The `fallback()` call
160
149
-- ensures that when there is no suggestion window open, the mapping
161
150
-- falls back to the default behavior (adding indentation).
@@ -212,9 +201,8 @@ local plugins = {
212
201
send_motion = " +" ,
213
202
},
214
203
config = {
215
- -- this defined how the repl is opened. Here we set the REPL window
216
- -- to open in a horizontal split to a bottom, with a height of 10
217
- -- cells.
204
+ -- This defines how the repl is opened. Here, we set the REPL window
205
+ -- to open in a horizontal split to the bottom, with a height of 10.
218
206
repl_open_cmd = " horizontal bot 10 split" ,
219
207
220
208
-- This defines which binary to use for the REPL. If `ipython` is
@@ -259,7 +247,6 @@ local plugins = {
259
247
" toml" ,
260
248
" rst" ,
261
249
" ninja" ,
262
- -- needed for formatting code-blocks inside markdown via conform.nvim
263
250
" markdown" ,
264
251
" markdown_inline" ,
265
252
},
0 commit comments