1
0
Fork 0

Compare commits

...

2 commits

View file

@ -169,6 +169,7 @@ vim.api.nvim_create_autocmd({ "FileType" }, {
pattern = "markdown",
callback = function()
vim.opt_local.textwidth = 85
vim.opt_local.spell = true
end,
})
-- YAML --
@ -404,7 +405,7 @@ cmp.setup({
["<C-Space>"] = cmp.mapping.complete(),
["<C-e>"] = cmp.mapping.abort(),
-- Accept currently selected item. Set `select` to `false` to only confirm explicitly selected items.
["<CR>"] = cmp.mapping.confirm({ select = true }),
["<CR>"] = cmp.mapping.confirm({ select = false }),
}),
sources = cmp.config.sources({
{ name = "nvim_lsp" },