eglot-autoloads.el (2631B)
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 in support of PROJECT's buffers under MANAGED-MAJOR-MODE. 16 17 This starts a Language Server Protocol (LSP) server suitable for the 18 buffers of PROJECT whose `major-mode' is MANAGED-MAJOR-MODE. 19 CLASS is the class of the LSP server to start and CONTACT specifies 20 how to connect to the server. 21 22 Interactively, the command attempts to guess MANAGED-MAJOR-MODE 23 from the current buffer's `major-mode', CLASS and CONTACT from 24 `eglot-server-programs' looked up by the major mode, and PROJECT from 25 `project-find-functions'. The search for active projects in this 26 context binds `eglot-lsp-context' (which see). 27 28 If it can't guess, it prompts the user for the mode and the server. 29 With a single \\[universal-argument] prefix arg, it always prompts for COMMAND. 30 With two \\[universal-argument], it also always prompts for MANAGED-MAJOR-MODE. 31 32 The LSP server of CLASS is started (or contacted) via CONTACT. 33 If this operation is successful, current *and future* file 34 buffers of MANAGED-MAJOR-MODE inside PROJECT become \"managed\" 35 by the LSP server, meaning the information about their contents is 36 exchanged periodically with the server to provide enhanced 37 code-analysis via `xref-find-definitions', `flymake-mode', 38 `eldoc-mode', and `completion-at-point', among others. 39 40 PROJECT is a project object as returned by `project-current'. 41 42 CLASS is a subclass of `eglot-lsp-server'. 43 44 CONTACT specifies how to contact the server. It is a 45 keyword-value plist used to initialize CLASS or a plain list as 46 described in `eglot-server-programs', which see. 47 48 LANGUAGE-ID is the language ID string to send to the server for 49 MANAGED-MAJOR-MODE, which matters to a minority of servers. 50 51 INTERACTIVE is t if called interactively. 52 53 (fn MANAGED-MAJOR-MODE PROJECT CLASS CONTACT LANGUAGE-ID &optional INTERACTIVE)" t) 54 (autoload 'eglot-ensure "eglot" "\ 55 Start Eglot session for current buffer if there isn't one.") 56 (put 'eglot-workspace-configuration 'safe-local-variable 'listp) 57 (register-definition-prefixes "eglot" '("eglot-")) 58 59 ;;; End of scraped data 60 61 (provide 'eglot-autoloads) 62 63 ;; Local Variables: 64 ;; version-control: never 65 ;; no-byte-compile: t 66 ;; no-update-autoloads: t 67 ;; no-native-compile: t 68 ;; coding: utf-8-emacs-unix 69 ;; End: 70 71 ;;; eglot-autoloads.el ends here