aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/syntax.c
diff options
context:
space:
mode:
authorZviRackover <zvirack@gmail.com>2018-08-15 22:02:33 +0300
committerZviRackover <zvirack@gmail.com>2018-08-15 22:02:33 +0300
commit2bddc4ca54e31a14b7e9799beda134217ae867e7 (patch)
tree9c91c11bc3f937f4dfec918e0693c47827a0ff61 /src/nvim/syntax.c
parentb5cfac089409faf17a290d4bfe1b669212e2984e (diff)
downloadrneovim-2bddc4ca54e31a14b7e9799beda134217ae867e7.tar.gz
rneovim-2bddc4ca54e31a14b7e9799beda134217ae867e7.tar.bz2
rneovim-2bddc4ca54e31a14b7e9799beda134217ae867e7.zip
Remove occurences of mb_head_off
Diffstat (limited to 'src/nvim/syntax.c')
-rw-r--r--src/nvim/syntax.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/syntax.c b/src/nvim/syntax.c
index 3cb998b805..64d80d722a 100644
--- a/src/nvim/syntax.c
+++ b/src/nvim/syntax.c
@@ -1730,7 +1730,7 @@ static int syn_current_attr(
&& (current_col == 0
|| !vim_iswordp_buf(line + current_col - 1
- (has_mbyte
- ? (*mb_head_off)(line, line + current_col - 1)
+ ? utf_head_off(line, line + current_col - 1)
: 0)
, syn_buf))) {
syn_id = check_keyword_id(line, (int)current_col,