]> git.eshelyaron.com Git - emacs.git/commit
Add ability to report lsp-compliant columns
authorJoão Távora <joaotavora@gmail.com>
Tue, 13 Nov 2018 22:08:16 +0000 (22:08 +0000)
committerJoão Távora <joaotavora@gmail.com>
Tue, 13 Nov 2018 22:08:16 +0000 (22:08 +0000)
commit8df3bdd653010aebd7083669d5c2a946c73a4d4a
tree39fa9840db86e0dd94944b430fb5eb3bcfd00960
parent5c97238692a5dcecbefeeaf21b8a4344caca3275
Add ability to report lsp-compliant columns

* eglot.el (eglot-current-column-function): New variable.
(eglot-lsp-abiding-column): New helper.
(eglot--pos-to-lsp-position): Use eglot-current-column-function.
(eglot-move-to-column-function): Tweak docstring.

GitHub-reference: fix https://github.com/joaotavora/eglot/issues/125
lisp/progmodes/eglot.el