mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
API: Implement vim_strwidth
This commit is contained in:
parent
ba11128077
commit
b812e84bb5
@ -83,7 +83,7 @@ Object vim_eval(String str, Error *err)
|
||||
|
||||
int64_t vim_strwidth(String str)
|
||||
{
|
||||
abort();
|
||||
return mb_string2cells((char_u *)str.data, str.size);
|
||||
}
|
||||
|
||||
StringArray vim_list_runtime_paths(void)
|
||||
|
Loading…
Reference in New Issue
Block a user