Compare commits

..
1 Commits
Author SHA1 Message Date
hollorol d0ce858fc6 Remove some autocompletion which messed up with my R plugin 2024-07-31 23:03:54 +02:00
2 changed files with 25 additions and 25 deletions
+1 -1
View File
@@ -9,5 +9,5 @@ vim.opt.mouse="a"
vim.opt.clipboard="unnamedplus" vim.opt.clipboard="unnamedplus"
vim.g.mapleader = " " vim.g.mapleader = " "
vim.g.maplocalleader = "," vim.g.maplocalleader = ","
-- vim.opt.spell = true vim.opt.spell = true
vim.opt.ignorecase = true vim.opt.ignorecase = true
+22 -22
View File
@@ -122,28 +122,28 @@ return {
format = lspkind.cmp_format({ with_text = true, maxwidth = 50 }) format = lspkind.cmp_format({ with_text = true, maxwidth = 50 })
} }
}) })
--
-- Use buffer source for `/` and `?` (if you enabled `native_menu`, this won't work anymore). -- -- Use buffer source for `/` and `?` (if you enabled `native_menu`, this won't work anymore).
cmp.setup.cmdline('/', { -- cmp.setup.cmdline('/', {
sources = { -- sources = {
{ name = 'buffer' } -- { name = 'buffer' }
} -- }
}) -- })
--
cmp.setup.cmdline('?', { -- cmp.setup.cmdline('?', {
sources = { -- sources = {
{ name = 'buffer' } -- { name = 'buffer' }
} -- }
}) -- })
--
-- Use cmdline & path source for ':' (if you enabled `native_menu`, this won't work anymore). -- -- Use cmdline & path source for ':' (if you enabled `native_menu`, this won't work anymore).
cmp.setup.cmdline(':', { -- cmp.setup.cmdline(':', {
sources = cmp.config.sources({ -- sources = cmp.config.sources({
{ name = 'path' } -- { name = 'path' }
}, { -- }, {
{ name = 'cmdline' } -- { name = 'cmdline' }
}) -- })
}) -- })
require("cmp_r").setup({ }) require("cmp_r").setup({ })
end end
} }