summaryrefslogtreecommitdiff
path: root/src/structs.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2015-09-15 17:30:40 +0200
committerBram Moolenaar <Bram@vim.org>2015-09-15 17:30:40 +0200
commit54f018cd5994c3ffcd0740526e56db6934edf1f2 (patch)
tree410100f74f7b73680d5ba3009cb79bb310043c8a /src/structs.h
parent9534680731ea342c2fed01a812559958923480da (diff)
downloadvim-git-54f018cd5994c3ffcd0740526e56db6934edf1f2.tar.gz
patch 7.4.868v7.4.868
Problem: 'smarttab' is also effective when 'paste' is enabled. (Alexander Monakov) Solution: Disable 'smarttab' when 'paste' is set. (Christian Brabandt) Do the same for 'expandtab'.
Diffstat (limited to 'src/structs.h')
-rw-r--r--src/structs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/structs.h b/src/structs.h
index d14c5bd5a..addc212bf 100644
--- a/src/structs.h
+++ b/src/structs.h
@@ -1589,6 +1589,7 @@ struct file_buffer
int b_p_fixeol; /* 'fixendofline' */
int b_p_et; /* 'expandtab' */
int b_p_et_nobin; /* b_p_et saved for binary mode */
+ int b_p_et_nopaste; /* b_p_et saved for paste mode */
#ifdef FEAT_MBYTE
char_u *b_p_fenc; /* 'fileencoding' */
#endif