aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ops.h
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-05-31 22:01:09 -0400
committerGitHub <noreply@github.com>2021-05-31 22:01:09 -0400
commit27c616d688c73c406726c949a3b664f52d4e4f04 (patch)
tree9c668b6cc67d0592b6744f2a8b227c80c2b1cded /src/nvim/ops.h
parente8f0ff1d48f5e85c0e16f0a248ff1781d4d080b3 (diff)
parentc3ac9c13dffaa79827602536519bc64d65689d05 (diff)
downloadrneovim-27c616d688c73c406726c949a3b664f52d4e4f04.tar.gz
rneovim-27c616d688c73c406726c949a3b664f52d4e4f04.tar.bz2
rneovim-27c616d688c73c406726c949a3b664f52d4e4f04.zip
Merge pull request #14685 from janlazo/vim-8.2.2911
vim-patch:8.1.2400,8.2.{2911,2914.2916}
Diffstat (limited to 'src/nvim/ops.h')
-rw-r--r--src/nvim/ops.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/nvim/ops.h b/src/nvim/ops.h
index 77d6b4435f..112ffbeaba 100644
--- a/src/nvim/ops.h
+++ b/src/nvim/ops.h
@@ -14,13 +14,14 @@
typedef int (*Indenter)(void);
-/* flags for do_put() */
-#define PUT_FIXINDENT 1 /* make indent look nice */
-#define PUT_CURSEND 2 /* leave cursor after end of new text */
-#define PUT_CURSLINE 4 /* leave cursor on last line of new text */
-#define PUT_LINE 8 /* put register as lines */
-#define PUT_LINE_SPLIT 16 /* split line for linewise register */
-#define PUT_LINE_FORWARD 32 /* put linewise register below Visual sel. */
+// flags for do_put()
+#define PUT_FIXINDENT 1 // make indent look nice
+#define PUT_CURSEND 2 // leave cursor after end of new text
+#define PUT_CURSLINE 4 // leave cursor on last line of new text
+#define PUT_LINE 8 // put register as lines
+#define PUT_LINE_SPLIT 16 // split line for linewise register
+#define PUT_LINE_FORWARD 32 // put linewise register below Visual sel.
+#define PUT_BLOCK_INNER 64 // in block mode, do not add trailing spaces
/*
* Registers: