feat: remove autopairs
This commit is contained in:
@@ -44,10 +44,6 @@ local plugins = {
|
|||||||
),
|
),
|
||||||
version = "2.*",
|
version = "2.*",
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"windwp/nvim-autopairs",
|
|
||||||
config = require("plugins.autopairs"),
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"saadparwaiz1/cmp_luasnip",
|
"saadparwaiz1/cmp_luasnip",
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1,25 +0,0 @@
|
|||||||
--[[
|
|
||||||
Copyright 2023 Oscar Wallberg
|
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
you may not use this file except in compliance with the License.
|
|
||||||
You may obtain a copy of the License at
|
|
||||||
|
|
||||||
https://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
|
|
||||||
Unless required by applicable law or agreed to in writing, software
|
|
||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
See the License for the specific language governing permissions and
|
|
||||||
limitations under the License.
|
|
||||||
]]
|
|
||||||
|
|
||||||
-- https://github.com/windwp/nvim-autopairs
|
|
||||||
|
|
||||||
local function setup()
|
|
||||||
require("nvim-autopairs").setup({
|
|
||||||
fast_wrap = {},
|
|
||||||
})
|
|
||||||
end
|
|
||||||
|
|
||||||
return setup
|
|
||||||
@@ -161,17 +161,6 @@ local function setup()
|
|||||||
),
|
),
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
utils.try_require(
|
|
||||||
"nvim-autopairs.completion.cmp",
|
|
||||||
module_name,
|
|
||||||
function (cmp_autopairs)
|
|
||||||
cmp.event:on(
|
|
||||||
"confirm_done",
|
|
||||||
cmp_autopairs.on_confirm_done()
|
|
||||||
)
|
|
||||||
end
|
|
||||||
)
|
|
||||||
end
|
end
|
||||||
|
|
||||||
return setup
|
return setup
|
||||||
|
|||||||
Reference in New Issue
Block a user