Compare commits
2 commits
5a6eaad114
...
8c4b705df9
Author | SHA1 | Date | |
---|---|---|---|
kalmenn | 8c4b705df9 | ||
kalmenn | b0b0ed3359 |
|
@ -36,11 +36,9 @@ return {
|
|||
{ "<C-e>", function() require("cmp").mapping.abort() end },
|
||||
{ "<CR>", function() require("cmp").mapping.confirm({ select = false }) end },
|
||||
},
|
||||
config = function(_, opts)
|
||||
init = function()
|
||||
local cmp = require("cmp")
|
||||
|
||||
cmp.setup(opts)
|
||||
|
||||
vim.api.nvim_create_autocmd("BufRead", {
|
||||
group = vim.api.nvim_create_augroup("CmpSourceCargo", { clear = true }),
|
||||
pattern = "Cargo.toml",
|
||||
|
|
Loading…
Reference in a new issue