]> git.eshelyaron.com Git - emacs.git/commitdiff
* eglot.el (eglot-completion-at-point): fix broken indentation
authorJoão Távora <joaotavora@gmail.com>
Sun, 8 Jul 2018 23:33:50 +0000 (00:33 +0100)
committerJoão Távora <joaotavora@gmail.com>
Sun, 8 Jul 2018 23:33:50 +0000 (00:33 +0100)
lisp/progmodes/eglot.el

index 396590f6fd0199b574beaa16f7d7599cc831108a..26c52d31f30f41cb303e42710aa48aa45a1be989 100644 (file)
@@ -1216,10 +1216,10 @@ DUMMY is ignored."
                  (items (if (vectorp resp) resp (plist-get resp :items))))
             (mapcar
              (jsonrpc-lambda (&rest all &key label insertText &allow-other-keys)
-                             (let ((insert (or insertText label)))
-                               (add-text-properties 0 1 all insert)
-                               (put-text-property 0 1 'eglot--lsp-completion all insert)
-                               insert))
+               (let ((insert (or insertText label)))
+                 (add-text-properties 0 1 all insert)
+                 (put-text-property 0 1 'eglot--lsp-completion all insert)
+                 insert))
              items))))
        :annotation-function
        (lambda (obj)