summaryrefslogtreecommitdiff
path: root/.config/nvim
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim')
-rw-r--r--.config/nvim/after/plugin/surround.lua19
1 files changed, 19 insertions, 0 deletions
diff --git a/.config/nvim/after/plugin/surround.lua b/.config/nvim/after/plugin/surround.lua
new file mode 100644
index 0000000..859f984
--- /dev/null
+++ b/.config/nvim/after/plugin/surround.lua
@@ -0,0 +1,19 @@
+require('nvim-surround').setup {
+ surrounds = {
+ ['’'] = {
+ add = { '‘', '’' },
+ },
+
+ ['‘'] = {
+ add = { '‘ ', ' ’' },
+ },
+
+ ['”'] = {
+ add = { '“', '”' },
+ },
+
+ ['“'] = {
+ add = { '“ ', ' ”' },
+ },
+ }
+}