summaryrefslogtreecommitdiff
path: root/.config/nvim/after
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-11-07 13:42:08 +0100
committerThomas Voss <mail@thomasvoss.com> 2023-11-07 13:42:36 +0100
commit826626e933a3e4b76fa70f34245baa79b650a29c (patch)
tree36687570ecf989a1376328e463a27cd5db63dcde /.config/nvim/after
parent5284e64bae672d475a06f7255b589fc2c5f89894 (diff)
nvim: Add nvim-surround configuration
Diffstat (limited to '.config/nvim/after')
-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 = { '“ ', ' ”' },
+ },
+ }
+}