aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSantos Gallegos <santos_g@outlook.com>2019-06-09 12:59:44 -0500
committerJustin M. Keyes <justinkz@gmail.com>2019-06-09 19:59:44 +0200
commit6c96c3b3f523bc6f65747d8ea45dc955d7fcef5a (patch)
tree8fd177aedc350b3005df289d69353de93816c823 /src
parentb397a3f397c36e0f3b9c9deba9bb051835df8f77 (diff)
downloadrneovim-6c96c3b3f523bc6f65747d8ea45dc955d7fcef5a.tar.gz
rneovim-6c96c3b3f523bc6f65747d8ea45dc955d7fcef5a.tar.bz2
rneovim-6c96c3b3f523bc6f65747d8ea45dc955d7fcef5a.zip
search_stat: show "??/?" dual in right-to-left case #10170
Co-Authored-By: James McCoy <jamessan@jamessan.com>
Diffstat (limited to 'src')
-rw-r--r--src/nvim/search.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/search.c b/src/nvim/search.c
index 4d02a07cbd..3834bf9700 100644
--- a/src/nvim/search.c
+++ b/src/nvim/search.c
@@ -4289,7 +4289,7 @@ static void search_stat(int dirc, pos_T *pos,
if (curwin->w_p_rl && *curwin->w_p_rlc == 's') {
if (cur == OUT_OF_TIME) {
- vim_snprintf(t, SEARCH_STAT_BUF_LEN, "[?/??]");
+ vim_snprintf(t, SEARCH_STAT_BUF_LEN, "[?\?/?]");
} else if (cnt > 99 && cur > 99) {
vim_snprintf(t, SEARCH_STAT_BUF_LEN, "[>99/>99]");
} else if (cnt > 99) {