summaryrefslogtreecommitdiffstats
path: root/src/vim.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-08-15 15:55:10 +0100
committerBram Moolenaar <Bram@vim.org>2022-08-15 15:55:10 +0100
commitd8d4cfcb393123fa19640be0806091d47935407f (patch)
tree2cf43a5cc1e08d69c07707565319ffae954d1ea0 /src/vim.h
parent249e1b903a9c0460d618f6dcc59aeb8c03b24b20 (diff)
patch 9.0.0214: splitting a line may duplicate virtual textv9.0.0214
Problem: Splitting a line may duplicate virtual text. (Ben Jackson) Solution: Don't duplicate a text property with virtual text. Make auto-indenting work better. (closes #10919)
Diffstat (limited to 'src/vim.h')
-rw-r--r--src/vim.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vim.h b/src/vim.h
index 6db48185c9..9445fa2da9 100644
--- a/src/vim.h
+++ b/src/vim.h
@@ -2778,6 +2778,7 @@ long elapsed(DWORD start_tick);
// Flags for adjust_prop_columns()
#define APC_SAVE_FOR_UNDO 1 // call u_savesub() before making changes
#define APC_SUBSTITUTE 2 // text is replaced, not inserted
+#define APC_INDENT 4 // changing indent
#define CLIP_ZINDEX 32000