]> git.eshelyaron.com Git - emacs.git/commit
Treat tab characters as 1 column wide in position conversion functions
authorMichal Krzywkowski <k.michal@zoho.com>
Mon, 19 Nov 2018 20:22:14 +0000 (21:22 +0100)
committerMichal Krzywkowski <k.michal@zoho.com>
Mon, 19 Nov 2018 20:26:39 +0000 (21:26 +0100)
commit2cf7905887f2137869f44c3383a55636e38b4b81
tree743bd8b447ce7e4dd09ff01334cedb5aa6b8e5da
parent46d2bef4b397257ea232af483c45f49d7eab900c
Treat tab characters as 1 column wide in position conversion functions

Fixes https://github.com/joaotavora/eglot/issues/158.

* eglot.el (eglot--pos-to-lsp-position): Call
  eglot-current-column-function with tab-width bound to 1.
(eglot--lsp-position-to-point): Call eglot-move-to-column-function
with tab-width bound to 1.
lisp/progmodes/eglot.el