Variable: eglot-move-to-column-function
eglot-move-to-column-function is an alias for
eglot-move-to-linepos-function, defined in eglot.el.gz.
This variable is obsolete since 1.12; use
eglot-move-to-linepos-function instead.
Value
eglot-move-to-utf-16-linepos
Documentation
Function to move to a position within a line reported by the LSP server.
Per the LSP spec, character offsets in LSP Position objects count
UTF-16 code units, not actual code points. So when LSP says
position 3 of a line containing just "aXbc", where X is a funny
looking character in the UTF-16 "supplementary plane", it
actually means b, not c. The default value
eglot-move-to-utf-16-linepos accounts for this.
This variable can also be set to eglot-move-to-utf-8-linepos or
eglot-move-to-utf-32-linepos for servers not closely following
the spec. Also, since LSP 3.17 server and client may agree on an
encoding and Eglot will set this variable automatically.
Aliases
eglot-move-to-column-function (obsolete since 1.12)