eglot-autoloads.el (2969B)
1 ;;; eglot-autoloads.el --- automatically extracted autoloads (do not edit) -*- lexical-binding: t -*- 2 ;; Generated by the `loaddefs-generate' function. 3 4 ;; This file is part of GNU Emacs. 5 6 ;;; Code: 7 8 (add-to-list 'load-path (or (and load-file-name (file-name-directory load-file-name)) (car load-path))) 9 10 11 12 ;;; Generated autoloads from eglot.el 13 14 (autoload 'eglot "eglot" "\ 15 Start LSP server for PROJECT's buffers under MANAGED-MAJOR-MODES. 16 17 This starts a Language Server Protocol (LSP) server suitable for 18 the buffers of PROJECT whose `major-mode' is among 19 MANAGED-MAJOR-MODES. CLASS is the class of the LSP server to 20 start and CONTACT specifies how to connect to the server. 21 22 Interactively, the command attempts to guess MANAGED-MAJOR-MODES, 23 CLASS, CONTACT, and LANGUAGE-IDS from `eglot-server-programs', 24 according to the current buffer's `major-mode'. PROJECT is 25 guessed from `project-find-functions'. The search for active 26 projects in this context binds `eglot-lsp-context' (which see). 27 28 If it can't guess, it prompts the user for the mode and the 29 server. With a single \\[universal-argument] prefix arg, it 30 always prompts for COMMAND. With two \\[universal-argument], it 31 also always prompts for MANAGED-MAJOR-MODE. 32 33 The LSP server of CLASS is started (or contacted) via CONTACT. 34 If this operation is successful, current *and future* file 35 buffers of MANAGED-MAJOR-MODE inside PROJECT become \"managed\" 36 by the LSP server, meaning the information about their contents is 37 exchanged periodically with the server to provide enhanced 38 code-analysis via `xref-find-definitions', `flymake-mode', 39 `eldoc-mode', and `completion-at-point', among others. 40 41 PROJECT is a project object as returned by `project-current'. 42 43 CLASS is a subclass of `eglot-lsp-server'. 44 45 CONTACT specifies how to contact the server. It is a 46 keyword-value plist used to initialize CLASS or a plain list as 47 described in `eglot-server-programs', which see. 48 49 LANGUAGE-IDS is a list of language ID string to send to the 50 server for each element in MANAGED-MAJOR-MODES. 51 52 INTERACTIVE is ignored and provided for backward compatibility. 53 54 (fn MANAGED-MAJOR-MODES PROJECT CLASS CONTACT LANGUAGE-IDS &optional INTERACTIVE)" t) 55 (autoload 'eglot-ensure "eglot" "\ 56 Start Eglot session for current buffer if there isn't one.") 57 (autoload 'eglot-update "eglot" "\ 58 Update Eglot. 59 60 (fn &rest _)" t) 61 (put 'eglot-workspace-configuration 'safe-local-variable 'listp) 62 (put 'eglot--debbugs-or-github-bug-uri 'bug-reference-url-format t) 63 (defun eglot--debbugs-or-github-bug-uri nil (format (if (string= (match-string 2) "github") "https://github.com/joaotavora/eglot/issues/%s" "https://debbugs.gnu.org/%s") (match-string 3))) 64 (register-definition-prefixes "eglot" '("eglot-")) 65 66 ;;; End of scraped data 67 68 (provide 'eglot-autoloads) 69 70 ;; Local Variables: 71 ;; version-control: never 72 ;; no-byte-compile: t 73 ;; no-update-autoloads: t 74 ;; no-native-compile: t 75 ;; coding: utf-8-emacs-unix 76 ;; End: 77 78 ;;; eglot-autoloads.el ends here