mirror of
https://github.com/neovim/neovim.git
synced 2026-04-22 23:35:32 +00:00
@@ -2675,9 +2675,9 @@ getcharmod() *getcharmod()*
|
||||
|
||||
*getcharpos()*
|
||||
getcharpos({expr})
|
||||
Get the position for {expr}. Same as |getpos()| but the column
|
||||
number in the returned List is a character index instead of
|
||||
a byte index.
|
||||
Get the position for String {expr}. Same as |getpos()| but the
|
||||
column number in the returned List is a character index
|
||||
instead of a byte index.
|
||||
|
||||
Example:
|
||||
With the cursor on '세' in line 5 with text "여보세요": >
|
||||
|
||||
Reference in New Issue
Block a user