mirror of
https://github.com/ilyakooo0/nvim-autopairs.git
synced 2024-10-26 08:41:46 +03:00
Remove deprecated setup() function.
The existence of this causes sumneko_lua to think that the call to `cmp.setup()` requires 0 arguments. Additionally, it allows for going to the correct definition, instead of the one defined in `nvim-autopairs.completion.cmp`.
This commit is contained in:
parent
6fb0479704
commit
38d486a1c4
@ -4,11 +4,6 @@ local cmp = require('cmp')
|
||||
|
||||
local M = {}
|
||||
|
||||
M.setup = function()
|
||||
vim.notify('[nvim-autopairs] function nvim-autopairs.completion.cmp setup is deprecated.')
|
||||
vim.notify('[nvim-autopairs] remove this function and use require("cmp").setup to add <cr> mapping.')
|
||||
end
|
||||
|
||||
M.lisp = { "clojure", "clojurescript", "fennel", "janet" }
|
||||
|
||||
local ignore_append = function(char, kinds, next_char, prev_char, item)
|
||||
|
Loading…
Reference in New Issue
Block a user