mirror of
https://github.com/neovim/neovim.git
synced 2025-09-16 16:28:17 +00:00
Turn ARABIC_CHAR into a function
This commit is contained in:

committed by
Thiago de Arruda

parent
7bd4d68d93
commit
fd6fd35eef
@@ -12,6 +12,7 @@
|
||||
*/
|
||||
|
||||
#include "vim.h"
|
||||
#include "arabic.h"
|
||||
#include "ex_getln.h"
|
||||
#include "buffer.h"
|
||||
#include "charset.h"
|
||||
@@ -2100,7 +2101,7 @@ static void draw_cmdline(int start, int len)
|
||||
p = ccline.cmdbuff + j;
|
||||
u8c = utfc_ptr2char_len(p, u8cc, start + len - j);
|
||||
mb_l = utfc_ptr2len_len(p, start + len - j);
|
||||
if (ARABIC_CHAR(u8c)) {
|
||||
if (arabic_char(u8c)) {
|
||||
/* Do Arabic shaping. */
|
||||
if (cmdmsg_rl) {
|
||||
/* displaying from right to left */
|
||||
|
Reference in New Issue
Block a user