diff options
| author | Xander Swan <email> | 2025-12-03 10:00:41 -0500 |
|---|---|---|
| committer | Xander Swan <email> | 2025-12-03 10:00:41 -0500 |
| commit | ae7523c0c3cf8a04d35a7a448554e7b8d3a074f8 (patch) | |
| tree | e8fc0c29ed648b130501774fe045521b4786a97d /.config/nvim/lua/plugin/autopairs.lua | |
| parent | ab57a70296890a7cbc4bb8b47e309e4857c6cd29 (diff) | |
Goodest nvim conf
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" + } +} |
