eglot-autoloads.el (2496B)
1 ;;; eglot-autoloads.el --- automatically extracted autoloads 2 ;; 3 ;;; Code: 4 5 (add-to-list 'load-path (directory-file-name 6 (or (file-name-directory #$) (car load-path)))) 7 8 9 ;;;### (autoloads nil "eglot" "eglot.el" (0 0 0 0)) 10 ;;; Generated autoloads from eglot.el 11 12 (autoload 'eglot "eglot" "\ 13 Manage a project with a Language Server Protocol (LSP) server. 14 15 The LSP server of CLASS is started (or contacted) via CONTACT. 16 If this operation is successful, current *and future* file 17 buffers of MANAGED-MAJOR-MODE inside PROJECT become \"managed\" 18 by the LSP server, meaning information about their contents is 19 exchanged periodically to provide enhanced code-analysis via 20 `xref-find-definitions', `flymake-mode', `eldoc-mode', 21 `completion-at-point', among others. 22 23 Interactively, the command attempts to guess MANAGED-MAJOR-MODE 24 from current buffer, CLASS and CONTACT from 25 `eglot-server-programs' and PROJECT from 26 `project-find-functions'. The search for active projects in this 27 context binds `eglot-lsp-context' (which see). 28 29 If it can't guess, the user is prompted. With a single 30 \\[universal-argument] prefix arg, it always prompt for COMMAND. 31 With two \\[universal-argument] prefix args, also prompts for 32 MANAGED-MAJOR-MODE. 33 34 PROJECT is a project object as returned by `project-current'. 35 36 CLASS is a subclass of `eglot-lsp-server'. 37 38 CONTACT specifies how to contact the server. It is a 39 keyword-value plist used to initialize CLASS or a plain list as 40 described in `eglot-server-programs', which see. 41 42 LANGUAGE-ID is the language ID string to send to the server for 43 MANAGED-MAJOR-MODE, which matters to a minority of servers. 44 45 INTERACTIVE is t if called interactively. 46 47 \(fn MANAGED-MAJOR-MODE PROJECT CLASS CONTACT LANGUAGE-ID &optional INTERACTIVE)" t nil) 48 49 (autoload 'eglot-ensure "eglot" "\ 50 Start Eglot session for current buffer if there isn't one." nil nil) 51 52 (put 'eglot-workspace-configuration 'safe-local-variable 'listp) 53 54 (if (fboundp 'register-definition-prefixes) (register-definition-prefixes "eglot" '("eglot-"))) 55 56 ;;;*** 57 58 ;;;### (autoloads nil "eglot-tests" "eglot-tests.el" (0 0 0 0)) 59 ;;; Generated autoloads from eglot-tests.el 60 61 (if (fboundp 'register-definition-prefixes) (register-definition-prefixes "eglot-tests" '("eglot-"))) 62 63 ;;;*** 64 65 ;;;### (autoloads nil nil ("eglot-pkg.el") (0 0 0 0)) 66 67 ;;;*** 68 69 ;; Local Variables: 70 ;; version-control: never 71 ;; no-byte-compile: t 72 ;; no-update-autoloads: t 73 ;; coding: utf-8 74 ;; End: 75 ;;; eglot-autoloads.el ends here