mirror of
https://github.com/neovim/neovim.git
synced 2026-01-23 21:30:36 +00:00
API: Implement vim_strwidth
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user