diff options
author | Juan J. Martinez <jjm@usebox.net> | 2022-07-05 21:52:03 +0100 |
---|---|---|
committer | Juan J. Martinez <jjm@usebox.net> | 2022-07-05 21:52:03 +0100 |
commit | c4caa1a935e5549ea776b9ddf2ac68d69a7bcc7d (patch) | |
tree | 603445682189abd4a82e5320462cbde6290ff43b /cmp.vim | |
parent | 41d7325b8f099274125fe74fb1a94860ed83c751 (diff) | |
download | dotnvim-c4caa1a935e5549ea776b9ddf2ac68d69a7bcc7d.tar.gz dotnvim-c4caa1a935e5549ea776b9ddf2ac68d69a7bcc7d.zip |
It is lua, actually
Diffstat (limited to 'cmp.vim')
-rw-r--r-- | cmp.vim | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/cmp.vim b/cmp.vim deleted file mode 100644 index 4f8db13..0000000 --- a/cmp.vim +++ /dev/null @@ -1,20 +0,0 @@ -lua <<EOF - -- Setup nvim-cmp. - local cmp = require'cmp' - - cmp.setup({ - snippet = { - expand = function(args) - vim.fn["vsnip#anonymous"](args.body) - end, - }, - mapping = cmp.mapping.preset.insert({ - ['<CR>'] = cmp.mapping.confirm({ select = true }), - }), - sources = cmp.config.sources({ - { name = 'nvim_lsp' }, - { name = 'vsnip' }, - }) - }) -EOF - |