aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/option.c
diff options
context:
space:
mode:
authorZyX <kp-pav@yandex.ru>2017-07-02 19:37:21 +0300
committerZyX <kp-pav@yandex.ru>2017-07-02 19:37:21 +0300
commit24f0056ca5cb392f1e1bf38d648a6037acf1f1ef (patch)
treee536bbe8ca471672a7fc82fc383c99495007b8df /src/nvim/option.c
parenta1fee487ba5199ff672a87c5830732c224fa59eb (diff)
downloadrneovim-24f0056ca5cb392f1e1bf38d648a6037acf1f1ef.tar.gz
rneovim-24f0056ca5cb392f1e1bf38d648a6037acf1f1ef.tar.bz2
rneovim-24f0056ca5cb392f1e1bf38d648a6037acf1f1ef.zip
message: Add support for replacing `<` to str2special
Diffstat (limited to 'src/nvim/option.c')
-rw-r--r--src/nvim/option.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/option.c b/src/nvim/option.c
index bc101ba703..7287db6eb8 100644
--- a/src/nvim/option.c
+++ b/src/nvim/option.c
@@ -5176,7 +5176,8 @@ static int put_setstring(FILE *fd, char *cmd, char *name, char_u **valuep, int e
if (valuep == &p_pt) {
s = *valuep;
while (*s != NUL) {
- if (put_escstr(fd, (char_u *)str2special((const char **)&s, false), 2)
+ if (put_escstr(fd, (char_u *)str2special((const char **)&s, false,
+ false), 2)
== FAIL) {
return FAIL;
}