dotfiles/nvim/lua/autopairs_config.lua

9 lines
197 B
Lua
Raw Normal View History

local hasnpairs, npairs = pcall(require, "nvim-autopairs")
if hasnpairs then
npairs.setup {
check_ts = true,
}
npairs.add_rules(require "nvim-autopairs.rules.endwise-lua")
end