[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/eglot 3dcbc30 109/139: Add minimal headers, commentary
From: |
João Távora |
Subject: |
[elpa] externals/eglot 3dcbc30 109/139: Add minimal headers, commentary and autoloads |
Date: |
Mon, 14 May 2018 09:55:03 -0400 (EDT) |
branch: externals/eglot
commit 3dcbc30ee2e56e1fdfb8de653de124f096f55f97
Author: João Távora <address@hidden>
Commit: João Távora <address@hidden>
Add minimal headers, commentary and autoloads
---
eglot.el | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/eglot.el b/eglot.el
index 4739cea..eba0e84 100644
--- a/eglot.el
+++ b/eglot.el
@@ -2,8 +2,11 @@
;; Copyright (C) 2017 João Távora
+;; Version: 0.1
;; Author: João Távora
-;; Keywords: extensions
+;; Url: https://github.com/joaotavora/eglot
+;; Keywords: convenience, languages
+;; Package-Requires: ((emacs "26.1"))
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
@@ -20,7 +23,8 @@
;;; Commentary:
-;;
+;; M-x eglot in some file under some .git controlled dir should get
+;; you started, but see README.md.
;;; Code:
@@ -285,6 +289,7 @@ Enter program to execute (or <host>:<port>): "
guessed-command))
t)))
+;;;###autoload
(defun eglot (managed-major-mode command &optional interactive)
"Start a Language Server Protocol server.
Server is started with COMMAND and manages buffers of
@@ -1465,8 +1470,10 @@ Proceed? "
(pcase-let ((`(,_id ,what ,done ,_detail) (eglot--spinner proc)))
(and (equal "Indexing" what) done))))
+;;;###autoload
(add-hook 'rust-mode-hook 'eglot--setup-rls-idiosyncrasies)
+;;;###autoload
(defun eglot--setup-rls-idiosyncrasies ()
"RLS needs special treatment..."
(add-hook 'eglot--ready-predicates 'eglot--rls-probably-ready-for-p t t))
- [elpa] externals/eglot 1add335 078/139: Workaround two suspected Emacs bugs, (continued)
- [elpa] externals/eglot 1add335 078/139: Workaround two suspected Emacs bugs, João Távora, 2018/05/14
- [elpa] externals/eglot 889ef20 085/139: Tweak the async request engine., João Távora, 2018/05/14
- [elpa] externals/eglot 193c57d 075/139: Half-decent xref support, João Távora, 2018/05/14
- [elpa] externals/eglot fc6879f 084/139: Explain why didOpen on after-revert-hook is a bad idea, João Távora, 2018/05/14
- [elpa] externals/eglot 24466a9 096/139: When killing server, always wait 3 seconds, João Távora, 2018/05/14
- [elpa] externals/eglot fceb6bb 090/139: Get rid of eglot--special-buffer-process, João Távora, 2018/05/14
- [elpa] externals/eglot d254f97 082/139: Solve another textDocument/didChange bug, João Távora, 2018/05/14
- [elpa] externals/eglot f257d63 089/139: * eglot.el: Reformat to shave off some lines., João Távora, 2018/05/14
- [elpa] externals/eglot c7bd095 118/139: Improve eglot-eldoc-function, João Távora, 2018/05/14
- [elpa] externals/eglot 3e0f1c3 122/139: Misc little adjustments for readability, João Távora, 2018/05/14
- [elpa] externals/eglot 3dcbc30 109/139: Add minimal headers, commentary and autoloads,
João Távora <=
- [elpa] externals/eglot 71e47d2 102/139: Fix odd bugs and tweak stuff, João Távora, 2018/05/14
- [elpa] externals/eglot 05c67ee 112/139: Adjust flymake integration, João Távora, 2018/05/14
- [elpa] externals/eglot 9ff97a6 079/139: Increase request timeout length to 10 seconds, João Távora, 2018/05/14
- [elpa] externals/eglot 571b08f 076/139: Fix the odd bug here and there, João Távora, 2018/05/14
- [elpa] externals/eglot a7ddce6 080/139: Support javascript's javascript-typescript-langserver, João Távora, 2018/05/14
- [elpa] externals/eglot d40f9ac 094/139: Half-decent imenu support via textDocument/documentSymbol, João Távora, 2018/05/14
- [elpa] externals/eglot bbc64b4 087/139: Clean up client capabilities, João Távora, 2018/05/14
- [elpa] externals/eglot 9882bf2 072/139: Cleanup mistake with TextDocumentItem and TextDocumentIdentifier, João Távora, 2018/05/14
- [elpa] externals/eglot 8160cd4 071/139: Handle dynamic registration in general (but nothing specific yet), João Távora, 2018/05/14
- [elpa] externals/eglot c4ffabc 083/139: Half-decent completion support, João Távora, 2018/05/14