]> git.eshelyaron.com Git - emacs.git/commit
Implement textdocument/rangeformatting
authorMichal Krzywkowski <k.michal@zoho.com>
Tue, 10 Jul 2018 13:10:25 +0000 (15:10 +0200)
committerJoão Távora <joaotavora@gmail.com>
Sat, 28 Jul 2018 18:26:03 +0000 (19:26 +0100)
commit5fc7c9a9ef51349375a73e6640a16a75f3ffbf60
tree2385d2d6c41866fbb3a8b97c67d5bd036a85bad7
parente6a801ccf6f745d149306d2afaaa4b3d313415e9
Implement textdocument/rangeformatting

* eglot.el (eglot-format): New command.
(eglot-format-buffer): Use it as implementation.
(eglot-client-capabilities): Add :rangeFormatting.
* eglot-tests.el (formatting): Also test range formatting.
* README.md (Commands and keybindings): Mention eglot-format.
(Language features): Tick textDocument/rangeFormatting.
lisp/progmodes/eglot.el