Compare commits
2 commits
180c90a0df
...
92a1a1753a
| Author | SHA1 | Date | |
|---|---|---|---|
| 92a1a1753a | |||
| 60bbddef35 |
1 changed files with 2 additions and 1 deletions
3
init.lua
3
init.lua
|
|
@ -169,6 +169,7 @@ vim.api.nvim_create_autocmd({ "FileType" }, {
|
||||||
pattern = "markdown",
|
pattern = "markdown",
|
||||||
callback = function()
|
callback = function()
|
||||||
vim.opt_local.textwidth = 85
|
vim.opt_local.textwidth = 85
|
||||||
|
vim.opt_local.spell = true
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
-- YAML --
|
-- YAML --
|
||||||
|
|
@ -404,7 +405,7 @@ cmp.setup({
|
||||||
["<C-Space>"] = cmp.mapping.complete(),
|
["<C-Space>"] = cmp.mapping.complete(),
|
||||||
["<C-e>"] = cmp.mapping.abort(),
|
["<C-e>"] = cmp.mapping.abort(),
|
||||||
-- Accept currently selected item. Set `select` to `false` to only confirm explicitly selected items.
|
-- 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({
|
sources = cmp.config.sources({
|
||||||
{ name = "nvim_lsp" },
|
{ name = "nvim_lsp" },
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue