diff options
Diffstat (limited to '.config/nvim/lua/plugin/autopairs.lua')
| -rw-r--r-- | .config/nvim/lua/plugin/autopairs.lua | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/.config/nvim/lua/plugin/autopairs.lua b/.config/nvim/lua/plugin/autopairs.lua new file mode 100644 index 0000000..c30a37d --- /dev/null +++ b/.config/nvim/lua/plugin/autopairs.lua @@ -0,0 +1,13 @@ + +require("nvim-autopairs").setup { + fast_wrap = { + map = "<M-e>", + chars = { "{", "[", "(", "\"", "'" }, + pattern = [=[[%"%"%>%]%)%}%,]]=], + end_key = "$", + keys = "qwertyuiopzxcvbnmasdfghjkl", + check_comma = true, + highlight = "Search", + highlight_grey="Comment" + } +} |
