diff -Nru lsp-mode-6.2.1/Cask lsp-mode-7.0.1/Cask --- lsp-mode-6.2.1/Cask 2019-12-05 17:08:43.000000000 +0000 +++ lsp-mode-7.0.1/Cask 2020-08-07 02:04:35.000000000 +0000 @@ -1,10 +1,11 @@ (source gnu) (source melpa) (package-file "lsp-mode.el") -(files "*.el") +(files "lsp-protocol.el" "lsp-mode.el" "*.el") (development (depends-on "ert-runner") (depends-on "espuds") (depends-on "ecukes") - (depends-on "undercover")) + (depends-on "undercover") + (depends-on "deferred")) diff -Nru lsp-mode-6.2.1/CHANGELOG.org lsp-mode-7.0.1/CHANGELOG.org --- lsp-mode-6.2.1/CHANGELOG.org 1970-01-01 00:00:00.000000000 +0000 +++ lsp-mode-7.0.1/CHANGELOG.org 2020-08-07 02:04:35.000000000 +0000 @@ -0,0 +1,199 @@ +* Changelog +** Release 7.0.1 + * Introduced ~lsp-diagnostics-mode~. + * Safe renamed ~lsp-flycheck-default-level~ -> ~lsp-diagnostics-flycheck-default-level~ + * Safe renamed ~lsp-diagnostic-package~ -> ~lsp-diagnostics-provider~ + * Dropped support for ~company-lsp~, the suggested provider is ~company-capf~. + * Moved completion features to ~lsp-completion.el~ + * Safe renamed ~lsp-prefer-capf~ -> ~lsp-completion-provider~ + * Safe renamed ~lsp-enable-completion-at-point~ -> ~lsp-completion-enable~ +** Release 7.0 + * Support for new language server - Shttps://github.com/lighttiger2505/sqls (thanks to @v2okimochi) + * Provided automatic installers for elp/css/bash/purescript(thanks to @kiennq) + * Configurable Rust Analyzer inlay face via ~lsp-rust-analyzer-inlay-face~. + * Add ~lsp-headerline-breadcrumb-mode~ which shows a breadcrumb with the document symbols on headerline when enabled. + * Add ~lsp-modeline-code-actions-mode~ which shows code actions on modeline when enabled. + * Support for Theia-based semantic highlighting has been removed in favor of the semanticTokens protocol specified by LSP 3.16. To enable it, set ~lsp-enable-semantic-highlighting~ to ~t~. + * ~lsp-metals~ moved into a separate repo https://github.com/emacs-lsp/lsp-metals + * Breaking change: use alist instead of hast-tables for =lsp-gopls-env= and =lsp-yaml-schemas=. + * Add =lsp-gopls-codelens= defcustom to configure codelenses used for golang. + * Added =lsp-diagnose= to help users verify their performance related settings + * Created new website https://emacs-lsp.github.io/lsp-mode/ (thanks to @ericdallo) + * Implemented special handling of Clangd echo area. + * Added setting to disable additional text edits (=lsp-completion-enable-additional-text-edit=). + * Added setting to disable text detail (=lsplsp-completion-show-detail=). + * Add serenata language server support (thanks to @Sasanidas) + * Various capf improments - better handling of partial results, support for try-completions, improved responsibility, optimized filtering/sorting, etc. + * Remove Elixir JakeBecker support (no longer supported) + * Support semantic tokens protocol (thanks to @sebastiansturm) + * Improved flycheck integration for better performance. + * Implemented client side bindings for the protocol. + * =Fixup= Ignore timeouts from =willSaveWaitUntil= + * Implemented org-mode support (see https://github.com/emacs-lsp/lsp-mode/blob/master/docs/page/lsp-org.md) + * Removed support for Theia semantic highlighting protocol + * Performed several fixes to make sure lsp-mode is working fine with Emacs 28 native compilation. + * Add modeline code actions support (thanks to @ericdallo). Enabled by + default, use =lsp-modeline-code-actions-enable= to disable it. + * Migrated to github actions from travis. + * Add breadcrumb on headerline (thanks to @ericdallo). Disabled by default, + can be enabled via =lsp-headerline-breadcrumb-enable= + * Migrated lsp-mode to use plists(thanks to @yyoncho, @kiennq and @ericdallo). + * lsp-diagnostics-modeline: perf improvement (thanks to @kiennq) +** Release 6.3 + * Implemented ~company-capf~ integration. ~company-lsp~ is no longer supported. + * Dropped support for dart language server in favour of dart SDK(breaking) + * Added verilog support for LSP using hdl-checker + * Implemented call hierarchy support (available in ~lsp-treemacs~) + * Implemented support for ESLint language server. + * ocmalmerlin-lsp moved to ocaml-lsp-server(breaking) + * Added New VHDL language server https://github.com/kraigher/rust_hdl#configuration + * Add Nim language server integration + * Implement automatic downloading facilities and implemented auto-download for ~typescript-language-server~, ~javascript-typescript-stdio~ and ~json-language-server~. + * Implement metals decoration protocol + * Send metals/didFocusTextDocument notification on buffer change + * Add default keybindings and ~which-key~ integration + * Add support for Dhall language server + * Implemented debug adapter protocol support for metals + * Add CMake language server integration + * Add rust-analyzer runnables support + * Implemented rust-analyzer inlay hints + * Support pyenv for pyls + * Add clang-tidy specific Flycheck error explainer for the lsp checker + * Improve lsp-mode completion performance by suppressing non completion related features when completion is active. + * lsp-json: Enable formatter provider + * Accommodate the new :end-column and :end-column from flycheck + * Implement status bar for diagnostics ~lsp-diagnostics-modeline-mode~ + * Auto install of the ~html-language-server~ + * Flycheck support for diagnostic tags (3.15 spec). + * Adding support for GDScript language server + * used view mode for metals doctor buffer + * add texlab as tex LSP server + * Started new set of integration tests without using ecukes + * Support "only" param when requesting code actions + * Add Perl-LanguageServer support + * add support robot-framework language server. + * Implement deferred semantic highlighting + * Change default transport for erlang_ls to stdio + * dart language server moved into separate repo https://github.com/emacs-lsp/lsp-dart + * Activate flow language server if there is flow tag in file or .flowconfig in project + * Add purescript-language-server (#1596) + * Process the $/progress messages from LSP 3.15 + * Display the first line of MarkupContent in eldoc (#1607) + * Perform willSaveWaitUntil synchronously and with shorter timeout + * Display images when rendering markdown(useful for latex language servers). + * Increase ~lsp-idle-delay~ to 0.5 + * Support bash language server glob pattern option (#1594) + * Use pagebreaks for ~lsp-describe-thing-at-point~ + * lsp-mode: Eliminate quadratic-time index-building for imenu. (#1616) +** Release 6.2 + * Support dynamic rename registration + * Add basic support for style semantic highlighting + * Added Haxe language server integration + * Add C#-support via Roslyn. + * Add emmy lua support + * Enable plugins in typescript language server. + * 1079 Provide support for Ada Language server + * Implement right click support in =lsp-mode= buffers. + * Added built-in support for =Rust Analyzer=. + * Added support for HDL Checker server to lsp-vhdl + * Added support for Terraform language server. + * Added support for R language server (#1182) + * Added support for passing environment variables to language servers (#1184) + * Speedup lsp-mode's JSONRPC processing (~2 times) + * Add cancel-token to lsp-request-async + * Implement unified way to handle recurring lsp features + * Added support for powershell language server. + * Implemented inlay hints for =Rust Analyzer= (thanks to =brotzeit=). + * Implemented automatic installation for C# language server. + * Reimplemented =textDocument/signatureHelp= - now the signature is displayed in =lv= buffer. + * Cancel sync requests when presssing =C-g= during the request. + * Use =c-basic-offset= when in =cc-mode=. + * Add support for Crystal via scry (#1218). + * Implement =textDocument/documentColor= support. +** Release 6.1 +*** Support for new languages/language servers: + * [[https://github.com/fwcd/KotlinLanguageServer][Kotlin Language Server]] (Thanks to Jon Carr) + * [[https://github.com/golang/go/wiki/gopls][gopls]] Language Server for Go + * [[https://github.com/angelozerr/lsp4xml][XML Language Server (lsp4xml)]] + * Hack (using [[https://docs.hhvm.com/hhvm/][HHVM]]) + * [[http://intelephense.net/][Intelephense]] for PHP + * [[https://github.com/snoe/clojure-lsp][clojure-lsp]] for Clojure/ClojureScipt (Thanks to Dario Benedek Fazekas) + * [[https://github.com/elm-tooling/elm-language-server][elmLS]] for Elm (Thanks to Daniel-V) + * [[https://github.com/fsharp/FsAutoComplete][FsAutoComplete]] for F# (Thanks to Reed Mullanix) + * Added =Erlang= support via [[https://github.com/erlang-ls/erlang_ls][erlang_ls]] + * Added =Dockerfile= support via [[https://github.com/rcjsuen/dockerfile-language-server-nodejs][dockerfile-language-server-nodejs]] +*** New logging options + - =lsp-mode= now logs to buffer =*lsp-log*=, instead of =*Messages*=. This + can be controlled with the variable =lsp-log-max= (Thanks to Thomas Fini Hansen). + - If =lsp-print-performance= is non-nil, =lsp-mode= will log a corresponding + performance trace to =*lsp-log*= for every message to and from the server. + - The variable =lsp-print-io=, when non-nil will cause =lsp-mode= to log + all messages to and from the server to a unique =*lsp-io*= buffer for every + project root. These logs can be saved to a file and viewed using the + [[https://microsoft.github.io/language-server-protocol/inspector/][LSP Inspector]]. + +*** LSP Methods + - Add support for [[https://microsoft.github.io/language-server-protocol/specification#textDocument_prepareRename][textDocument/prepareRename]]. If supported by the language + server, all renaming operations will be tested for validity. + - Add support for [[https://microsoft.github.io/language-server-protocol/specification#workspace_didChangeWatchedFiles][file watches]]. + - Add support for [[https://microsoft.github.io/language-server-protocol/specification#textDocument_codeAction][CodeAction literals]]. + - Add API level support for [[https://microsoft.github.io/language-server-protocol/specification#textDocument_foldingRange][folding ranges]]. Folding support for [[https://github.com/gregsexton/origami.el][origami.el]] + support is implemented by package [[https://github.com/emacs-lsp/lsp-origami][lsp-origami]]. + - Support [[https://microsoft.github.io/language-server-protocol/specification#textDocument_documentLink][document links]]. This can be controlled using the variable + =lsp-enable-links=. + - Support resource operations (edits sent from the language server can now + create/modify/remove files and directories). + - Add support for [[https://microsoft.github.io/language-server-protocol/specification#workspace_configuration][workspace/configuration]]. + - Add new function =lsp-disconnect=. + - Added =lsp-find-definition-mouse= and bound to =C-= + - Added =lsp-extend-selection= as a frontend of new LSP method =textDocument/extendSelection= + +*** Other changes + - Add project logo (thanks to Jon Carr). + - Created an integration test suite for =lsp-mode= (See directory =features=). + - If available, using the native JSON API introduced in Emacs 27.1. + - Tramp implementation now uses TRAMP process instead of TCP sockets (Thanks to + Karsten Patzwaldt). + - LSP autoconfiguration adds =company-lsp= to the list of company backends + instead of overriding it. + - Add =lsp-mode-map=. + - Add menu bar entries for =lsp-mode=. + - Perform _before save_ operations ([[https://microsoft.github.io/language-server-protocol/specification#textDocument_willSaveWaitUntil][textDocument/willSaveWaitUntil]]) asynchronously. + - =imenu= support is now handled asynchronously (Thanks to Dario Gjorgjevski). + - Added option =:none= for =lsp-prefer-flymake=, which disabled both Flymake and + Flycheck support. + - Changed =flymake= to report the errors immediately after they arrive instead + of waiting =flymake= to call =lsp-mode=. + - Add debounce when server does not support incremental updates. + - Add hook =lsp-after-uninitialized-hook=, which stores the list of functions + called after a language server has been uninitialized. + - Add variable =lsp-symbol-highlighting-skip-current=, which lets the user skip + the current symbol when a given symbol is being highlighted. + - Add variable =lsp-enabled-clients=, which lets users set which defined clients + are allowed to be used. + - Support multiple signatures while displaying eldoc text. Add variable + =lsp-signature-render-all=, which when non-nil forces =lsp-mode= to only show + the current active signature. + - Expose configuration settings for various language servers. + - Language servers can now be disabled with the variable =lsp-disabled-clients=. + - Improved applying changes speed. + - Fixed =xref= support for emacs 27+ + - Implemented automatic installation for F# language server. + - Added Emacs 26.x to CI + - Fixed handling of stderr when running over =TRAMP=. + - Implemented support for running the language server in =Docker= container over local files. +** Release 6.0 + - ~lsp-mode~ now have single entry point ~lsp~ for all language and based on the major mode starts the corresponding language servers. + - Added ~flymake~ integration. + - ~lsp~ automatically enables and configures ~company-lsp~, ~lsp-ui~, ~yasnippet~, or ~flymake~ if they are present so no additional configuration is needed except installing the packages. That behavior could be disabled by setting ~lsp-auto-configure~ to ~nil~. + - ~lsp-mode~ ships with several predefined servers located in ~lsp-clients.el~ which does not require additional package. For the more complex Language Servers like ~Eclipse JDT~, ~ccls~, ~cquery~ and ~haskell~ we still require separate package due to relatively high code base. + - ~lsp-mode~ handles automatically server failures by asking the user whether he/she wants to restart the server. + - introduced new command ~lsp-describe-session~ which replaces the existing one ~lsp-capabilities~. The command lists the folders that are part of the workspace and the servers that are associated with the corresponding folder. + - ~lsp-mode~ displays information about the running server and it's status in the modeline. + - ~lsp-define-stdio-client~ and ~lsp-define-tcp-client~ are replaced with ~lsp-register-client~ + - ~lsp~ rely on ~projectile~ or ~project.el~ now only for suggesting project root. Once you open new file in a project and start ~lsp~ it will provide several options(import project, blacklist project, select other directory root). Once you select a root it will be persisted and used for the next sessions. + - support for multiple language servers per single file and workspace. + - changed ~lsp-mode~ settings to more sensible defaults. + - Removed all synchronous calls from the server startup. + - Improved multi-folder support. + - added backends for: Bash, C++, CSS, Dart, Elixir, Fortran, Go, Groovy, HTML, Javascript/Typescript, Javascript/Typescript, Ocaml, PHP, Python, Ruby, Rust, Vue, Flow diff -Nru lsp-mode-6.2.1/CONTRIBUTING.md lsp-mode-7.0.1/CONTRIBUTING.md --- lsp-mode-6.2.1/CONTRIBUTING.md 1970-01-01 00:00:00.000000000 +0000 +++ lsp-mode-7.0.1/CONTRIBUTING.md 2020-08-07 02:04:35.000000000 +0000 @@ -0,0 +1,46 @@ +# Contributing + +`emacs-lsp` is a very active organization so before you start working on +a feature/issue make sure that there is a corresponding issue and drop a +note that you start working on that to avoid collisions. +Feel free to ping the maintainers in [Gitter](https://gitter.im/emacs-lsp/lsp-mode) +chat or in the issue report if you need help/clarification on how things work. + +If you discover issues, have ideas for improvements or new features, +please report them to the [issue tracker][1] of the repository or +submit a pull request. Please, try to follow these guidelines when you +do so. + +## Issue reporting + +* Check that the issue has not already been reported. +* Check that the issue has not already been fixed in the latest code + (a.k.a. `master`). +* Be clear, concise and precise in your description of the problem. +* Open an issue with a descriptive title and a summary in grammatically correct, + complete sentences. +* Mention your Emacs version and operating system. +* Mention the lsp-mode and related packages version info. +* Include any relevant code to the issue summary. + +### Reporting bugs + +When reporting bugs it's a good idea to go through the [Troubleshooting section +of the documentation][7]. Adding information like the backtrace and the *lsp-log* buffer to +the bug report makes it easier to track down bugs. Some steps to reproduce a bug +reliably would also make a huge difference. + +## Pull requests + +* Read [how to properly contribute to open source projects on Github][2]. +* Use the same coding conventions as the rest of the project. +* Make sure that the unit tests are passing locally via `make test` or via the CI. +* Write [good commit messages][3]. +* Update the [changelog][6]. +* Code-style/formatting changes and typo-fixes should go into their own commits and put into the `.git-blame-ignore-revs` file to avoid thrashing the `git blame` data. + +[1]: https://github.com/emacs-lsp/lsp-mode/issues +[2]: http://gun.io/blog/how-to-github-fork-branch-and-pull-request +[3]: http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html +[4]: https://github.com/emacs-lsp/lsp-mode/blob/master/CHANGELOG.md +[5]: https://emacs-lsp.github.io/lsp-mode/page/troubleshooting/ diff -Nru lsp-mode-6.2.1/debian/changelog lsp-mode-7.0.1/debian/changelog --- lsp-mode-6.2.1/debian/changelog 2020-02-05 12:42:12.000000000 +0000 +++ lsp-mode-7.0.1/debian/changelog 2020-10-13 19:21:04.000000000 +0000 @@ -1,3 +1,15 @@ +lsp-mode (7.0.1-2) unstable; urgency=medium + + * Fix autopkgtest + + -- Thomas Koch Tue, 13 Oct 2020 21:21:04 +0200 + +lsp-mode (7.0.1-1) unstable; urgency=medium + + * new upstream release + + -- Thomas Koch Sat, 10 Oct 2020 20:38:01 +0200 + lsp-mode (6.2.1-3) unstable; urgency=medium * update Standards-Version 4.4.1->4.5.0, no changes diff -Nru lsp-mode-6.2.1/debian/control lsp-mode-7.0.1/debian/control --- lsp-mode-6.2.1/debian/control 2020-02-05 12:36:50.000000000 +0000 +++ lsp-mode-7.0.1/debian/control 2020-09-12 17:21:02.000000000 +0000 @@ -7,11 +7,13 @@ debhelper-compat (= 12), dh-elpa, elpa-dash-functional, + elpa-deferred, elpa-f, elpa-ht, elpa-lv, elpa-markdown-mode, elpa-spinner, + elpa-undercover Standards-Version: 4.5.0 Homepage: https://github.com/emacs-lsp/lsp-mode Vcs-Browser: https://salsa.debian.org/emacsen-team/lsp-mode diff -Nru lsp-mode-6.2.1/debian/docs lsp-mode-7.0.1/debian/docs --- lsp-mode-6.2.1/debian/docs 2019-01-22 19:37:57.000000000 +0000 +++ lsp-mode-7.0.1/debian/docs 2020-09-12 16:52:40.000000000 +0000 @@ -1 +1 @@ -README.org +README.md diff -Nru lsp-mode-6.2.1/debian/elpa lsp-mode-7.0.1/debian/elpa --- lsp-mode-6.2.1/debian/elpa 2018-11-14 20:51:49.000000000 +0000 +++ lsp-mode-7.0.1/debian/elpa 2020-09-12 16:53:41.000000000 +0000 @@ -1,2 +1 @@ *.el -debian/lsp-mode-pkg.el diff -Nru lsp-mode-6.2.1/debian/elpa-test lsp-mode-7.0.1/debian/elpa-test --- lsp-mode-6.2.1/debian/elpa-test 2020-01-30 16:58:33.000000000 +0000 +++ lsp-mode-7.0.1/debian/elpa-test 2020-10-13 19:11:17.000000000 +0000 @@ -1,4 +1,3 @@ -# https://github.com/emacs-lsp/lsp-mode/issues/467 -ert_exclude = test/lsp-file-watch-test.el -ert_eval = (setq ert-batch-backtrace-right-margin 500) +ert_helper = debian/ert-helper.el +autopkgtest_keep = test/* diff -Nru lsp-mode-6.2.1/debian/ert-helper.el lsp-mode-7.0.1/debian/ert-helper.el --- lsp-mode-6.2.1/debian/ert-helper.el 1970-01-01 00:00:00.000000000 +0000 +++ lsp-mode-7.0.1/debian/ert-helper.el 2020-10-10 18:21:23.000000000 +0000 @@ -0,0 +1,16 @@ +(setq ert-batch-backtrace-right-margin 500) + +(custom-set-variables '(lsp-session-file "/tmp/lsp-test-session")) + +(load-file "test/test-helper.el") + +(ert-run-tests-batch-and-exit + '(not (or + (tag org) + (tag no-win) +;; The following tests depend on python-language-server ITP #963605 + "lsp-test-current-buffer-mode" + "lsp-text-document-hover-request" + "lsp-text-document-hover-request-tick" + )) + ) diff -Nru lsp-mode-6.2.1/debian/patches/01_dash-functional_version.patch lsp-mode-7.0.1/debian/patches/01_dash-functional_version.patch --- lsp-mode-6.2.1/debian/patches/01_dash-functional_version.patch 1970-01-01 00:00:00.000000000 +0000 +++ lsp-mode-7.0.1/debian/patches/01_dash-functional_version.patch 2020-09-12 16:48:51.000000000 +0000 @@ -0,0 +1,16 @@ +Subject: Confusion in upstream version of dash-functional +Author: thomas@koch.ro + +diff --git a/lsp-mode.el b/lsp-mode.el +index 574a64a5..0b2a816b 100644 +--- a/lsp-mode.el ++++ b/lsp-mode.el +@@ -4,7 +4,7 @@ + + ;; Author: Vibhav Pant, Fangrui Song, Ivan Yonchovski + ;; Keywords: languages +-;; Package-Requires: ((emacs "26.1") (dash "2.14.1") (dash-functional "2.14.1") (f "0.20.0") (ht "2.0") (spinner "1.7.3") (markdown-mode "2.3") (lv "0")) ++;; Package-Requires: ((emacs "26.1") (dash "2.14.1") (dash-functional "1.2.0") (f "0.20.0") (ht "2.0") (spinner "1.7.3") (markdown-mode "2.3") (lv "0")) + ;; Version: 7.0.1 + + ;; URL: https://github.com/emacs-lsp/lsp-mode diff -Nru lsp-mode-6.2.1/debian/patches/01_use_utf-8_fix_github_1354.patch lsp-mode-7.0.1/debian/patches/01_use_utf-8_fix_github_1354.patch --- lsp-mode-6.2.1/debian/patches/01_use_utf-8_fix_github_1354.patch 2020-01-30 17:08:49.000000000 +0000 +++ lsp-mode-7.0.1/debian/patches/01_use_utf-8_fix_github_1354.patch 1970-01-01 00:00:00.000000000 +0000 @@ -1,18 +0,0 @@ -Subject: lsp--uri-to-path: use utf-8 when locale-coding-system unset (#1354) -Author: Wenxin Wang -Origin: https://github.com/emacs-lsp/lsp-mode/pull/1354/commits - -diff --git a/lsp-mode.el b/lsp-mode.el -index bf30219..fad4217 100644 ---- a/lsp-mode.el -+++ b/lsp-mode.el -@@ -1171,7 +1171,8 @@ On other systems, returns path without change." - "Convert URI to a file path." - (let* ((url (url-generic-parse-url (url-unhex-string uri))) - (type (url-type url)) -- (file (decode-coding-string (url-filename url) locale-coding-system)) -+ (encoding (or locale-coding-system 'utf-8)) -+ (file (decode-coding-string (url-filename url) encoding)) - (file-name (if (and type (not (string= type "file"))) - (if-let ((handler (lsp--get-uri-handler type))) - (funcall handler uri) diff -Nru lsp-mode-6.2.1/debian/patches/02_handle_load-file-name_nil.patch lsp-mode-7.0.1/debian/patches/02_handle_load-file-name_nil.patch --- lsp-mode-6.2.1/debian/patches/02_handle_load-file-name_nil.patch 2020-01-30 17:09:59.000000000 +0000 +++ lsp-mode-7.0.1/debian/patches/02_handle_load-file-name_nil.patch 1970-01-01 00:00:00.000000000 +0000 @@ -1,19 +0,0 @@ -Subject: Handle when load-file-name is nil -Author: Ivan Yonchovski -Origin: https://github.com/emacs-lsp/lsp-mode/commit/09d2195f8e9472fe3c0b8a7a5ead4864e98de8be -Bug: https://github.com/emacs-lsp/lsp-mode/issues/1281 - -diff --git a/test/lsp-common-test.el b/test/lsp-common-test.el -index d4298bf..27a7d68 100644 ---- a/test/lsp-common-test.el -+++ b/test/lsp-common-test.el -@@ -53,7 +53,8 @@ - (seq-doseq (library (-filter - (lambda (file) - (f-ext? file "el")) -- (f-files (f-parent (f-dirname (or load-file-name buffer-file-name)))))) -+ (when load-file-name -+ (f-files (f-parent (f-dirname (or load-file-name buffer-file-name))))))) - (let ((byte-compile-error-on-warn t)) - (cl-assert (byte-compile-file (save-excursion - (find-library library) diff -Nru lsp-mode-6.2.1/debian/patches/03_dash-functional_version.patch lsp-mode-7.0.1/debian/patches/03_dash-functional_version.patch --- lsp-mode-6.2.1/debian/patches/03_dash-functional_version.patch 2020-02-01 13:27:41.000000000 +0000 +++ lsp-mode-7.0.1/debian/patches/03_dash-functional_version.patch 1970-01-01 00:00:00.000000000 +0000 @@ -1,14 +0,0 @@ -Subject: Confusion in upstream version of dash-functional -Author: thomas@koch.ro - ---- a/lsp-mode.el -+++ b/lsp-mode.el -@@ -4,7 +4,7 @@ - - ;; Author: Vibhav Pant, Fangrui Song, Ivan Yonchovski - ;; Keywords: languages --;; Package-Requires: ((emacs "25.1") (dash "2.14.1") (dash-functional "2.14.1") (f "0.20.0") (ht "2.0") (spinner "1.7.3") (markdown-mode "2.3") (lv "0")) -+;; Package-Requires: ((emacs "25.1") (dash "2.14.1") (dash-functional "1.2.0") (f "0.20.0") (ht "2.0") (spinner "1.7.3") (markdown-mode "2.3") (lv "0")) - ;; Version: 6.2.1 - - ;; URL: https://github.com/emacs-lsp/lsp-mode diff -Nru lsp-mode-6.2.1/debian/patches/series lsp-mode-7.0.1/debian/patches/series --- lsp-mode-6.2.1/debian/patches/series 2020-02-01 13:28:28.000000000 +0000 +++ lsp-mode-7.0.1/debian/patches/series 2020-10-10 16:01:18.000000000 +0000 @@ -1,3 +1 @@ -01_use_utf-8_fix_github_1354.patch -02_handle_load-file-name_nil.patch -03_dash-functional_version.patch +01_dash-functional_version.patch diff -Nru lsp-mode-6.2.1/.dir-locals.el lsp-mode-7.0.1/.dir-locals.el --- lsp-mode-6.2.1/.dir-locals.el 1970-01-01 00:00:00.000000000 +0000 +++ lsp-mode-7.0.1/.dir-locals.el 2020-08-07 02:04:35.000000000 +0000 @@ -0,0 +1,224 @@ +((nil + (require-final-newline . t)) + (emacs-lisp-mode + (eval . (progn + (let ((dirloc-lsp-defun-regexp + (concat + (concat "^\\s-*(" + "lsp-defun" + "\\s-+\\(") + (or (bound-and-true-p lisp-mode-symbol-regexp) + "\\(?:\\sw\\|\\s_\\|\\\\.\\)+") + "\\)"))) + (add-to-list 'imenu-generic-expression + (list "Functions" dirloc-lsp-defun-regexp 1))) + + (defvar lsp--override-calculate-lisp-indent? + nil + "Whether to override the default + `calculate-lisp-indent'.") + + (setq-local lsp--override-calculate-lisp-indent? t) + + ;; FIXME: This doesn't appear to correct the behavior of + ;; `evil-indent' or `indent-region'. But it does seem to + ;; work with `newline-and-indent'. + + ;; FIXME: This also doesn't work particularly well with + ;; comma-evaluated forms inside backticks if any arguments + ;; are on the same line as the function. But there is a workaround. + + ;; For example, the incorrectly-indented + + ;; `(:range ,(lsp--range (lsp--point-to-position start) + ;; (plist-get lsp--before-change-vals :end-pos))) + + ;; can be changed to + + ;; `(:range ,(lsp--range + ;; (lsp--point-to-position start) + ;; (plist-get lsp--before-change-vals :end-pos))) + + ;; by executing `newline-and-indent'. + + ;; https://www.reddit.com/r/emacs/comments/d7x7x8/finally_fixing_indentation_of_quoted_lists/ + (defun wrap~calculate-lisp-indent (fn &optional parse-start) + "Add better indentation for quoted and backquoted lists." + (if (not lsp--override-calculate-lisp-indent?) + (funcall fn parse-start) + ;; This line because `calculate-lisp-indent-last-sexp` was defined with `defvar` + ;; with it's value omitted, marking it special and only defining it locally. So + ;; if you don't have this, you'll get a void variable error. + (defvar calculate-lisp-indent-last-sexp) + (save-excursion + (beginning-of-line) + (let ((indent-point (point)) + state + ;; setting this to a number inhibits calling hook + (desired-indent nil) + (retry t) + calculate-lisp-indent-last-sexp containing-sexp) + (cond ((or (markerp parse-start) (integerp parse-start)) + (goto-char parse-start)) + ((null parse-start) (beginning-of-defun)) + (t (setq state parse-start))) + (unless state + ;; Find outermost containing sexp + (while (< (point) indent-point) + (setq state (parse-partial-sexp (point) indent-point 0)))) + ;; Find innermost containing sexp + (while (and retry + state + (> (elt state 0) 0)) + (setq retry nil) + (setq calculate-lisp-indent-last-sexp (elt state 2)) + (setq containing-sexp (elt state 1)) + ;; Position following last unclosed open. + (goto-char (1+ containing-sexp)) + ;; Is there a complete sexp since then? + (if (and calculate-lisp-indent-last-sexp + (> calculate-lisp-indent-last-sexp (point))) + ;; Yes, but is there a containing sexp after that? + (let ((peek (parse-partial-sexp calculate-lisp-indent-last-sexp + indent-point 0))) + (if (setq retry (car (cdr peek))) (setq state peek))))) + (if retry + nil + ;; Innermost containing sexp found + (goto-char (1+ containing-sexp)) + (if (not calculate-lisp-indent-last-sexp) + ;; indent-point immediately follows open paren. + ;; Don't call hook. + (setq desired-indent (current-column)) + ;; Find the start of first element of containing sexp. + (parse-partial-sexp (point) calculate-lisp-indent-last-sexp 0 t) + (cond ((looking-at "\\s(") + ;; First element of containing sexp is a list. + ;; Indent under that list. + ) + ((> (save-excursion (forward-line 1) (point)) + calculate-lisp-indent-last-sexp) + ;; This is the first line to start within the containing sexp. + ;; It's almost certainly a function call. + (if (or + ;; Containing sexp has nothing before this line + ;; except the first element. Indent under that element. + (= (point) calculate-lisp-indent-last-sexp) + + ;; First sexp after `containing-sexp' is a keyword. This + ;; condition is more debatable. It's so that I can have + ;; unquoted plists in macros. It assumes that you won't + ;; make a function whose name is a keyword. + ;; (when-let ((char-after (char-after (1+ containing-sexp)))) + ;; (char-equal char-after ?:)) + + ;; Check for quotes or backquotes around. + (let* ((positions (elt state 9)) + (last (car (last positions))) + (rest (reverse (butlast positions))) + (any-quoted-p nil) + (point nil)) + (or + (when-let ((char (char-before last))) + (or (char-equal char ?') + (char-equal char ?`))) + (progn + (while (and rest (not any-quoted-p)) + (setq point (pop rest)) + (setq any-quoted-p + (or + (when-let ((char (char-before point))) + (or (char-equal char ?') + (char-equal char ?`))) + (save-excursion + (goto-char (1+ point)) + (looking-at-p + "\\(?:back\\)?quote[\t\n\f\s]+("))))) + any-quoted-p)))) + ;; Containing sexp has nothing before this line + ;; except the first element. Indent under that element. + nil + ;; Skip the first element, find start of second (the first + ;; argument of the function call) and indent under. + (progn (forward-sexp 1) + (parse-partial-sexp (point) + calculate-lisp-indent-last-sexp + 0 t))) + (backward-prefix-chars)) + (t + ;; Indent beneath first sexp on same line as + ;; `calculate-lisp-indent-last-sexp'. Again, it's + ;; almost certainly a function call. + (goto-char calculate-lisp-indent-last-sexp) + (beginning-of-line) + (parse-partial-sexp (point) calculate-lisp-indent-last-sexp + 0 t) + (backward-prefix-chars))))) + ;; Point is at the point to indent under unless we are inside a string. + ;; Call indentation hook except when overridden by lisp-indent-offset + ;; or if the desired indentation has already been computed. + (let ((normal-indent (current-column))) + (cond ((elt state 3) + ;; Inside a string, don't change indentation. + nil) + ((and (integerp lisp-indent-offset) containing-sexp) + ;; Indent by constant offset + (goto-char containing-sexp) + (+ (current-column) lisp-indent-offset)) + ;; in this case calculate-lisp-indent-last-sexp is not nil + (calculate-lisp-indent-last-sexp + (or + ;; try to align the parameters of a known function + (and lisp-indent-function + (not retry) + (funcall lisp-indent-function indent-point state)) + ;; If the function has no special alignment + ;; or it does not apply to this argument, + ;; try to align a constant-symbol under the last + ;; preceding constant symbol, if there is such one of + ;; the last 2 preceding symbols, in the previous + ;; uncommented line. + (and (save-excursion + (goto-char indent-point) + (skip-chars-forward " \t") + (looking-at ":")) + ;; The last sexp may not be at the indentation + ;; where it begins, so find that one, instead. + (save-excursion + (goto-char calculate-lisp-indent-last-sexp) + ;; Handle prefix characters and whitespace + ;; following an open paren. (Bug#1012) + (backward-prefix-chars) + (while (not (or (looking-back "^[ \t]*\\|([ \t]+" + (line-beginning-position)) + (and containing-sexp + (>= (1+ containing-sexp) (point))))) + (forward-sexp -1) + (backward-prefix-chars)) + (setq calculate-lisp-indent-last-sexp (point))) + (> calculate-lisp-indent-last-sexp + (save-excursion + (goto-char (1+ containing-sexp)) + (parse-partial-sexp (point) calculate-lisp-indent-last-sexp 0 t) + (point))) + (let ((parse-sexp-ignore-comments t) + indent) + (goto-char calculate-lisp-indent-last-sexp) + (or (and (looking-at ":") + (setq indent (current-column))) + (and (< (line-beginning-position) + (prog2 (backward-sexp) (point))) + (looking-at ":") + (setq indent (current-column)))) + indent)) + ;; another symbols or constants not preceded by a constant + ;; as defined above. + normal-indent)) + ;; in this case calculate-lisp-indent-last-sexp is nil + (desired-indent) + (t + normal-indent))))))) + + (advice-add #'calculate-lisp-indent :around #'wrap~calculate-lisp-indent))) + (flycheck-disabled-checkers . '(emacs-lisp-checkdoc)) + (indent-tabs-mode . nil))) diff -Nru lsp-mode-6.2.1/doc/changelog.org lsp-mode-7.0.1/doc/changelog.org --- lsp-mode-6.2.1/doc/changelog.org 2019-12-05 17:08:43.000000000 +0000 +++ lsp-mode-7.0.1/doc/changelog.org 1970-01-01 00:00:00.000000000 +0000 @@ -1,112 +0,0 @@ -* Release 6.2 - * Support dynamic rename registration - * Add basic support for style semantic highlighting - * Added Haxe language server integration - * Add C#-support via Roslyn. - * Add emmy lua support - * Enable plugins in typescript language server. - * 1079 Provide support for Ada Language server - * Implement right click support in =lsp-mode= buffers. - * Added built-in support for =Rust Analyzer=. - * Added support for HDL Checker server to lsp-vhdl - * Added support for Terraform language server. - * Added support for R language server (#1182) - * Added support for passing environment variables to language servers (#1184) - * Speedup lsp-mode's JSONRPC processing (~2 times) - * Add cancel-token to lsp-request-async - * Implement unified way to handle recurring lsp features - * Added support for powershell language server. - * Implemented inlay hints for =Rust Analyzer= (thanks to =brotzeit=). - * Implemented automatic installation for C# language server. - * Reimplemented =textDocument/signatureHelp= - now the signature is displayed in =lv= buffer. - * Cancel sync requests when presssing =C-g= during the request. - * Use =c-basic-offset= when in =cc-mode=. - * Add support for Crystal via scry (#1218). - * Implement =textDocument/documentColor= support. -* Release 6.1 -** Support for new languages/language servers: - * [[https://github.com/fwcd/KotlinLanguageServer][Kotlin Language Server]] (Thanks to Jon Carr) - * [[https://github.com/golang/go/wiki/gopls][gopls]] Language Server for Go - * [[https://github.com/angelozerr/lsp4xml][XML Language Server (lsp4xml)]] - * Hack (using [[https://docs.hhvm.com/hhvm/][HHVM]]) - * [[http://intelephense.net/][Intelephense]] for PHP - * [[https://github.com/snoe/clojure-lsp][clojure-lsp]] for Clojure/ClojureScipt (Thanks to Dario Benedek Fazekas) - * [[https://github.com/elm-tooling/elm-language-server][elmLS]] for Elm (Thanks to Daniel-V) - * [[https://github.com/fsharp/FsAutoComplete][FsAutoComplete]] for F# (Thanks to Reed Mullanix) - * Added =Erlang= support via [[https://github.com/erlang-ls/erlang_ls][erlang_ls]] - * Added =Dockerfile= support via [[https://github.com/rcjsuen/dockerfile-language-server-nodejs][dockerfile-language-server-nodejs]] -** New logging options - - =lsp-mode= now logs to buffer =*lsp-log*=, instead of =*Messages*=. This - can be controlled with the variable =lsp-log-max= (Thanks to Thomas Fini Hansen). - - If =lsp-print-performance= is non-nil, =lsp-mode= will log a corresponding - performance trace to =*lsp-log*= for every message to and from the server. - - The variable =lsp-print-io=, when non-nil will cause =lsp-mode= to log - all messages to and from the server to a unique =*lsp-io*= buffer for every - project root. These logs can be saved to a file and viewed using the - [[https://microsoft.github.io/language-server-protocol/inspector/][LSP Inspector]]. - -** LSP Methods - - Add support for [[https://microsoft.github.io/language-server-protocol/specification#textDocument_prepareRename][textDocument/prepareRename]]. If supported by the language - server, all renaming operations will be tested for validity. - - Add support for [[https://microsoft.github.io/language-server-protocol/specification#workspace_didChangeWatchedFiles][file watches]]. - - Add support for [[https://microsoft.github.io/language-server-protocol/specification#textDocument_codeAction][CodeAction literals]]. - - Add API level support for [[https://microsoft.github.io/language-server-protocol/specification#textDocument_foldingRange][folding ranges]]. Folding support for [[https://github.com/gregsexton/origami.el][origami.el]] - support is implemented by package [[https://github.com/emacs-lsp/lsp-origami][lsp-origami]]. - - Support [[https://microsoft.github.io/language-server-protocol/specification#textDocument_documentLink][document links]]. This can be controlled using the variable - =lsp-enable-links=. - - Support resource operations (edits sent from the language server can now - create/modify/remove files and directories). - - Add support for [[https://microsoft.github.io/language-server-protocol/specification#workspace_configuration][workspace/configuration]]. - - Add new function =lsp-disconnect=. - - Added =lsp-find-definition-mouse= and bound to =C-= - - Added =lsp-extend-selection= as a frontend of new LSP method =textDocument/extendSelection= - -** Other changes - - Add project logo (thanks to Jon Carr). - - Created an integration test suite for =lsp-mode= (See directory =features=). - - If available, using the native JSON API introduced in Emacs 27.1. - - Tramp implementation now uses TRAMP process instead of TCP sockets (Thanks to - Karsten Patzwaldt). - - LSP autoconfiguration adds =company-lsp= to the list of comapny backends - instead of overriding it. - - Add =lsp-mode-map=. - - Add menu bar entries for =lsp-mode=. - - Perform _before save_ operations ([[https://microsoft.github.io/language-server-protocol/specification#textDocument_willSaveWaitUntil][textDocument/willSaveWaitUntil]]) asynchronously. - - =imenu= support is now handled asynchronously (Thanks to Dario Gjorgjevski). - - Added option =:none= for =lsp-prefer-flymake=, which disabled both Flymake and - Flycheck support. - - Changed =flymake= to report the errors immediately after they arive instead - of waiting =flymake= to call =lsp-mode=. - - Add debounce when server does not support incremental updates. - - Add hook =lsp-after-uninitialized-hook=, which stores the list of functions - called after a language server has been uninitialized. - - Add variable =lsp-symbol-highlighting-skip-current=, which lets the user skip - the current symbol when a given symbol is being highlighted. - - Add variable =lsp-enabled-clients=, which lets users set which defined clients - are allowed to be used. - - Support multiple signatures while displaying eldoc text. Add variable - =lsp-signature-render-all=, which when non-nil forces =lsp-mode= to only show - the current active signature. - - Expose configuration settings for various language servers. - - Language servers can now be disabled with the variable =lsp-disabled-clients=. - - Improved applying changes speed. - - Fixed =xref= support for emacs 27+ - - Implemented automatic installation for F# language server. - - Added Emacs 26.x to CI - - Fixed handling of stderr when running over =TRAMP=. - - Implemented support for running the language server in =Docker= container over local files. -* Release 6.0 - - ~lsp-mode~ now have single entry point ~lsp~ for all language and based on the major mode starts the corresponding language servers. - - Added ~flymake~ integration. - - ~lsp~ automatically enables and configures ~company-lsp~, ~lsp-ui~, ~yasnippet~, or ~flymake~ if they are present so no additional configuration is needed except installing the packages. That behavior could be disabled by setting ~lsp-auto-configure~ to ~nil~. - - ~lsp-mode~ ships with several predefined servers located in ~lsp-clients.el~ which does not require additional package. For the more complex Language Servers like ~Eclipse JDT~, ~ccls~, ~cquery~ and ~haskell~ we still require separate package due to relatively high code base. - - ~lsp-mode~ handles automatically server failures by asking the user whether he/she wants to restart the server. - - introduced new command ~lsp-describe-session~ which replaces the existing one ~lsp-capabilities~. The command lists the folders that are part of the workspace and the servers that are associated with the corresponding folder. - - ~lsp-mode~ displays information about the running server and it's status in the modeline. - - ~lsp-define-stdio-client~ and ~lsp-define-tcp-client~ are replaced with ~lsp-register-client~ - - ~lsp~ rely on ~projectile~ or ~project.el~ now only for suggesting project root. Once you open new file in a project and start ~lsp~ it will provide several options(import project, blacklist project, select other directory root). Once you select a root it will be persisted and used for the next sessions. - - support for multiple language servers per single file and workspace. - - changed ~lsp-mode~ settings to more sensible defaults. - - Removed all synchronous calls from the server startup. - - Improved multi-folder support. - - added backends for: Bash, C++, CSS, Dart, Elixir, Fortran, Go, Groovy, HTML, Javascript/Typescript, Javascript/Typescript, Ocaml, PHP, Python, Ruby, Rust, Vue, Flow diff -Nru lsp-mode-6.2.1/doc/.gitignore lsp-mode-7.0.1/doc/.gitignore --- lsp-mode-6.2.1/doc/.gitignore 2019-12-05 17:08:43.000000000 +0000 +++ lsp-mode-7.0.1/doc/.gitignore 1970-01-01 00:00:00.000000000 +0000 @@ -1,2 +0,0 @@ -output/* -src/output diff -Nru lsp-mode-6.2.1/doc/Makefile lsp-mode-7.0.1/doc/Makefile --- lsp-mode-6.2.1/doc/Makefile 2019-12-05 17:08:43.000000000 +0000 +++ lsp-mode-7.0.1/doc/Makefile 1970-01-01 00:00:00.000000000 +0000 @@ -1,17 +0,0 @@ -all: doc-html doc-pdf - -output-dir: - mkdir -p output - -doc-html: output-dir - asciidoctor --safe -b html5 -B ./src/ -D output -o lsp-mode.html ./src/lsp-mode.adoc - cp ./src/output/* ./output/ - -doc-pdf: output-dir - asciidoctor-pdf --safe -B ./src/ -D output -o lsp-mode.pdf ./src/lsp-mode.adoc - cp ./src/output/* ./output/ - -clean: - rm -rf ./src/output output - -.DEFAULT_GOAL: all diff -Nru lsp-mode-6.2.1/doc/src/adding-support.adoc lsp-mode-7.0.1/doc/src/adding-support.adoc --- lsp-mode-6.2.1/doc/src/adding-support.adoc 2019-12-05 17:08:43.000000000 +0000 +++ lsp-mode-7.0.1/doc/src/adding-support.adoc 1970-01-01 00:00:00.000000000 +0000 @@ -1,105 +0,0 @@ -== Adding support for new languages - -Adding support for new languages/language servers is fairly straightforward: - -[source,elisp] ----- -(lsp-register-client - (make-lsp-client :new-connection - :major-modes '() - :server-id )) ----- - -=== Creating a connection -A `connection-plist` is a https://www.gnu.org/software/emacs/manual/html_node/elisp/Property-Lists.html[property list] -that tells `lsp-mode` how to launch and connect to a language server process. -For most language servers, you do not need to create an actual list yourself, -as helper functions <> or -<> can be used to create one. - -==== Helper functions - -[id="lsp-stdio-connection"] -===== Function: `lsp-stdio-connection COMMAND` -Returns a connection property list using `COMMAND`, for launching a language -server instance that sends and receives messages over standard I/O. `COMMAND` -can be: - -* A string, denoting the command to launch the language server. -* A list of strings, denoting an executable with its command line arguments. -* A function, that either returns a string or a list of strings. - -[id="lsp-tcp-connection"] -===== Function: `lsp-tcp-connection COMMAND-FN` - -Returns a connection property list similar to <>, -but `COMMAND-FN` can only be a function that takes a single argument, a -port number. It should return a command for launches a language server -process listening for TCP connections on the provided port. - -=== Other arguments to `make-lsp-client` -* `:server-id`: A unique symbol that represents the client object created by -`make-lsp-client`. Examples include `'clangd`, `'pyls`, `'css-ls`, etc. -* `:major-modes`: A list of major-modes supported by the language server. -* `:activation-fn`: Function that returns `t` if the client can manage - given buffer. It should take a single argument (the buffer object). Can be - used instead of `:major-modes`. -* `:language-id`: Function that should take a single buffer as an argument, - and return the https://microsoft.github.io/language-server-protocol/specification#textdocumentitem[language identifier] - (`languageId`) for that buffer. -* `:add-on`: If non-nil, the client will be started even when there is another - server handling the same mode/buffer. -* `:ignore-regexps`: A list of regular expressions. If any incoming data from - the language server matches any of these regexps, it will be ignored. This - is useful for filtering out unwanted messages, such as servers that send - extraneous non-LSP messages. -* `:notification-handlers`: Hash table mapping notification method strings - to functions handling them. See: <>. -* `:request-handlers`: Hash table mapping request method strings to functions - handling them. See: <>. -* `:prefix-function`: A prefix function takes no arguments, and return the - bounds for the entity under point as a cons pair (START . END), where both - `START` and `END` are point values. The prefix function is used to compute - the bounds for the entity being completed during completion, specifically, - the `start` and `end` values in the list returned by https://www.gnu.org/software/emacs/manual/html_node/elisp/Completion-in-Buffers.html[Completion functions]. -* `:uri-handlers`: Hash table mapping non-standard file URI schemes to a - function that opens the file pointed to by the URI. The function should - accept a single string (the file URI). -* `:action-handlers`: Hash table mapping code action strings to a function - that executes them. While executing a code action, it is used to determine - whether a particular code action should be executed by a client, or sent to - the server. The function should take a single string (the code action) - as an argument. -* `:multi-root`: Non-nil if the client supports multi-root workspaces. -* `:initialization-options`: A JSON-encodable object, or a function that - returns one. The value will be used for additional initialization options - for the https://microsoft.github.io/language-server-protocol/specification#initialize[`initialize`] - request. -* `before-file-open-fn`: Function called before a LSP-managed file (by this - client) is opened. Should accept a single argument, the currently active - workspace. -* `initialized-fn`: Function called right after a workspace has been - initialized. Should accept a single argument, the newly initialized - workspace. -* `completion-in-comments?`: Non-nil if the client supports completion within - comments. - -=== Method handlers -A method handler is a function that takes two arguments, a `lsp--workspace` -object and the method parameters as a deserialized object. A defined client -can use method handlers to support language specific features that aren't -specified in the official LSP specification. For instance, method handlers -are used by the `lsp-rust` rls client to support https://github.com/rust-lang/rls/blob/master/contributing.md#extensions-to-the-language-server-protocol[progress indicators] -sent from the server to the editor: -[source,elisp] ----- -(defun lsp-clients--rust-window-progress (_workspace params) - ;; Minimal implementation - we could show the progress as well. - (lsp-log (gethash "title" params))) -(defvar lsp-rust-notification-handlers (make-hash-table :test 'equal)) -(puthash "window/progress" #'lsp-clients--rust-window-progress lsp-rust-notification-handlers) - -(lsp-register-client - (make-lsp-client :notification-handlers lsp-rust-notification-handlers - )) ----- diff -Nru lsp-mode-6.2.1/doc/src/configuration.adoc lsp-mode-7.0.1/doc/src/configuration.adoc --- lsp-mode-6.2.1/doc/src/configuration.adoc 2019-12-05 17:08:43.000000000 +0000 +++ lsp-mode-7.0.1/doc/src/configuration.adoc 1970-01-01 00:00:00.000000000 +0000 @@ -1,65 +0,0 @@ -== Configuration - -Once `lsp-mode` is installed, a minimal configuration would consist of -xref:lang-support[installing] the language server(s) for your preferred -languages, and enabling `lsp-mode` for the respective major-mode with: -[source,elisp] ----- -(require 'lsp-mode) -(add-hook ' #'lsp) -;; Major mode hooks tend to be named as xxx-mode-hook (python-mode-hook, -;; c++-mode-hook, etc) ----- - -If <> and -<> are non-nil, then -`lsp-mode` loads all the clients that have been bundled with the package. -Otherwise, or if you're using an external package for LSP support, you might -need to `require` it as well. For instance, if you want to use -https://github.com/emacs-lsp/lsp-java/[`lsp-java`]: -[source,elisp] ----- -(require 'lsp-mode) -(require 'lsp-java) -(add-hook 'java-mode-hook 'lsp) ----- - -Alternatively, `lsp-mode` can be hooked to `prog-mode-hook`, which -will cause it to try initialising LSP support for all supported programming -languages. - -=== use-package - -A minimal `use-package` configuration for `lsp-mode` might look like this: -[source,elisp] ----- -(use-package lsp-mode - :commands lsp - :hook (XXX-mode . lsp) - :init - (setq ...)) ----- - -=== Spacemacs - -`lsp-mode` is included in Spacemacs' `develop` branch. Documentation for the -`lsp` layer is available -http://develop.spacemacs.org/layers/+tools/lsp/README.html[here]. - -=== Doom Emacs - -`lsp-mode` is included in the `lsp` module. Documentation for it is available -https://github.com/hlissner/doom-emacs/blob/develop/modules/tools/lsp/README.org[here]. - -=== Deferred startup -To defer `lsp` startup (server initialization, `didOpen` notifications, etc) until the -buffer is visible, you can use `lsp-deferred` instead of `lsp`: -[source,elisp] ----- -(add-hook 'java-mode-hook 'lsp-deferred) ----- - -=== Docker -To run `lsp-mode` in a docker container, refer to the https://github.com/emacs-lsp/lsp-docker/[lsp-docker] README. - -include::lsp-mode-vars.adoc[] diff -Nru lsp-mode-6.2.1/doc/src/doc.el lsp-mode-7.0.1/doc/src/doc.el --- lsp-mode-6.2.1/doc/src/doc.el 2019-12-05 17:08:43.000000000 +0000 +++ lsp-mode-7.0.1/doc/src/doc.el 1970-01-01 00:00:00.000000000 +0000 @@ -1,76 +0,0 @@ -(require 's) -(require 'f) -(require 'seq) -(require 'lsp-clients) - -(defconst lsp-doc--client-groups - (sort - '(lsp-clojure lsp-css lsp-html lsp-intelephense lsp-pyls lsp-rust lsp-solargraph lsp-vetur lsp-xml lsp-groovy lsp-typescript-javascript lsp-typescript lsp-flow lsp-php lsp-ocaml lsp-clangd lsp-dart lsp-elixir lsp-fortran lsp-kotlin lsp-hack lsp-metals lsp-fsharp lsp-erlang lsp-yaml) - (lambda (s1 s2) - (string< (symbol-name s1) (symbol-name s2))))) - -(defun lsp-doc-get-public-symbols () - (seq-filter - (lambda (sym) - (and (symbolp sym) - (s-match "^lsp\\(?:\\-[a-zA-Z0-9]+\\)*$" (symbol-name sym)))) - obarray)) - -(defun lsp-doc--group-get-variables (group) - (let ((custom-group (get group 'custom-group))) - (seq-map - (apply-partially #'car) - (seq-filter (lambda (p) - (and (consp p) - (eq (cadr p) 'custom-variable))) - custom-group)))) - -(defun lsp-doc--group-gen-asciidoc (group) - (let ((vars (lsp-doc--group-get-variables group))) - (concat - (format "[id=\"%s-vars\"] -==== \`%s\` settings\n\n" group group) - (mapconcat - (lambda (sym) - (let* ((dflt-val (default-value sym)) - (type (get sym 'custom-type))) - (format "[id=\"%s\"] -- \`%s\` -____ -Default value: \`pass:[%s]\` - -%s%s -____" sym sym - -(pp-to-string (if (and (memq type '(file directory)) (stringp dflt-val)) - (f-short dflt-val) - dflt-val)) -(documentation-property sym 'variable-documentation) -(if-let (version (get sym 'custom-package-version)) - (format " - -NOTE: Introduced in \`%s\` %s -" (car version) (cdr version)) - "")))) - vars "\n")))) - -(defun lsp-doc--write-asciidoc (group file) - (let ((doc (lsp-doc--group-gen-asciidoc group))) - (write-region (concat doc "\n") nil file))) - -(seq-doseq (group lsp-doc--client-groups) - (let ((doc-dir (f-expand (format "./%s" group)))) - (message "Writing docs for %s" group) - (unless (file-directory-p doc-dir) - (make-directory doc-dir)) - (lsp-doc--write-asciidoc group (f-join doc-dir (format "%s-vars.adoc" group))))) - -(lsp-doc--write-asciidoc 'lsp-mode "lsp-mode-vars.adoc") - -;; (write-region -;; (mapconcat -;; (lambda (group) -;; (format "include::%s/index.adoc[]" group)) -;; lsp-doc--client-groups "\n\n") -;; nil -;; "lsp-langs.adoc") diff -Nru lsp-mode-6.2.1/doc/src/installation.adoc lsp-mode-7.0.1/doc/src/installation.adoc --- lsp-mode-6.2.1/doc/src/installation.adoc 2019-12-05 17:08:43.000000000 +0000 +++ lsp-mode-7.0.1/doc/src/installation.adoc 1970-01-01 00:00:00.000000000 +0000 @@ -1,32 +0,0 @@ -== Installation - -`lsp-mode` is available as a package on both http://melpa.org/[MELPA] and -http://stable.melpa.org/[MELPA Stable]. If you haven't added either to -Emacs' package sources, you can do that with - -[source,elisp] ----- -(require 'packages) -(add-to-list 'package-archives - '("melpa" . "https://melpa.org/packages/")) ----- -For MELPA, or -[source,elisp] ----- -(require 'package) -(add-to-list 'package-archives - '("melpa-stable" . "https://stable.melpa.org/packages/")) ----- -for MELPA Stable. - -After updating the package list with `M-x package-refresh-contents RET`, -you can install `lsp-mode` using `M-x package-install RET lsp-mode RET`. - -=== Installing language servers - -Because language servers exist outside of Emacs, they need to be -installed seperately. A list of language servers is available at -https://langserver.org/ and -https://microsoft.github.io/language-server-protocol/implementors/servers/. -Additionally, this documentation also provides a -xref:lang-support[list of supported languages]. diff -Nru lsp-mode-6.2.1/doc/src/introduction.adoc lsp-mode-7.0.1/doc/src/introduction.adoc --- lsp-mode-6.2.1/doc/src/introduction.adoc 2019-12-05 17:08:43.000000000 +0000 +++ lsp-mode-7.0.1/doc/src/introduction.adoc 1970-01-01 00:00:00.000000000 +0000 @@ -1,59 +0,0 @@ -== Introduction - -:link-lsp-ui: https://github.com/emacs-lsp/lsp-ui[lsp-ui] -:link-company-lsp: https://github.com/tigersoldier/company-lsp[company-lsp] - -https://github.com/emacs-lsp/lsp-mode[lsp-mode] is a client/library -package that allows Emacs to communicate with -language servers -footnote:[A stand-alone, editor-agnostic program that provides IDE-like -functionality (completion, references, error checking, etc) over a -defined protocol. https://github.com/Sarcasm/irony-mode[irony-mode] and -https://github.com/rust-lang/rls[rls] are both language servers that use -different protocols to communicate.] -using Microsoft's -https://microsoft.github.io/language-server-protocol/[Language Server -Protocol]. `lsp-mode` aims to plug-in to the vast collection of -extensive Emacs tools and packages to provide a familiar, yet powerful -interface for programmers. `lsp-mode` also provides an API for Emacs -package developers to provide LSP support to users (see: {link-company-lsp}, -https://github.com/emacs-lsp/lsp-treemacs[lsp-treemacs], -https://github.com/emacs-lsp/helm-lsp[helm-lsp]). It supports a wide -array of standard LSP methods, and can be extended with optimally work -with non-standard, language-specific functionality as well (see: -https://github.com/emacs-lsp/lsp-java[lsp-java], -https://github.com/MaskRay/emacs-ccls[emacs-ccls]). - -Out of the box, it supports 25+ programming languages, with -various other external packages that provide more specific language -features. Adding support for a new language server can be accomplished -in a few lines of code, with more fine tuning and configuration options -available. - -=== Basic Features - -* Focuses on providing an asynchronous/non-blocking interface for as - much functionality as possible. -* Real-time diagnostics/linting support (either via `flymake` for Emacs - versions 26 and above, or - https://github.com/flycheck/flycheck[flycheck], using {link-lsp-ui}) -* Code completion - support for the (relatively basic) - `completion-at-point` interface in Emacs, documented and asynchronous - completion support provided by {link-company-lsp}. -* Documentation/highlight on hover: Basic, out of the box support - provided using `eldoc`. Richer and more extensive functionality - available in {link-lsp-ui}. -* Code Actions: Text based commands that provide refactoring/linting/code - fixing. Supported natively with `lsp-execute-code-action`, and by {link-lsp-ui}. - Otherwise known as "quick fixes" in Visual Studio Code. -* Code outline/explorer: In-built support for - https://www.gnu.org/software/emacs/manual/html_node/emacs/Imenu.html[Imenu]/ - helm-imenu. -* Cross referencing, goto-definition, goto-implementation with - https://www.gnu.org/software/emacs/manual/html_node/emacs/Xref.html[Xref]. -* Code/Symbol Highlighting -* Formatting, On-type code formatting -* Debugging support with the - https://microsoft.github.io/debug-adapter-protocol/[Debug Adapter Protocol] - with https://github.com/emacs-lsp/dap-mode[dap-mode]. -* Helm support using https://github.com/emacs-lsp/helm-lsp[helm-lsp] diff -Nru lsp-mode-6.2.1/doc/src/issues.adoc lsp-mode-7.0.1/doc/src/issues.adoc --- lsp-mode-6.2.1/doc/src/issues.adoc 2019-12-05 17:08:43.000000000 +0000 +++ lsp-mode-7.0.1/doc/src/issues.adoc 1970-01-01 00:00:00.000000000 +0000 @@ -1,27 +0,0 @@ -== Common Issues/Fixes - -=== File watches - -Some language servers request file notifications from Emacs using -https://microsoft.github.io/language-server-protocol/specification#workspace_didChangeWatchedFiles[`workspace/didChangeWatchedFiles`], -in which case `lsp-mode` will monitor every file in the path recursively for -changes. If your project contains a large number of files, this might slow -`lsp-mode` down. In this case, you can either disable file notifications entirely -via <>, or disable it -for a specific project using https://www.gnu.org/software/emacs/manual/html_node/emacs/Directory-Variables.html[Directory Variables]. - -=== Frequent freezes/stuttering - -`lsp-mode` in Emacs versions < 27 uses the -https://github.com/emacs-mirror/emacs/blob/master/lisp/json.el[json.el] library -bundled with Emacs to parse and encode JSON objects in order to communicate -with a language server. When working with large objects, this can create a -significant garbage collection overhead which slows down Emacs significantly. -This can be either fixed by setting `gc-cons-threshold` to a large enough value -(like `30000000`, causing it to start a garbage collection cycle on every -30 MB of allocated memory), or using Emacs 27 compiled with native JSON support -(`--with-json`). - -If you're using company-lsp, setting -https://github.com/tigersoldier/company-lsp#customization[`company-lsp-cache-candidates`] -to either `'auto` or `t` can help reduce freezes when performing code completion. diff -Nru lsp-mode-6.2.1/doc/src/lang-support.adoc lsp-mode-7.0.1/doc/src/lang-support.adoc --- lsp-mode-6.2.1/doc/src/lang-support.adoc 2019-12-05 17:08:43.000000000 +0000 +++ lsp-mode-7.0.1/doc/src/lang-support.adoc 1970-01-01 00:00:00.000000000 +0000 @@ -1,297 +0,0 @@ -[id="lang-support"] -== Languages/Language servers supported by `lsp-mode` - -[cols=",,,,",options="header",] -|=== -|Language |Language Server |Support |Installation command |Debugger - -|Ada -|https://github.com/AdaCore/ada_language_server[ada_language_server] -|<> -|https://github.com/AdaCore/ada_language_server#install[ada_language_server] -| - -|Angular -|https://github.com/angular/vscode-ng-language-service/[vscode-ng-language-service] -|Built-in -|https://github.com/angular/vscode-ng-language-service/[vscode-ng-language-service] -| - -|Bash -|https://github.com/mads-hartmann/bash-language-server[bash-language-server] -|Built-in -|`npm i -g bash-language-server` -| - -|C++ -|https://github.com/MaskRay/ccls[ccls] -|https://github.com/MaskRay/emacs-ccls[emacs-ccls] -|https://github.com/MaskRay/ccls[ccls] -|Yes (gdb or lldb) - -|C++ -|https://clang.llvm.org/extra/clangd.html[clangd] -|<> -|https://clang.llvm.org/extra/clangd.html[clangd] -|Yes (gdb or lldb) - -|C++ -|https://github.com/cquery-project/cquery[cquery] -|https://github.com/cquery-project/emacs-cquery[emacs-cquery] -|https://github.com/cquery-project/cquery[cquery] -|Yes (gdb or lldb) - -|C# -|https://github.com/OmniSharp/omnisharp-roslyn[omnisharp-roslyn] -|<> -|https://github.com/OmniSharp/omnisharp-roslyn[omnisharp-roslyn] -| - -|Clojure -|https://github.com/snoe/clojure-lsp[clojure-lsp] -|<> -|https://github.com/snoe/clojure-lsp[clojure-lsp] -| - -|Crystal -|https://github.com/crystal-lang-tools/scry[scry] -|<> -|https://github.com/crystal-lang-tools/scry[scry] -| - -|CSS/LessCSS/SASS/SCSS -|https://github.com/vscode-langservers/vscode-css-languageserver-bin[css] -|<> -|`npm install -g vscode-css-languageserver-bin` -| - -|Dart -|https://github.com/natebosch/dart_language_server[dart_language_server] -|<> -|`pub global activate dart_language_server` -| - -|Elixir -|https://github.com/JakeBecker/elixir-ls[elixir-ls] -|<> -|https://github.com/JakeBecker/elixir-ls[elixir-ls] -|Yes - -|Elm -|https://github.com/elm-tooling/elm-language-server[elmLS] -|<> -| Clone the https://github.com/elm-tooling/elm-language-server[repository], run `npm install` in the root, then run https://www.typescriptlang.org/[tsc] in the server directory. Set <> to wherever you cloned the repo. -| - -|Erlang -|https://github.com/erlang-ls/erlang_ls[erlang_ls] -|<> -|https://github.com/erlang-ls/erlang_ls[erlang_ls] -| - -|F# -|https://github.com/fsharp/FsAutoComplete[FsAutoComplete] -|<> -|Clone the https://github.com/fsharp/FsAutoComplete[repository], run ./build.sh LocalRelease. Set lsp-fsharp-server-path, and lsp-fsharp-server-runtime. -| - -|Fortran -|https://github.com/hansec/fortran-language-server[fortran-language-server] -|<> -|`pip install fortran-language-server` -|Yes - -|Go -|https://golang.org/x/tools/cmd/gopls[gopls] -|Built-in -|https://github.com/golang/tools/blob/master/gopls/doc/user.md#installation[gopls documentation] -|Yes - -|Go -|https://github.com/saibing/bingo[bingo] -|Built-in -|https://github.com/saibing/bingo/wiki/Install[bingo] -|Yes - -|Groovy -|https://github.com/palantir/language-servers[groovy-language-server] -|<> -|https://github.com/palantir/language-servers[groovy-language-server] -| - -|Hack -|https://docs.hhvm.com/hhvm/[hhvm] -|<> -|https://docs.hhvm.com/hhvm/installation/introduction[hhvm] -| - -|HTML -|https://github.com/vscode-langservers/vscode-html-languageserver[html] -|<> -|`npm install -g vscode-html-languageserver-bin` -| - -|Lua -|https://github.com/EmmyLua/EmmyLua-LanguageServer[EmmyLua] -|<> -|https://github.com/emacs-lsp/lsp-mode/wiki/Install-EmmyLua-Language-server[Instructions] -| - -|Haskell -|https://github.com/haskell/haskell-ide-engine[IDE engine] -|https://github.com/emacs-lsp/lsp-haskell[lsp-haskell] -|https://github.com/haskell/haskell-ide-engine[IDE engine] -| - -|Java -|https://github.com/eclipse/eclipse.jdt.ls[Eclipse JDT LS] -|https://github.com/emacs-lsp/lsp-java[lsp-java] -|https://github.com/emacs-lsp/lsp-java[lsp-java] -|Yes - -|JavaScript/TypeScript -|https://github.com/theia-ide/typescript-language-server[typescript-language-server] -(recommended) -|<> -|`npm i -g typescript-language-server; npm i -g typescript` -|Yes (Firefox/Chrome) - -|JavaScript/TypeScript -|https://github.com/sourcegraph/javascript-typescript-langserver[javascript-typescript-stdio] -|<> -|`npm i -g javascript-typescript-langserver` -|Yes (Firefox/Chrome) - -|JavaScript Flow -|https://flow.org[flow] (add-on if working on a Flow file) -|<> -|https://flow.org[flow] -|Yes (Firefox/Chrome) - -|Julia -|https://github.com/non-Jedi/lsp-julia[lsp-julia] -|https://github.com/non-Jedi/lsp-julia[lsp-julia] -|https://github.com/JuliaEditorSupport/LanguageServer.jl[LanguageServer.jl] -| - -|Kotlin -|https://github.com/fwcd/KotlinLanguageServer[kotlin-language-server] -|<> -|https://github.com/fwcd/KotlinLanguageServer[kotlin-language-server] -| - -|Ocaml -|https://github.com/freebroccolo/ocaml-language-server[ocaml-language-server] -|<> -|https://github.com/freebroccolo/ocaml-language-server[ocaml-language-server] -| - -|Ocaml -|https://github.com/ocaml/merlin[merlin] -|Built in -|https://github.com/ocaml/merlin[merlin] -| - -|PHP(recommended) -|https://github.com/bmewburn/vscode-intelephense[intelephense] -|<> -|`npm i intelephense -g` -|Yes - -|PHP -|https://github.com/felixfbecker/php-language-server[php-language-server] -|<> -|https://github.com/felixfbecker/php-language-server[php-language-server] -|Yes - -|Powershell -|https://github.com/PowerShell/PowerShellEditorServices[PowerShellEditorServices] -|https://github.com/kiennq/lsp-powershell[lsp-powershell] -|Automatic by https://github.com/kiennq/lsp-powershell[lsp-powershell] -| - -|Python -|https://github.com/palantir/python-language-server[pyls] -|<> -|`pip install 'python-language-server[all]'` -|Yes - -|Python(Microsoft) -|https://github.com/Microsoft/python-language-server[Microsoft Python Language Server] -|https://github.com/andrew-christianson/lsp-python-ms/[lsp-python-ms] -|https://github.com/andrew-christianson/lsp-python-ms/[lsp-python-ms] -|Yes - -|Ruby -|https://github.com/castwide/solargraph[solargraph] -|<> -|`gem install solargraph` -|Yes - -|Rust -|https://github.com/rust-lang-nursery/rls[rls] -|<> -|https://github.com/rust-lang-nursery/rls[rls] -|Yes - -|Rust -|https://github.com/rust-analyzer/rust-analyzer[rust-analyzer] -|Built-in -|https://github.com/rust-analyzer/rust-analyzer[rust-analyzer] -| - -|Scala -|https://scalameta.org/metals/[Metals] -|<> -|https://scalameta.org/metals/docs/editors/emacs.html[Metals] -| - -|Swift -|https://github.com/apple/sourcekit-lsp[sourcekit-LSP] -|https://github.com/emacs-lsp/lsp-sourcekit[lsp-sourcekit] -|https://github.com/apple/sourcekit-lsp[sourcekit-LSP] -|Yes (via llvm debug adapter) - -|Terraform -|https://github.com/juliosueiras/terraform-lsp[terraform-lsp] -|Built-in -|https://github.com/juliosueiras/terraform-lsp[terraform-lsp] -| - -|TeX,LaTeX,etc -|https://github.com/astoff/digestif[Digestif] -|Built-in -|https://github.com/astoff/digestif[Digestif] -| - -|VHDL -|http://www.vhdltool.com/[VHDL Tool] -|<> -|http://www.vhdltool.com/download[Download] -| - -|Vue -|https://github.com/vuejs/vetur/tree/master/server[vue-language-server] -|<> -|`npm install -g vue-language-server` -|Yes (Firefox/Chrome) - -|Vimscript -|https://github.com/iamcco/vim-language-server[vim-language-server] -|Built-in -|`npm install -g vim-language-server` -| - -|XML -|https://github.com/angelozerr/lsp4xml[lsp4xml] -|<> -|Download from https://github.com/angelozerr/lsp4xml/releases[lsp4xml releases] -| - -|YAML -|https://github.com/redhat-developer/yaml-language-server[yaml-language-server] -|<> -|`npm install -g yaml-language-server` -| - -|=== diff -Nru lsp-mode-6.2.1/doc/src/lsp-clangd/index.adoc lsp-mode-7.0.1/doc/src/lsp-clangd/index.adoc --- lsp-mode-6.2.1/doc/src/lsp-clangd/index.adoc 2019-12-05 17:08:43.000000000 +0000 +++ lsp-mode-7.0.1/doc/src/lsp-clangd/index.adoc 1970-01-01 00:00:00.000000000 +0000 @@ -1,6 +0,0 @@ -[id="lsp-clangd"] -=== Clangd support: `lsp-clangd` -`lsp-clangd` provides support for C-like languages (C, C++, Objective-C/++) -using https://clang.llvm.org/extra/clangd/[clangd]. - -include::lsp-clangd-vars.adoc[] diff -Nru lsp-mode-6.2.1/doc/src/lsp-clangd/lsp-clangd-vars.adoc lsp-mode-7.0.1/doc/src/lsp-clangd/lsp-clangd-vars.adoc --- lsp-mode-6.2.1/doc/src/lsp-clangd/lsp-clangd-vars.adoc 2019-12-05 17:08:43.000000000 +0000 +++ lsp-mode-7.0.1/doc/src/lsp-clangd/lsp-clangd-vars.adoc 1970-01-01 00:00:00.000000000 +0000 @@ -1,19 +0,0 @@ -[id="lsp-clangd-vars"] -==== `lsp-clangd` settings - -[id="lsp-clients-clangd-executable"] -- `lsp-clients-clangd-executable` -____ -Default value: `pass:["clangd"]` - -The clangd executable to use. -Leave as just the executable name to use the default behavior of -finding the executable with ‘exec-path’. -____ -[id="lsp-clients-clangd-args"] -- `lsp-clients-clangd-args` -____ -Default value: `pass:[nil]` - -Extra arguments for the clangd executable. -____ diff -Nru lsp-mode-6.2.1/doc/src/lsp-clojure/index.adoc lsp-mode-7.0.1/doc/src/lsp-clojure/index.adoc --- lsp-mode-6.2.1/doc/src/lsp-clojure/index.adoc 2019-12-05 17:08:43.000000000 +0000 +++ lsp-mode-7.0.1/doc/src/lsp-clojure/index.adoc 1970-01-01 00:00:00.000000000 +0000 @@ -1,6 +0,0 @@ -[id="lsp-clojure"] -=== Clojure support: `lsp-clojure` -`lsp-clangd` provides support for Clojure/ClojureScript -https://github.com/snoe/clojure-lsp[clojure-lsp]. - -include::lsp-clojure-vars.adoc[] diff -Nru lsp-mode-6.2.1/doc/src/lsp-clojure/lsp-clojure-vars.adoc lsp-mode-7.0.1/doc/src/lsp-clojure/lsp-clojure-vars.adoc --- lsp-mode-6.2.1/doc/src/lsp-clojure/lsp-clojure-vars.adoc 2019-12-05 17:08:43.000000000 +0000 +++ lsp-mode-7.0.1/doc/src/lsp-clojure/lsp-clojure-vars.adoc 1970-01-01 00:00:00.000000000 +0000 @@ -1,11 +0,0 @@ -[id="lsp-clojure-vars"] -==== `lsp-clojure` settings - -[id="lsp-clojure-server-command"] -- `lsp-clojure-server-command` -____ -Default value: `pass:[("bash" "-c" "clojure-lsp") -]` - -The clojure-lisp server command. -____ diff -Nru lsp-mode-6.2.1/doc/src/lsp-css/index.adoc lsp-mode-7.0.1/doc/src/lsp-css/index.adoc --- lsp-mode-6.2.1/doc/src/lsp-css/index.adoc 2019-12-05 17:08:43.000000000 +0000 +++ lsp-mode-7.0.1/doc/src/lsp-css/index.adoc 1970-01-01 00:00:00.000000000 +0000 @@ -1,6 +0,0 @@ -[id="lsp-css"] -=== CSS support: `lsp-css` -`lsp-css` provides support for CSS using -https://github.com/vscode-langservers/vscode-css-languageserver-bin[vscode-css-languageserver]. - -include::lsp-css-vars.adoc[] diff -Nru lsp-mode-6.2.1/doc/src/lsp-css/lsp-css-vars.adoc lsp-mode-7.0.1/doc/src/lsp-css/lsp-css-vars.adoc --- lsp-mode-6.2.1/doc/src/lsp-css/lsp-css-vars.adoc 2019-12-05 17:08:43.000000000 +0000 +++ lsp-mode-7.0.1/doc/src/lsp-css/lsp-css-vars.adoc 1970-01-01 00:00:00.000000000 +0000 @@ -1,180 +0,0 @@ -[id="lsp-css-vars"] -==== `lsp-css` settings - -[id="lsp-css-experimental-custom-data"] -- `lsp-css-experimental-custom-data` -____ -Default value: `pass:[nil]` - -A list of JSON file paths that define custom CSS data that -loads custom properties, at directives, pseudo classes / -elements. -____ -[id="lsp-css-completion-trigger-property-value-completion"] -- `lsp-css-completion-trigger-property-value-completion` -____ -Default value: `pass:[t]` - -By default, VS Code triggers property value completion after -selecting a CSS property. Use this setting to disable this -behavior. -____ -[id="lsp-css-validate"] -- `lsp-css-validate` -____ -Default value: `pass:[t]` - -Enables or disables all validations. -____ -[id="lsp-css-lint-compatible-vendor-prefixes"] -- `lsp-css-lint-compatible-vendor-prefixes` -____ -Default value: `pass:["ignore"]` - -When using a vendor-specific prefix make sure to also include -all other vendor-specific properties. -____ -[id="lsp-css-lint-vendor-prefix"] -- `lsp-css-lint-vendor-prefix` -____ -Default value: `pass:["warning"]` - -When using a vendor-specific prefix, also include the standard -property. -____ -[id="lsp-css-lint-duplicate-properties"] -- `lsp-css-lint-duplicate-properties` -____ -Default value: `pass:["ignore"]` - -Do not use duplicate style definitions. -____ -[id="lsp-css-lint-empty-rules"] -- `lsp-css-lint-empty-rules` -____ -Default value: `pass:["warning"]` - -Do not use empty rulesets. -____ -[id="lsp-css-lint-import-statement"] -- `lsp-css-lint-import-statement` -____ -Default value: `pass:["ignore"]` - -Import statements do not load in parallel. -____ -[id="lsp-css-lint-box-model"] -- `lsp-css-lint-box-model` -____ -Default value: `pass:["ignore"]` - -nil -____ -[id="lsp-css-lint-universal-selector"] -- `lsp-css-lint-universal-selector` -____ -Default value: `pass:["ignore"]` - -nil -____ -[id="lsp-css-lint-zero-units"] -- `lsp-css-lint-zero-units` -____ -Default value: `pass:["ignore"]` - -No unit for zero needed. -____ -[id="lsp-css-lint-font-face-properties"] -- `lsp-css-lint-font-face-properties` -____ -Default value: `pass:["warning"]` - -nil -____ -[id="lsp-css-lint-hex-color-length"] -- `lsp-css-lint-hex-color-length` -____ -Default value: `pass:["error"]` - -Hex colors must consist of three or six hex numbers. -____ -[id="lsp-css-lint-arguments-in-color-function"] -- `lsp-css-lint-arguments-in-color-function` -____ -Default value: `pass:["error"]` - -Invalid number of parameters. -____ -[id="lsp-css-lint-unknown-properties"] -- `lsp-css-lint-unknown-properties` -____ -Default value: `pass:["warning"]` - -Unknown property. -____ -[id="lsp-css-lint-valid-properties"] -- `lsp-css-lint-valid-properties` -____ -Default value: `pass:[nil]` - -A list of properties that are not validated against the -‘unknownProperties‘ rule. -____ -[id="lsp-css-lint-ie-hack"] -- `lsp-css-lint-ie-hack` -____ -Default value: `pass:["ignore"]` - -IE hacks are only necessary when supporting IE7 and older. -____ -[id="lsp-css-lint-unknown-vendor-specific-properties"] -- `lsp-css-lint-unknown-vendor-specific-properties` -____ -Default value: `pass:["ignore"]` - -Unknown vendor specific property. -____ -[id="lsp-css-lint-property-ignored-due-to-display"] -- `lsp-css-lint-property-ignored-due-to-display` -____ -Default value: `pass:["warning"]` - -nil -____ -[id="lsp-css-lint-important"] -- `lsp-css-lint-important` -____ -Default value: `pass:["ignore"]` - -nil -____ -[id="lsp-css-lint-float"] -- `lsp-css-lint-float` -____ -Default value: `pass:["ignore"]` - -nil -____ -[id="lsp-css-lint-id-selector"] -- `lsp-css-lint-id-selector` -____ -Default value: `pass:["ignore"]` - -Selectors should not contain IDs because these rules are too -tightly coupled with the HTML. -____ -[id="lsp-css-lint-unknown-at-rules"] -- `lsp-css-lint-unknown-at-rules` -____ -Default value: `pass:["warning"]` - -Unknown at-rule. -____ -[id="lsp-css-trace-server"] -- `lsp-css-trace-server` -____ -Default value: `pass:["off"]` - -Traces the communication between VS Code and the CSS language -server. -____ diff -Nru lsp-mode-6.2.1/doc/src/lsp-dart/index.adoc lsp-mode-7.0.1/doc/src/lsp-dart/index.adoc --- lsp-mode-6.2.1/doc/src/lsp-dart/index.adoc 2019-12-05 17:08:43.000000000 +0000 +++ lsp-mode-7.0.1/doc/src/lsp-dart/index.adoc 1970-01-01 00:00:00.000000000 +0000 @@ -1,6 +0,0 @@ -[id="lsp-dart"] -=== Dart support: `lsp-dart` -`lsp-dart` provides support for Dart using the -https://github.com/natebosch/dart_language_server[Dart Language Server]. - -include::lsp-dart-vars.adoc[] diff -Nru lsp-mode-6.2.1/doc/src/lsp-dart/lsp-dart-vars.adoc lsp-mode-7.0.1/doc/src/lsp-dart/lsp-dart-vars.adoc --- lsp-mode-6.2.1/doc/src/lsp-dart/lsp-dart-vars.adoc 2019-12-05 17:08:43.000000000 +0000 +++ lsp-mode-7.0.1/doc/src/lsp-dart/lsp-dart-vars.adoc 1970-01-01 00:00:00.000000000 +0000 @@ -1,10 +0,0 @@ -[id="lsp-dart-vars"] -==== `lsp-dart` settings - -[id="lsp-clients-dart-server-command"] -- `lsp-clients-dart-server-command` -____ -Default value: `pass:["~/.pub-cache/bin/dart_language_server"]` - -The dart_language_server executable to use. -____ diff -Nru lsp-mode-6.2.1/doc/src/lsp-dart-analysis/index.adoc lsp-mode-7.0.1/doc/src/lsp-dart-analysis/index.adoc --- lsp-mode-6.2.1/doc/src/lsp-dart-analysis/index.adoc 2019-12-05 17:08:43.000000000 +0000 +++ lsp-mode-7.0.1/doc/src/lsp-dart-analysis/index.adoc 1970-01-01 00:00:00.000000000 +0000 @@ -1,6 +0,0 @@ -[id="lsp-dart"] -=== Dart support: `lsp-dart-analysis` -`lsp-dart-analysis` provides support for Dart using the -https://github.com/dart-lang/sdk/blob/master/pkg/analysis_server/tool/lsp_spec/README.md[Dart Analysis Server]. - -include::lsp-dart-analysis-vars.adoc[] diff -Nru lsp-mode-6.2.1/doc/src/lsp-dart-analysis/lsp-dart-analysis-vars.adoc lsp-mode-7.0.1/doc/src/lsp-dart-analysis/lsp-dart-analysis-vars.adoc --- lsp-mode-6.2.1/doc/src/lsp-dart-analysis/lsp-dart-analysis-vars.adoc 2019-12-05 17:08:43.000000000 +0000 +++ lsp-mode-7.0.1/doc/src/lsp-dart-analysis/lsp-dart-analysis-vars.adoc 1970-01-01 00:00:00.000000000 +0000 @@ -1,23 +0,0 @@ -[id="lsp-dart-analysis-vars"] -==== `lsp-dart-analysis` settings -____ -[id="lsp-dart-analysis-sdk-dir"] -- `lsp-dart-analysis-sdk-dir` -____ -Default value: `pass:["~/flutter/bin/cache/dart-sdk/"]` - -Install directory for dart-sdk. - -NOTE: Introduced in `lsp-mode` 6.1 -____ - -____ -[id="lsp-dart-analysis-server-command"] -- `lsp-dart-analysis-server-command` -____ -Default value: `pass:[nil]` - -The analysis_server executable to use - -NOTE: Introduced in `lsp-mode` 6.1 -____ diff -Nru lsp-mode-6.2.1/doc/src/lsp-elixir/index.adoc lsp-mode-7.0.1/doc/src/lsp-elixir/index.adoc --- lsp-mode-6.2.1/doc/src/lsp-elixir/index.adoc 2019-12-05 17:08:43.000000000 +0000 +++ lsp-mode-7.0.1/doc/src/lsp-elixir/index.adoc 1970-01-01 00:00:00.000000000 +0000 @@ -1,6 +0,0 @@ -[id="lsp-elixir"] -=== Elixir support: `lsp-css` -`lsp-elixir` provides support for Elixir using -https://github.com/JakeBecker/elixir-ls[ElixirLS]. - -include::lsp-elixir-vars.adoc[] diff -Nru lsp-mode-6.2.1/doc/src/lsp-elixir/lsp-elixir-vars.adoc lsp-mode-7.0.1/doc/src/lsp-elixir/lsp-elixir-vars.adoc --- lsp-mode-6.2.1/doc/src/lsp-elixir/lsp-elixir-vars.adoc 2019-12-05 17:08:43.000000000 +0000 +++ lsp-mode-7.0.1/doc/src/lsp-elixir/lsp-elixir-vars.adoc 1970-01-01 00:00:00.000000000 +0000 @@ -1,12 +0,0 @@ -[id="lsp-elixir-vars"] -==== `lsp-elixir` settings - -[id="lsp-clients-elixir-server-executable"] -- `lsp-clients-elixir-server-executable` -____ -Default value: `pass:["language_server.sh"]` - -The elixir-language-server executable to use. -Leave as just the executable name to use the default behavior of -finding the executable with ‘exec-path’. -____ diff -Nru lsp-mode-6.2.1/doc/src/lsp-erlang/index.adoc lsp-mode-7.0.1/doc/src/lsp-erlang/index.adoc --- lsp-mode-6.2.1/doc/src/lsp-erlang/index.adoc 2019-12-05 17:08:43.000000000 +0000 +++ lsp-mode-7.0.1/doc/src/lsp-erlang/index.adoc 1970-01-01 00:00:00.000000000 +0000 @@ -1,6 +0,0 @@ -[id="lsp-erlang"] -=== Erlang support: `lsp-erlang` -`lsp-erlang` provides support for Erlang via -https://github.com/erlang-ls/erlang_ls[erlang_ls]. - -include::lsp-erlang-vars.adoc[] diff -Nru lsp-mode-6.2.1/doc/src/lsp-erlang/lsp-erlang-vars.adoc lsp-mode-7.0.1/doc/src/lsp-erlang/lsp-erlang-vars.adoc --- lsp-mode-6.2.1/doc/src/lsp-erlang/lsp-erlang-vars.adoc 2019-12-05 17:08:43.000000000 +0000 +++ lsp-mode-7.0.1/doc/src/lsp-erlang/lsp-erlang-vars.adoc 1970-01-01 00:00:00.000000000 +0000 @@ -1,10 +0,0 @@ -[id="lsp-erlang-vars"] -==== `lsp-erlang` settings - -[id="lsp-erlang-server-install-dir"] -- `lsp-erlang-server-install-dir` -____ -Default value: `pass:["."]` - -Path to the Erlang Language Server installation dir. -____ diff -Nru lsp-mode-6.2.1/doc/src/lsp-flow/index.adoc lsp-mode-7.0.1/doc/src/lsp-flow/index.adoc --- lsp-mode-6.2.1/doc/src/lsp-flow/index.adoc 2019-12-05 17:08:43.000000000 +0000 +++ lsp-mode-7.0.1/doc/src/lsp-flow/index.adoc 1970-01-01 00:00:00.000000000 +0000 @@ -1,6 +0,0 @@ -[id="lsp-flow"] -=== Flow support: `lsp-flow` -`lsp-flow` provides support for the https://flow.org/[Flow] Javascript type -checker. - -include::lsp-flow-vars.adoc[] diff -Nru lsp-mode-6.2.1/doc/src/lsp-flow/lsp-flow-vars.adoc lsp-mode-7.0.1/doc/src/lsp-flow/lsp-flow-vars.adoc --- lsp-mode-6.2.1/doc/src/lsp-flow/lsp-flow-vars.adoc 2019-12-05 17:08:43.000000000 +0000 +++ lsp-mode-7.0.1/doc/src/lsp-flow/lsp-flow-vars.adoc 1970-01-01 00:00:00.000000000 +0000 @@ -1,20 +0,0 @@ -[id="lsp-flow-vars"] -==== `lsp-flow` settings - -[id="lsp-clients-flow-server"] -- `lsp-clients-flow-server` -____ -Default value: `pass:["flow"]` - -The Flow executable to use. -Leave as just the executable name to use the default behavior of -finding the executable with variable ‘exec-path’. -____ -[id="lsp-clients-flow-server-args"] -- `lsp-clients-flow-server-args` -____ -Default value: `pass:[("lsp") -]` - -Extra arguments for starting the Flow language server. -____ diff -Nru lsp-mode-6.2.1/doc/src/lsp-fortran/index.adoc lsp-mode-7.0.1/doc/src/lsp-fortran/index.adoc --- lsp-mode-6.2.1/doc/src/lsp-fortran/index.adoc 2019-12-05 17:08:43.000000000 +0000 +++ lsp-mode-7.0.1/doc/src/lsp-fortran/index.adoc 1970-01-01 00:00:00.000000000 +0000 @@ -1,6 +0,0 @@ -[id="lsp-fortran"] -=== Fortran support: `lsp-fortran` -`lsp-fortran` provides support for Fortran using the -https://github.com/hansec/fortran-language-server[Fortran Language Server]. - -include::lsp-fortran-vars.adoc[] diff -Nru lsp-mode-6.2.1/doc/src/lsp-fortran/lsp-fortran-vars.adoc lsp-mode-7.0.1/doc/src/lsp-fortran/lsp-fortran-vars.adoc --- lsp-mode-6.2.1/doc/src/lsp-fortran/lsp-fortran-vars.adoc 2019-12-05 17:08:43.000000000 +0000 +++ lsp-mode-7.0.1/doc/src/lsp-fortran/lsp-fortran-vars.adoc 1970-01-01 00:00:00.000000000 +0000 @@ -1,19 +0,0 @@ -[id="lsp-fortran-vars"] -==== `lsp-fortran` settings - -[id="lsp-clients-fortls-executable"] -- `lsp-clients-fortls-executable` -____ -Default value: `pass:["fortls"]` - -The fortls executable to use. -Leave as just the executable name to use the default behavior of -finding the executable with ‘exec-path’. -____ -[id="lsp-clients-fortls-args"] -- `lsp-clients-fortls-args` -____ -Default value: `pass:[nil]` - -Extra arguments for the fortls executable -____ diff -Nru lsp-mode-6.2.1/doc/src/lsp-fsharp/index.adoc lsp-mode-7.0.1/doc/src/lsp-fsharp/index.adoc --- lsp-mode-6.2.1/doc/src/lsp-fsharp/index.adoc 2019-12-05 17:08:43.000000000 +0000 +++ lsp-mode-7.0.1/doc/src/lsp-fsharp/index.adoc 1970-01-01 00:00:00.000000000 +0000 @@ -1,6 +0,0 @@ -[id="lsp-fsharp"] -=== F# support: `lsp-fsharp` -`lsp-fsharp` provides support for F# using -https://github.com/fsharp/FsAutoComplete[FsAutoComplete]. - -include::lsp-fsharp-vars.adoc[] diff -Nru lsp-mode-6.2.1/doc/src/lsp-fsharp/lsp-fsharp-vars.adoc lsp-mode-7.0.1/doc/src/lsp-fsharp/lsp-fsharp-vars.adoc --- lsp-mode-6.2.1/doc/src/lsp-fsharp/lsp-fsharp-vars.adoc 2019-12-05 17:08:43.000000000 +0000 +++ lsp-mode-7.0.1/doc/src/lsp-fsharp/lsp-fsharp-vars.adoc 1970-01-01 00:00:00.000000000 +0000 @@ -1,33 +0,0 @@ -[id="lsp-fsharp-vars"] -==== `lsp-fsharp` settings - -[id="lsp-fsharp-server-runtime"] -- `lsp-fsharp-server-runtime` -____ -Default value: `pass:[net-core]` - -The .NET runtime to use. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-fsharp-server-path"] -- `lsp-fsharp-server-path` -____ -Default value: `pass:[nil]` - -The path to fsautocomplete. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-fsharp-server-args"] -- `lsp-fsharp-server-args` -____ -Default value: `pass:[nil]` - -Extra arguments for the F# language server. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ diff -Nru lsp-mode-6.2.1/doc/src/lsp-groovy/index.adoc lsp-mode-7.0.1/doc/src/lsp-groovy/index.adoc --- lsp-mode-6.2.1/doc/src/lsp-groovy/index.adoc 2019-12-05 17:08:43.000000000 +0000 +++ lsp-mode-7.0.1/doc/src/lsp-groovy/index.adoc 1970-01-01 00:00:00.000000000 +0000 @@ -1,6 +0,0 @@ -[id="lsp-groovy"] -=== Groovy support: `lsp-groovy` -`lsp-groovy` provides support for Groovy using Palantir's -https://github.com/palantir/language-servers#groovy-language-server[groovy-language-server]. - -include::lsp-groovy-vars.adoc[] diff -Nru lsp-mode-6.2.1/doc/src/lsp-groovy/lsp-groovy-vars.adoc lsp-mode-7.0.1/doc/src/lsp-groovy/lsp-groovy-vars.adoc --- lsp-mode-6.2.1/doc/src/lsp-groovy/lsp-groovy-vars.adoc 2019-12-05 17:08:43.000000000 +0000 +++ lsp-mode-7.0.1/doc/src/lsp-groovy/lsp-groovy-vars.adoc 1970-01-01 00:00:00.000000000 +0000 @@ -1,12 +0,0 @@ -[id="lsp-groovy-vars"] -==== `lsp-groovy` settings - -[id="lsp-groovy-server-install-dir"] -- `lsp-groovy-server-install-dir` -____ -Default value: `pass:["~/.emacs.d/groovy-language-server/"]` - -Install directory for groovy-language-server. -A slash is expected at the end. -This directory shoud contain a file matching groovy-language-server-*.jar -____ diff -Nru lsp-mode-6.2.1/doc/src/lsp-hack/index.adoc lsp-mode-7.0.1/doc/src/lsp-hack/index.adoc --- lsp-mode-6.2.1/doc/src/lsp-hack/index.adoc 2019-12-05 17:08:43.000000000 +0000 +++ lsp-mode-7.0.1/doc/src/lsp-hack/index.adoc 1970-01-01 00:00:00.000000000 +0000 @@ -1,6 +0,0 @@ -[id="lsp-hack"] -=== Hack support: `lsp-css` -`lsp-hack` provides support for Hack using -https://docs.hhvm.com/hhvm/[HHVM]. - -include::lsp-hack-vars.adoc[] diff -Nru lsp-mode-6.2.1/doc/src/lsp-hack/lsp-hack-vars.adoc lsp-mode-7.0.1/doc/src/lsp-hack/lsp-hack-vars.adoc --- lsp-mode-6.2.1/doc/src/lsp-hack/lsp-hack-vars.adoc 2019-12-05 17:08:43.000000000 +0000 +++ lsp-mode-7.0.1/doc/src/lsp-hack/lsp-hack-vars.adoc 1970-01-01 00:00:00.000000000 +0000 @@ -1,11 +0,0 @@ -[id="lsp-hack-vars"] -==== `lsp-hack` settings - -[id="lsp-clients-hack-command"] -- `lsp-clients-hack-command` -____ -Default value: `pass:[("hh_client" "lsp" "--from" "emacs") -]` - -Command to start hh_client. -____ diff -Nru lsp-mode-6.2.1/doc/src/lsp-html/index.adoc lsp-mode-7.0.1/doc/src/lsp-html/index.adoc --- lsp-mode-6.2.1/doc/src/lsp-html/index.adoc 2019-12-05 17:08:43.000000000 +0000 +++ lsp-mode-7.0.1/doc/src/lsp-html/index.adoc 1970-01-01 00:00:00.000000000 +0000 @@ -1,6 +0,0 @@ -[id="lsp-html"] -=== HTML support: `lsp-html` -`lsp-html` provides support for HTML using -https://github.com/vscode-langservers/vscode-html-languageserver-bin[vscode-html-languageserver]. - -include::lsp-html-vars.adoc[] diff -Nru lsp-mode-6.2.1/doc/src/lsp-html/lsp-html-vars.adoc lsp-mode-7.0.1/doc/src/lsp-html/lsp-html-vars.adoc --- lsp-mode-6.2.1/doc/src/lsp-html/lsp-html-vars.adoc 2019-12-05 17:08:43.000000000 +0000 +++ lsp-mode-7.0.1/doc/src/lsp-html/lsp-html-vars.adoc 1970-01-01 00:00:00.000000000 +0000 @@ -1,189 +0,0 @@ -[id="lsp-html-vars"] -==== `lsp-html` settings - -[id="lsp-html-experimental-custom-data"] -- `lsp-html-experimental-custom-data` -____ -Default value: `pass:[nil]` - -A list of JSON file paths that define custom tags, properties and other HTML -syntax constructs. Only workspace folder setting will be read. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-html-format-enable"] -- `lsp-html-format-enable` -____ -Default value: `pass:[t]` - -Enable/disable default HTML formatter. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-html-format-wrap-line-length"] -- `lsp-html-format-wrap-line-length` -____ -Default value: `pass:[120]` - -Maximum amount of characters per line (0 = disable). - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-html-format-unformatted"] -- `lsp-html-format-unformatted` -____ -Default value: `pass:["wbr"]` - -nil - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-html-format-content-unformatted"] -- `lsp-html-format-content-unformatted` -____ -Default value: `pass:["pre,code,textarea"]` - -nil - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-html-format-indent-inner-html"] -- `lsp-html-format-indent-inner-html` -____ -Default value: `pass:[nil]` - -nil - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-html-format-preserve-new-lines"] -- `lsp-html-format-preserve-new-lines` -____ -Default value: `pass:[t]` - -Controls whether existing line breaks before elements should be preserved. -Only works before elements, not inside tags or for text. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-html-format-max-preserve-new-lines"] -- `lsp-html-format-max-preserve-new-lines` -____ -Default value: `pass:[nil]` - -nil - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-html-format-indent-handlebars"] -- `lsp-html-format-indent-handlebars` -____ -Default value: `pass:[nil]` - -nil - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-html-format-end-with-newline"] -- `lsp-html-format-end-with-newline` -____ -Default value: `pass:[nil]` - -End with a newline. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-html-format-extra-liners"] -- `lsp-html-format-extra-liners` -____ -Default value: `pass:["head, body, /html"]` - -nil - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-html-format-wrap-attributes"] -- `lsp-html-format-wrap-attributes` -____ -Default value: `pass:["auto"]` - -Wrap attributes. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-html-suggest-html5"] -- `lsp-html-suggest-html5` -____ -Default value: `pass:[t]` - -Controls whether the built-in HTML language support suggests HTML5 tags, -properties and values. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-html-validate-scripts"] -- `lsp-html-validate-scripts` -____ -Default value: `pass:[t]` - -Controls whether the built-in HTML language support validates embedded -scripts. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-html-validate-styles"] -- `lsp-html-validate-styles` -____ -Default value: `pass:[t]` - -Controls whether the built-in HTML language support validates embedded -styles. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-html-auto-closing-tags"] -- `lsp-html-auto-closing-tags` -____ -Default value: `pass:[t]` - -Enable/disable autoclosing of HTML tags. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-html-trace-server"] -- `lsp-html-trace-server` -____ -Default value: `pass:["off"]` - -Traces the communication between VS Code and the HTML language server. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-html-server-command"] -- `lsp-html-server-command` -____ -Default value: `pass:[("html-languageserver" "--stdio") -]` - -Command to start html-languageserver. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ diff -Nru lsp-mode-6.2.1/doc/src/lsp-intelephense/index.adoc lsp-mode-7.0.1/doc/src/lsp-intelephense/index.adoc --- lsp-mode-6.2.1/doc/src/lsp-intelephense/index.adoc 2019-12-05 17:08:43.000000000 +0000 +++ lsp-mode-7.0.1/doc/src/lsp-intelephense/index.adoc 1970-01-01 00:00:00.000000000 +0000 @@ -1,5 +0,0 @@ -[id="lsp-intelephense"] -=== PHP support: `lsp-intelephense` -`lsp-php` provides support for PHP using http://intelephense.net/[Intelephense]. - -include::lsp-intelephense-vars.adoc[] diff -Nru lsp-mode-6.2.1/doc/src/lsp-intelephense/lsp-intelephense-vars.adoc lsp-mode-7.0.1/doc/src/lsp-intelephense/lsp-intelephense-vars.adoc --- lsp-mode-6.2.1/doc/src/lsp-intelephense/lsp-intelephense-vars.adoc 2019-12-05 17:08:43.000000000 +0000 +++ lsp-mode-7.0.1/doc/src/lsp-intelephense/lsp-intelephense-vars.adoc 1970-01-01 00:00:00.000000000 +0000 @@ -1,113 +0,0 @@ -[id="lsp-intelephense-vars"] -==== `lsp-intelephense` settings - -[id="lsp-intelephense-files-max-size"] -- `lsp-intelephense-files-max-size` -____ -Default value: `pass:[1000000]` - -Maximum file size in bytes. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-intelephense-files-associations"] -- `lsp-intelephense-files-associations` -____ -Default value: `pass:[["*.php" "*.phtml"] -]` - -Configure glob patterns to make files available for language - server features. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-intelephense-files-exclude"] -- `lsp-intelephense-files-exclude` -____ -Default value: `pass:[["**/.git/**" "**/.svn/**" "**/.hg/**" "**/CVS/**" "**/.DS_Store/**" "**/node_modules/**" "**/bower_components/**" "**/vendor/**/{Test,test,Tests,tests}/**"] -]` - -Configure glob patterns to exclude certain files and folders from all language server features. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-intelephense-stubs"] -- `lsp-intelephense-stubs` -____ -Default value: `pass:[["apache" "bcmath" "bz2" "calendar" "com_dotnet" "Core" "csprng" "ctype" "curl" "date" "dba" "dom" "enchant" "exif" "fileinfo" "filter" "fpm" "ftp" "gd" "hash" "iconv" "imap" "interbase" "intl" "json" "ldap" "libxml" "mbstring" "mcrypt" "mssql" "mysql" "mysqli" "oci8" "odcb" "openssl" "password" "pcntl" "pcre" "PDO" "pdo_ibm" "pdo_mysql" "pdo_pgsql" "pdo_sqlite" "pgsql" "Phar" "posix" "pspell" "readline" "recode" "Reflection" "regex" "session" "shmop" "SimpleXML" "snmp" "soap" "sockets" "sodium" "SPL" "sqlite3" "standard" "superglobals" "sybase" "sysvmsg" "sysvsem" "sysvshm" "tidy" "tokenizer" "wddx" "xml" "xmlreader" "xmlrpc" "xmlwriter" "Zend OPcache" "zip" "zlib"] -]` - -Configure stub files for built in symbols and common - extensions. The default setting includes PHP core and all - bundled extensions. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-intelephense-completion-insert-use-declaration"] -- `lsp-intelephense-completion-insert-use-declaration` -____ -Default value: `pass:[t]` - -Use declarations will be automatically inserted for namespaced - classes, traits, interfaces, functions, and constants. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-intelephense-completion-fully-qualify-global-constants-and-functions"] -- `lsp-intelephense-completion-fully-qualify-global-constants-and-functions` -____ -Default value: `pass:[nil]` - -Global namespace constants and functions will be fully - qualified (prefixed with a backslash). - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-intelephense-format-enable"] -- `lsp-intelephense-format-enable` -____ -Default value: `pass:[t]` - -Enables formatting - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-intelephense-trace-server"] -- `lsp-intelephense-trace-server` -____ -Default value: `pass:["off"]` - -Traces the communication between VSCode and the intelephense - language server. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-intelephense-storage-path"] -- `lsp-intelephense-storage-path` -____ -Default value: `pass:["~/.emacs.d/lsp-cache"]` - -Optional absolute path to storage dir. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-intelephense-server-command"] -- `lsp-intelephense-server-command` -____ -Default value: `pass:[("intelephense" "--stdio") -]` - -Command to start Intelephense. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ diff -Nru lsp-mode-6.2.1/doc/src/lsp-kotlin/index.adoc lsp-mode-7.0.1/doc/src/lsp-kotlin/index.adoc --- lsp-mode-6.2.1/doc/src/lsp-kotlin/index.adoc 2019-12-05 17:08:43.000000000 +0000 +++ lsp-mode-7.0.1/doc/src/lsp-kotlin/index.adoc 1970-01-01 00:00:00.000000000 +0000 @@ -1,6 +0,0 @@ -[id="lsp-kotlin"] -=== Kotlin support: `lsp-kotlin` -`lsp-kotlin` provides support for Kotlin using -https://github.com/fwcd/KotlinLanguageServer[KotlinLanguageServer]. - -include::lsp-kotlin-vars.adoc[] diff -Nru lsp-mode-6.2.1/doc/src/lsp-kotlin/lsp-kotlin-vars.adoc lsp-mode-7.0.1/doc/src/lsp-kotlin/lsp-kotlin-vars.adoc --- lsp-mode-6.2.1/doc/src/lsp-kotlin/lsp-kotlin-vars.adoc 2019-12-05 17:08:43.000000000 +0000 +++ lsp-mode-7.0.1/doc/src/lsp-kotlin/lsp-kotlin-vars.adoc 1970-01-01 00:00:00.000000000 +0000 @@ -1,4 +0,0 @@ -[id="lsp-kotlin-vars"] -==== `lsp-kotlin` settings - - diff -Nru lsp-mode-6.2.1/doc/src/lsp-langs.adoc lsp-mode-7.0.1/doc/src/lsp-langs.adoc --- lsp-mode-6.2.1/doc/src/lsp-langs.adoc 2019-12-05 17:08:43.000000000 +0000 +++ lsp-mode-7.0.1/doc/src/lsp-langs.adoc 1970-01-01 00:00:00.000000000 +0000 @@ -1,49 +0,0 @@ -include::lsp-clangd/index.adoc[] - -include::lsp-clojure/index.adoc[] - -include::lsp-css/index.adoc[] - -include::lsp-dart/index.adoc[] - -include::lsp-elixir/index.adoc[] - -include::lsp-erlang/index.adoc[] - -include::lsp-flow/index.adoc[] - -include::lsp-fortran/index.adoc[] - -include::lsp-fsharp/index.adoc[] - -include::lsp-groovy/index.adoc[] - -include::lsp-hack/index.adoc[] - -include::lsp-html/index.adoc[] - -include::lsp-intelephense/index.adoc[] - -include::lsp-kotlin/index.adoc[] - -include::lsp-ocaml/index.adoc[] - -include::lsp-php/index.adoc[] - -include::lsp-pyls/index.adoc[] - -include::lsp-rust/index.adoc[] - -include::lsp-metals/index.adoc[] - -include::lsp-solargraph/index.adoc[] - -include::lsp-typescript/index.adoc[] - -include::lsp-typescript-javascript/index.adoc[] - -include::lsp-vetur/index.adoc[] - -include::lsp-xml/index.adoc[] - -include::lsp-yaml/index.adoc[] diff -Nru lsp-mode-6.2.1/doc/src/lsp-metals/index.adoc lsp-mode-7.0.1/doc/src/lsp-metals/index.adoc --- lsp-mode-6.2.1/doc/src/lsp-metals/index.adoc 2019-12-05 17:08:43.000000000 +0000 +++ lsp-mode-7.0.1/doc/src/lsp-metals/index.adoc 1970-01-01 00:00:00.000000000 +0000 @@ -1,6 +0,0 @@ -[id="lsp-metals"] -=== Metals support: `lsp-metals` -`lsp-metals` provides support for Scala using -https://scalameta.org/metals/[Metals]. - -include::lsp-metals-vars.adoc[] diff -Nru lsp-mode-6.2.1/doc/src/lsp-metals/lsp-metals-vars.adoc lsp-mode-7.0.1/doc/src/lsp-metals/lsp-metals-vars.adoc --- lsp-mode-6.2.1/doc/src/lsp-metals/lsp-metals-vars.adoc 2019-12-05 17:08:43.000000000 +0000 +++ lsp-mode-7.0.1/doc/src/lsp-metals/lsp-metals-vars.adoc 1970-01-01 00:00:00.000000000 +0000 @@ -1,73 +0,0 @@ -[id="lsp-metals-vars"] -==== `lsp-metals` settings - -[id="lsp-metals-server-command"] -- `lsp-metals-server-command` -____ -Default value: `pass:["metals-emacs"]` - -The command to launch the Scala language server. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-metals-server-args"] -- `lsp-metals-server-args` -____ -Default value: `pass:[nil]` - -Extra arguments for the Scala language server. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-metals-java-home"] -- `lsp-metals-java-home` -____ -Default value: `pass:[""]` - -The Java Home directory used for indexing JDK sources and locating -the ‘java‘ binary. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-metals-scalafmt-config-path"] -- `lsp-metals-scalafmt-config-path` -____ -Default value: `pass:[""]` - -Optional custom path to the .scalafmt.conf file. Should be relative -to the workspace root directory and use forward slashes / for file -separators (even on Windows). - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-metals-sbt-script"] -- `lsp-metals-sbt-script` -____ -Default value: `pass:[""]` - -Optional absolute path to an ‘sbt‘ executable to use for running -‘sbt bloopInstall‘. By default, Metals uses ‘java -jar sbt-launch.jar‘ -with an embedded launcher while respecting ‘.jvmopts‘ and ‘.sbtopts‘. -Update this setting if your ‘sbt‘ script requires more customizations -like using environment variables. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-metals-gradle-script"] -- `lsp-metals-gradle-script` -____ -Default value: `pass:[""]` - -Optional absolute path to a ‘gradle‘ executable to use for running -‘gradle bloopInstall‘. By default, Metals uses gradlew with 5.3.1 -gradle version. Update this setting if your ‘gradle‘ script requires -more customizations like using environment variables. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ diff -Nru lsp-mode-6.2.1/doc/src/lsp-mode.adoc lsp-mode-7.0.1/doc/src/lsp-mode.adoc --- lsp-mode-6.2.1/doc/src/lsp-mode.adoc 2019-12-05 17:08:43.000000000 +0000 +++ lsp-mode-7.0.1/doc/src/lsp-mode.adoc 1970-01-01 00:00:00.000000000 +0000 @@ -1,23 +0,0 @@ -= lsp-mode -Vibhav Pant -6.1, May 16, 2019 -:toc: left -:homepage: https://github.com/emacs-lsp/lsp-mode -:source-highlighter: pygments -:icons: font - -include::introduction.adoc[] - -include::installation.adoc[] - -include::configuration.adoc[] - -include::usage.adoc[] - -include::issues.adoc[] - -include::adding-support.adoc[] - -include::lang-support.adoc[] - -include::lsp-langs.adoc[] diff -Nru lsp-mode-6.2.1/doc/src/lsp-mode-vars.adoc lsp-mode-7.0.1/doc/src/lsp-mode-vars.adoc --- lsp-mode-6.2.1/doc/src/lsp-mode-vars.adoc 2019-12-05 17:08:43.000000000 +0000 +++ lsp-mode-7.0.1/doc/src/lsp-mode-vars.adoc 1970-01-01 00:00:00.000000000 +0000 @@ -1,449 +0,0 @@ -[id="lsp-mode-vars"] -==== `lsp-mode` settings - -[id="lsp-print-io"] -- `lsp-print-io` -____ -Default value: `pass:[nil]` - -If non-nil, print all messages to and from the language server to *lsp-log*. -____ -[id="lsp-print-performance"] -- `lsp-print-performance` -____ -Default value: `pass:[nil]` - -If non-nil, print performance info in the logs. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-use-native-json"] -- `lsp-use-native-json` -____ -Default value: `pass:[t]` - -If non-nil, use native json parsing if available. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-json-use-lists"] -- `lsp-json-use-lists` -____ -Default value: `pass:[nil]` - -If non-nil, use lists instead of vectors when doing json deserialization. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-log-max"] -- `lsp-log-max` -____ -Default value: `pass:[1000]` - -Maximum number of lines to keep in the log buffer. -If nil, disable message logging. If t, log messages but don’t truncate -the buffer when it becomes large. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-io-messages-max"] -- `lsp-io-messages-max` -____ -Default value: `pass:[t]` - -Maximum number of messages that can be locked in a ‘lsp-io’ buffer. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-report-if-no-buffer"] -- `lsp-report-if-no-buffer` -____ -Default value: `pass:[t]` - -If non nil the errors will be reported even when the file is not open. -____ -[id="lsp-keep-workspace-alive"] -- `lsp-keep-workspace-alive` -____ -Default value: `pass:[t]` - -If non nil keep workspace alive when the last workspace buffer is closed. -____ -[id="lsp-enable-snippet"] -- `lsp-enable-snippet` -____ -Default value: `pass:[nil]` - -Enable/disable snippet completion support. -____ -[id="lsp-enable-folding"] -- `lsp-enable-folding` -____ -Default value: `pass:[t]` - -Enable/disable code folding support. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-folding-range-limit"] -- `lsp-folding-range-limit` -____ -Default value: `pass:[nil]` - -The maximum number of folding ranges to receive from the language server. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-folding-line-folding-only"] -- `lsp-folding-line-folding-only` -____ -Default value: `pass:[nil]` - -If non-nil, only fold complete lines. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-auto-require-clients"] -- `lsp-auto-require-clients` -____ -Default value: `pass:[t]` - -Auto require lsp-clients. -____ -[id="lsp-auto-guess-root"] -- `lsp-auto-guess-root` -____ -Default value: `pass:[nil]` - -Automatically guess the project root using projectile/project. -____ -[id="lsp-restart"] -- `lsp-restart` -____ -Default value: `pass:[interactive]` - -Defines how server exited event must be handled. -____ -[id="lsp-session-file"] -- `lsp-session-file` -____ -Default value: `pass:["~/.emacs.d/.lsp-session-v1"]` - -Automatically guess the project root using projectile/project. -____ -[id="lsp-auto-configure"] -- `lsp-auto-configure` -____ -Default value: `pass:[t]` - -Auto configure ‘lsp-mode’. -When set to t ‘lsp-mode’ will auto-configure ‘lsp-ui’ and ‘company-lsp’. -____ -[id="lsp-disabled-clients"] -- `lsp-disabled-clients` -____ -Default value: `pass:[nil]` -A list of disabled/blacklisted clients. -Each entry in the list can be either: -a symbol, the server-id for the LSP client, or -a cons pair (MAJOR-MODE . CLIENTS), where MAJOR-MODE is the major-mode, -and CLIENTS is either a client or a list of clients. - -This option can also be used as a file or directory local variable to -disable a language server for individual files or directories/projects -respectively. -____ -[id="lsp-before-initialize-hook"] -- `lsp-before-initialize-hook` -____ -Default value: `pass:[nil]` - -List of functions to be called before a Language Server has been initialized for a new workspace. -____ -[id="lsp-after-initialize-hook"] -- `lsp-after-initialize-hook` -____ -Default value: `pass:[nil]` - -List of functions to be called after a Language Server has been initialized for a new workspace. -____ -[id="lsp-before-open-hook"] -- `lsp-before-open-hook` -____ -Default value: `pass:[nil]` - -List of functions to be called before a new file with LSP support is opened. -____ -[id="lsp-after-open-hook"] -- `lsp-after-open-hook` -____ -Default value: `pass:[nil]` - -List of functions to be called after a new file with LSP support is opened. -____ -[id="lsp-enable-file-watchers"] -- `lsp-enable-file-watchers` -____ -Default value: `pass:[t]` - -If non-nil lsp-mode will watch the files in the workspace if -the server has requested that. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-file-watch-ignored"] -- `lsp-file-watch-ignored` -____ -Default value: `pass:[("[/\\\\]\\.git$" "[/\\\\]\\.hg$" "[/\\\\]\\.bzr$" "[/\\\\]_darcs$" "[/\\\\]\\.svn$" "[/\\\\]_FOSSIL_$" "[/\\\\]\\.idea$" "[/\\\\]\\.ensime_cache$" "[/\\\\]\\.eunit$" "[/\\\\]node_modules$" "[/\\\\]\\.fslckout$" "[/\\\\]\\.tox$" "[/\\\\]\\.stack-work$" "[/\\\\]\\.bloop$" "[/\\\\]\\.metals$" "[/\\\\]target$" "[/\\\\]\\.deps$" "[/\\\\]build-aux$" "[/\\\\]autom4te.cache$" "[/\\\\]\\.reference$") -]` - -List of regexps matching directory paths which won’t be monitored when creating file watches. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-after-uninitialized-hook"] -- `lsp-after-uninitialized-hook` -____ -Default value: `pass:[(doom-modeline-update-lsp) -]` - -List of functions to be called after a Language Server has been uninitialized. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-debounce-full-sync-notifications"] -- `lsp-debounce-full-sync-notifications` -____ -Default value: `pass:[t]` - -If non-nil debounce full sync events. -This flag affects only server which do not support incremental update. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-debounce-full-sync-notifications-interval"] -- `lsp-debounce-full-sync-notifications-interval` -____ -Default value: `pass:[1.0]` - -Time to wait before sending full sync synchronization after buffer modication. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-document-sync-method"] -- `lsp-document-sync-method` -____ -Default value: `pass:[nil]` - -How to sync the document with the language server. -____ -[id="lsp-auto-execute-action"] -- `lsp-auto-execute-action` -____ -Default value: `pass:[t]` - -Auto-execute single action. -____ -[id="lsp-enable-links"] -- `lsp-enable-links` -____ -Default value: `pass:[t]` - -If non-nil, all references to links in a file will be made clickable, if supported by the language server. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-links-check-internal"] -- `lsp-links-check-internal` -____ -Default value: `pass:[0.1]` - -The interval for updating document links. -____ -[id="lsp-eldoc-enable-hover"] -- `lsp-eldoc-enable-hover` -____ -Default value: `pass:[t]` - -If non-nil, eldoc will display hover info when it is present. -____ -[id="lsp-eldoc-enable-signature-help"] -- `lsp-eldoc-enable-signature-help` -____ -Default value: `pass:[t]` - -If non-nil, eldoc will display signature help when it is present. -____ -[id="lsp-eldoc-prefer-signature-help"] -- `lsp-eldoc-prefer-signature-help` -____ -Default value: `pass:[t]` - -If non-nil, eldoc will display signature help when both hover and signature help are present. -____ -[id="lsp-eldoc-render-all"] -- `lsp-eldoc-render-all` -____ -Default value: `pass:[nil]` - -Define whether all of the returned by document/onHover will be displayed. -If ‘lsp-eldoc-render-all’ is set to nil ‘eldoc’ will show only -the symbol information. -____ -[id="lsp-signature-render-all"] -- `lsp-signature-render-all` -____ -Default value: `pass:[t]` - -Define whether all of the returned by textDocument/signatureHelp will be displayed. -If ‘lsp-signature-render-all’ is set to nil ‘eldoc’ will show only -the active signature. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-enable-completion-at-point"] -- `lsp-enable-completion-at-point` -____ -Default value: `pass:[t]` - -Enable ‘completion-at-point’ integration. -____ -[id="lsp-enable-symbol-highlighting"] -- `lsp-enable-symbol-highlighting` -____ -Default value: `pass:[t]` - -Highlight references of the symbol at point. -____ -[id="lsp-enable-xref"] -- `lsp-enable-xref` -____ -Default value: `pass:[t]` - -Enable xref integration. -____ -[id="lsp-enable-indentation"] -- `lsp-enable-indentation` -____ -Default value: `pass:[t]` - -Indent regions using the file formatting functionality provided by the language server. -____ -[id="lsp-enable-on-type-formatting"] -- `lsp-enable-on-type-formatting` -____ -Default value: `pass:[t]` - -Enable ‘textDocument/onTypeFormatting’ integration. -____ -[id="lsp-before-save-edits"] -- `lsp-before-save-edits` -____ -Default value: `pass:[t]` - -If non-nil, ‘lsp-mode’ will apply edits suggested by the language server before saving a document. -____ -[id="lsp-after-diagnostics-hook"] -- `lsp-after-diagnostics-hook` -____ -Default value: `pass:[nil]` - -Hooks to run after diagnostics are received. -____ -[id="lsp-workspace-folders-changed-hook"] -- `lsp-workspace-folders-changed-hook` -____ -Default value: `pass:[nil]` - -Hooks to run after the folders has changed. -The hook will receive two parameters list of added and removed folders. -____ -[id="lsp-on-hover-hook"] -- `lsp-on-hover-hook` -____ -Default value: `pass:[nil]` - -The hooks that run after on hover and signature information has been loaded. -The hook is called with two params: the signature information and hover data. -____ -[id="lsp-eldoc-hook"] -- `lsp-eldoc-hook` -____ -Default value: `pass:[(lsp-hover) -]` - -Hooks to run for eldoc. -____ -[id="lsp-response-timeout"] -- `lsp-response-timeout` -____ -Default value: `pass:[10]` - -Number of seconds to wait for a response from the language server before timing out. -____ -[id="lsp-prefer-flymake"] -- `lsp-prefer-flymake` -____ -Default value: `pass:[t]` - -Auto-configure to prefer ‘flymake’ over ‘lsp-ui’ if both are present. -If set to ‘:none’ neither of two will be enabled. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-lens-check-interval"] -- `lsp-lens-check-interval` -____ -Default value: `pass:[0.1]` - -The interval for checking for changes in the buffer state. -____ -[id="lsp-lens-debounce-interval"] -- `lsp-lens-debounce-interval` -____ -Default value: `pass:[0.7]` - -Debounce interval for loading lenses. -____ -[id="lsp-symbol-highlighting-skip-current"] -- `lsp-symbol-highlighting-skip-current` -____ -Default value: `pass:[nil]` - -If non-nil skip current symbol when setting symbol highlights. -____ -[id="lsp-document-highlight-delay"] -- `lsp-document-highlight-delay` -____ -Default value: `pass:[0.2]` - -Seconds of idle time to wait before showing symbol highlight. -____ -[id="lsp-server-trace"] -- `lsp-server-trace` -____ -Default value `pass:[nil]` - -Request tracing on the server side. -The actual trace output at each level depends on the language server in use. -Changes take effect only when a new session is started. - -Allowed options are ‘off’, ‘messages’, ‘verbose’ or `nil`. `nil` has the same -effect as ‘off’. -____ \ No newline at end of file diff -Nru lsp-mode-6.2.1/doc/src/lsp-ocaml/index.adoc lsp-mode-7.0.1/doc/src/lsp-ocaml/index.adoc --- lsp-mode-6.2.1/doc/src/lsp-ocaml/index.adoc 2019-12-05 17:08:43.000000000 +0000 +++ lsp-mode-7.0.1/doc/src/lsp-ocaml/index.adoc 1970-01-01 00:00:00.000000000 +0000 @@ -1,6 +0,0 @@ -[id="lsp-ocaml"] -=== Ocaml support: `lsp-ocaml` -`lsp-ocaml` provides support for Ocaml using -https://github.com/freebroccolo/ocaml-language-server[ocaml-language-server]. - -include::lsp-ocaml-vars.adoc[] diff -Nru lsp-mode-6.2.1/doc/src/lsp-ocaml/lsp-ocaml-vars.adoc lsp-mode-7.0.1/doc/src/lsp-ocaml/lsp-ocaml-vars.adoc --- lsp-mode-6.2.1/doc/src/lsp-ocaml/lsp-ocaml-vars.adoc 2019-12-05 17:08:43.000000000 +0000 +++ lsp-mode-7.0.1/doc/src/lsp-ocaml/lsp-ocaml-vars.adoc 1970-01-01 00:00:00.000000000 +0000 @@ -1,11 +0,0 @@ -[id="lsp-ocaml-vars"] -==== `lsp-ocaml` settings - -[id="lsp-ocaml-lang-server-command"] -- `lsp-ocaml-lang-server-command` -____ -Default value: `pass:[("ocaml-language-server" "--stdio") -]` - -Command to start ocaml-language-server. -____ diff -Nru lsp-mode-6.2.1/doc/src/lsp-php/index.adoc lsp-mode-7.0.1/doc/src/lsp-php/index.adoc --- lsp-mode-6.2.1/doc/src/lsp-php/index.adoc 2019-12-05 17:08:43.000000000 +0000 +++ lsp-mode-7.0.1/doc/src/lsp-php/index.adoc 1970-01-01 00:00:00.000000000 +0000 @@ -1,6 +0,0 @@ -[id="lsp-php"] -=== PHP support: `lsp-php` -`lsp-css` provides support for CSS using -https://github.com/felixfbecker/php-language-server[PHP Language Server]. - -include::lsp-php-vars.adoc[] diff -Nru lsp-mode-6.2.1/doc/src/lsp-php/lsp-php-vars.adoc lsp-mode-7.0.1/doc/src/lsp-php/lsp-php-vars.adoc --- lsp-mode-6.2.1/doc/src/lsp-php/lsp-php-vars.adoc 2019-12-05 17:08:43.000000000 +0000 +++ lsp-mode-7.0.1/doc/src/lsp-php/lsp-php-vars.adoc 1970-01-01 00:00:00.000000000 +0000 @@ -1,11 +0,0 @@ -[id="lsp-php-vars"] -==== `lsp-php` settings - -[id="lsp-clients-php-server-command"] -- `lsp-clients-php-server-command` -____ -Default value: `pass:[("php" "~/.composer/vendor/felixfbecker/language-server/bin/php-language-server.php") -]` - -Install directory for php-language-server. -____ diff -Nru lsp-mode-6.2.1/doc/src/lsp-pyls/index.adoc lsp-mode-7.0.1/doc/src/lsp-pyls/index.adoc --- lsp-mode-6.2.1/doc/src/lsp-pyls/index.adoc 2019-12-05 17:08:43.000000000 +0000 +++ lsp-mode-7.0.1/doc/src/lsp-pyls/index.adoc 1970-01-01 00:00:00.000000000 +0000 @@ -1,6 +0,0 @@ -[id="lsp-pyls"] -=== Python support: `lsp-pyls` -`lsp-pyls` provides support for Python using -https://github.com/palantir/python-language-server[pyls] - -include::lsp-pyls-vars.adoc[] diff -Nru lsp-mode-6.2.1/doc/src/lsp-pyls/lsp-pyls-vars.adoc lsp-mode-7.0.1/doc/src/lsp-pyls/lsp-pyls-vars.adoc --- lsp-mode-6.2.1/doc/src/lsp-pyls/lsp-pyls-vars.adoc 2019-12-05 17:08:43.000000000 +0000 +++ lsp-mode-7.0.1/doc/src/lsp-pyls/lsp-pyls-vars.adoc 1970-01-01 00:00:00.000000000 +0000 @@ -1,402 +0,0 @@ -[id="lsp-pyls-vars"] -==== `lsp-pyls` settings - -[id="lsp-clients-python-library-directories"] -- `lsp-clients-python-library-directories` -____ -Default value: `pass:[("/usr/") -]` - -List of directories which will be considered to be libraries. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-pyls-server-command"] -- `lsp-pyls-server-command` -____ -Default value: `pass:[("pyls") -]` - -Command to start pyls. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-pyls-configuration-sources"] -- `lsp-pyls-configuration-sources` -____ -Default value: `pass:[["pycodestyle"] -]` - -List of configuration sources to use. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-pyls-plugins-jedi-completion-enabled"] -- `lsp-pyls-plugins-jedi-completion-enabled` -____ -Default value: `pass:[t]` - -Enable or disable the plugin. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-pyls-plugins-jedi-completion-include-params"] -- `lsp-pyls-plugins-jedi-completion-include-params` -____ -Default value: `pass:[t]` - -Auto-completes methods and classes with tabstops for each -parameter. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-pyls-plugins-jedi-definition-enabled"] -- `lsp-pyls-plugins-jedi-definition-enabled` -____ -Default value: `pass:[t]` - -Enable or disable the plugin. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-pyls-plugins-jedi-definition-follow-imports"] -- `lsp-pyls-plugins-jedi-definition-follow-imports` -____ -Default value: `pass:[t]` - -The goto call will follow imports. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-pyls-plugins-jedi-definition-follow-builtin-imports"] -- `lsp-pyls-plugins-jedi-definition-follow-builtin-imports` -____ -Default value: `pass:[t]` - -If follow_imports is True will decide if it follow builtin -imports. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-pyls-plugins-jedi-hover-enabled"] -- `lsp-pyls-plugins-jedi-hover-enabled` -____ -Default value: `pass:[t]` - -Enable or disable the plugin. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-pyls-plugins-jedi-references-enabled"] -- `lsp-pyls-plugins-jedi-references-enabled` -____ -Default value: `pass:[t]` - -Enable or disable the plugin. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-pyls-plugins-jedi-signature-help-enabled"] -- `lsp-pyls-plugins-jedi-signature-help-enabled` -____ -Default value: `pass:[t]` - -Enable or disable the plugin. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-pyls-plugins-jedi-symbols-enabled"] -- `lsp-pyls-plugins-jedi-symbols-enabled` -____ -Default value: `pass:[t]` - -Enable or disable the plugin. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-pyls-plugins-jedi-symbols-all-scopes"] -- `lsp-pyls-plugins-jedi-symbols-all-scopes` -____ -Default value: `pass:[t]` - -If True lists the names of all scopes instead of only the -module namespace. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-pyls-plugins-mccabe-enabled"] -- `lsp-pyls-plugins-mccabe-enabled` -____ -Default value: `pass:[t]` - -Enable or disable the plugin. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-pyls-plugins-mccabe-threshold"] -- `lsp-pyls-plugins-mccabe-threshold` -____ -Default value: `pass:[15]` - -The minimum threshold that triggers warnings about cyclomatic -complexity. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-pyls-plugins-preload-enabled"] -- `lsp-pyls-plugins-preload-enabled` -____ -Default value: `pass:[t]` - -Enable or disable the plugin. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-pyls-plugins-preload-modules"] -- `lsp-pyls-plugins-preload-modules` -____ -Default value: `pass:[nil]` - -List of modules to import on startup - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-pyls-plugins-pylint-enabled"] -- `lsp-pyls-plugins-pylint-enabled` -____ -Default value: `pass:[t]` - -Enable or disable the plugin. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-pyls-plugins-pycodestyle-enabled"] -- `lsp-pyls-plugins-pycodestyle-enabled` -____ -Default value: `pass:[t]` - -Enable or disable the plugin. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-pyls-plugins-pycodestyle-exclude"] -- `lsp-pyls-plugins-pycodestyle-exclude` -____ -Default value: `pass:[nil]` - -Exclude files or directories which match these patterns. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-pyls-plugins-pycodestyle-filename"] -- `lsp-pyls-plugins-pycodestyle-filename` -____ -Default value: `pass:[nil]` - -When parsing directories, only check filenames matching these -patterns. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-pyls-plugins-pycodestyle-select"] -- `lsp-pyls-plugins-pycodestyle-select` -____ -Default value: `pass:[nil]` - -Select errors and warnings - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-pyls-plugins-pycodestyle-ignore"] -- `lsp-pyls-plugins-pycodestyle-ignore` -____ -Default value: `pass:[nil]` - -Ignore errors and warnings - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-pyls-plugins-pycodestyle-hang-closing"] -- `lsp-pyls-plugins-pycodestyle-hang-closing` -____ -Default value: `pass:[nil]` - -Hang closing bracket instead of matching indentation of -opening bracket’s line. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-pyls-plugins-pycodestyle-max-line-length"] -- `lsp-pyls-plugins-pycodestyle-max-line-length` -____ -Default value: `pass:[nil]` - -Set maximum allowed line length. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-pyls-plugins-pydocstyle-enabled"] -- `lsp-pyls-plugins-pydocstyle-enabled` -____ -Default value: `pass:[nil]` - -Enable or disable the plugin. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-pyls-plugins-pydocstyle-convention"] -- `lsp-pyls-plugins-pydocstyle-convention` -____ -Default value: `pass:[nil]` - -Choose the basic list of checked errors by specifying an -existing convention. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-pyls-plugins-pydocstyle-add-ignore"] -- `lsp-pyls-plugins-pydocstyle-add-ignore` -____ -Default value: `pass:[nil]` - -Ignore errors and warnings in addition to the specified -convention. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-pyls-plugins-pydocstyle-add-select"] -- `lsp-pyls-plugins-pydocstyle-add-select` -____ -Default value: `pass:[nil]` - -Select errors and warnings in addition to the specified -convention. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-pyls-plugins-pydocstyle-ignore"] -- `lsp-pyls-plugins-pydocstyle-ignore` -____ -Default value: `pass:[nil]` - -Ignore errors and warnings - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-pyls-plugins-pydocstyle-select"] -- `lsp-pyls-plugins-pydocstyle-select` -____ -Default value: `pass:[nil]` - -Select errors and warnings - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-pyls-plugins-pydocstyle-match"] -- `lsp-pyls-plugins-pydocstyle-match` -____ -Default value: `pass:["(?!test_).*\\.py"]` - -Check only files that exactly match the given regular -expression; default is to match files that don’t start with -’test_’ but end with ’.py’. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-pyls-plugins-pydocstyle-match-dir"] -- `lsp-pyls-plugins-pydocstyle-match-dir` -____ -Default value: `pass:["[^\\.].*"]` - -Search only dirs that exactly match the given regular -expression; default is to match dirs which do not begin with a -dot. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-pyls-plugins-pyflakes-enabled"] -- `lsp-pyls-plugins-pyflakes-enabled` -____ -Default value: `pass:[t]` - -Enable or disable the plugin. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-pyls-plugins-rope-completion-enabled"] -- `lsp-pyls-plugins-rope-completion-enabled` -____ -Default value: `pass:[t]` - -Enable or disable the plugin. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-pyls-plugins-yapf-enabled"] -- `lsp-pyls-plugins-yapf-enabled` -____ -Default value: `pass:[t]` - -Enable or disable the plugin. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-pyls-rope-extension-modules"] -- `lsp-pyls-rope-extension-modules` -____ -Default value: `pass:[nil]` - -Builtin and c-extension modules that are allowed to be -imported and inspected by rope. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-pyls-rope-rope-folder"] -- `lsp-pyls-rope-rope-folder` -____ -Default value: `pass:[nil]` - -The name of the folder in which rope stores project -configurations and data. Pass ‘null‘ for not using such a folder -at all. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ diff -Nru lsp-mode-6.2.1/doc/src/lsp-rust/index.adoc lsp-mode-7.0.1/doc/src/lsp-rust/index.adoc --- lsp-mode-6.2.1/doc/src/lsp-rust/index.adoc 2019-12-05 17:08:43.000000000 +0000 +++ lsp-mode-7.0.1/doc/src/lsp-rust/index.adoc 1970-01-01 00:00:00.000000000 +0000 @@ -1,6 +0,0 @@ -[id="lsp-rust"] -=== Rust support: `lsp-rust` -`lsp-rust` provides support for Rust using the -https://github.com/rust-lang/rls[Rust Language Server]. - -include::lsp-rust-vars.adoc[] diff -Nru lsp-mode-6.2.1/doc/src/lsp-rust/lsp-rust-vars.adoc lsp-mode-7.0.1/doc/src/lsp-rust/lsp-rust-vars.adoc --- lsp-mode-6.2.1/doc/src/lsp-rust/lsp-rust-vars.adoc 2019-12-05 17:08:43.000000000 +0000 +++ lsp-mode-7.0.1/doc/src/lsp-rust/lsp-rust-vars.adoc 1970-01-01 00:00:00.000000000 +0000 @@ -1,294 +0,0 @@ -[id="lsp-rust-vars"] -==== `lsp-rust` settings - -[id="lsp-rust-library-directories"] -- `lsp-rust-library-directories` -____ -Default value: `pass:[("~/.cargo/registry/src" "~/.rustup/toolchains") -]` - -List of directories which will be considered to be libraries. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-rust-sysroot"] -- `lsp-rust-sysroot` -____ -Default value: `pass:[nil]` - -If non-nil, use the given path as the sysroot for all rustc invocations instead of trying to detect the sysroot automatically. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-rust-target"] -- `lsp-rust-target` -____ -Default value: `pass:[nil]` - -If non-nil, use the given target triple for all rustc invocations. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-rust-rustflags"] -- `lsp-rust-rustflags` -____ -Default value: `pass:[nil]` - -Flags added to RUSTFLAGS. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-rust-clear-env-rust-log"] -- `lsp-rust-clear-env-rust-log` -____ -Default value: `pass:[t]` - -Clear the RUST_LOG environment variable before running rustc -or cargo. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-rust-build-lib"] -- `lsp-rust-build-lib` -____ -Default value: `pass:[nil]` - -If non-nil, checks the project as if you passed the ‘--lib’ argument to cargo. - Mutually exclusive with, and preferred over, ‘lsp-rust-build-bin’. (Unstable) - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-rust-build-bin"] -- `lsp-rust-build-bin` -____ -Default value: `pass:[nil]` - -If non-nil, checks the project as if you passed `-- bin ` argument to cargo. - Mutually exclusive with ‘lsp-rust-build-lib’. (Unstable) - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-rust-cfg-test"] -- `lsp-rust-cfg-test` -____ -Default value: `pass:[nil]` - -If non-nil, checks the project as if you were running ‘cargo test’ rather than cargo build. I.e., compiles (but does not run) test code. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-rust-unstable-features"] -- `lsp-rust-unstable-features` -____ -Default value: `pass:[nil]` - -Enable unstable features. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-rust-wait-to-build"] -- `lsp-rust-wait-to-build` -____ -Default value: `pass:[nil]` - -Time in milliseconds between receiving a change notification -and starting build. If not specified, automatically inferred by -the latest build duration. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-rust-show-warnings"] -- `lsp-rust-show-warnings` -____ -Default value: `pass:[t]` - -Show warnings. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-rust-use-crate-blacklist"] -- `lsp-rust-use-crate-blacklist` -____ -Default value: `pass:[t]` - -Don’t index crates on the crate blacklist. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-rust-build-on-save"] -- `lsp-rust-build-on-save` -____ -Default value: `pass:[nil]` - -Only index the project when a file is saved and not on -change. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-rust-features"] -- `lsp-rust-features` -____ -Default value: `pass:[[] -]` - -A list of Cargo features to enable. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-rust-all-features"] -- `lsp-rust-all-features` -____ -Default value: `pass:[nil]` - -Enable all Cargo features. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-rust-no-default-features"] -- `lsp-rust-no-default-features` -____ -Default value: `pass:[nil]` - -Do not enable default Cargo features. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-rust-racer-completion"] -- `lsp-rust-racer-completion` -____ -Default value: `pass:[t]` - -Enables code completion using racer. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-rust-clippy-preference"] -- `lsp-rust-clippy-preference` -____ -Default value: `pass:["opt-in"]` - -Controls eagerness of clippy diagnostics when available. Valid - values are (case-insensitive): - - "off": Disable clippy - lints. - - "opt-in": Clippy lints are shown when crates - specify ‘#![warn(clippy)]‘. - - "on": Clippy lints enabled - for all crates in workspace. -You need to install clippy via - rustup if you haven’t already. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-rust-jobs"] -- `lsp-rust-jobs` -____ -Default value: `pass:[nil]` - -Number of Cargo jobs to be run in parallel. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-rust-all-targets"] -- `lsp-rust-all-targets` -____ -Default value: `pass:[t]` - -Checks the project as if you were running cargo check ---all-targets (I.e., check all targets and integration tests -too). - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-rust-target-dir"] -- `lsp-rust-target-dir` -____ -Default value: `pass:[nil]` - -When specified, it places the generated analysis files at the -specified target directory. By default it is placed target/rls -directory. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-rust-rustfmt-path"] -- `lsp-rust-rustfmt-path` -____ -Default value: `pass:[nil]` - -When specified, RLS will use the Rustfmt pointed at the path -instead of the bundled one - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-rust-build-command"] -- `lsp-rust-build-command` -____ -Default value: `pass:[nil]` - -EXPERIMENTAL (requires ‘unstable_features‘) -If set, executes -a given program responsible for rebuilding save-analysis to be -loaded by the RLS. The program given should output a list of -resulting .json files on stdout. -Implies ‘rust.build_on_save‘: -true. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-rust-full-docs"] -- `lsp-rust-full-docs` -____ -Default value: `pass:[nil]` - -Instructs cargo to enable full documentation extraction during -save-analysis while building the crate. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-rust-show-hover-context"] -- `lsp-rust-show-hover-context` -____ -Default value: `pass:[t]` - -Show additional context in hover tooltips when available. This -is often the type local variable declaration. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-rust-rls-server-command"] -- `lsp-rust-rls-server-command` -____ -Default value: `pass:[("rls") -]` - -Command to start RLS. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ diff -Nru lsp-mode-6.2.1/doc/src/lsp-solargraph/index.adoc lsp-mode-7.0.1/doc/src/lsp-solargraph/index.adoc --- lsp-mode-6.2.1/doc/src/lsp-solargraph/index.adoc 2019-12-05 17:08:43.000000000 +0000 +++ lsp-mode-7.0.1/doc/src/lsp-solargraph/index.adoc 1970-01-01 00:00:00.000000000 +0000 @@ -1,6 +0,0 @@ -[id="lsp-solargraph] -=== Ruby support: `lsp-solargraph` -`lsp-solargraph` provides support for Ruby using -https://github.com/castwide/solargraph[Solargraph]. - -include::lsp-solargraph-vars.adoc[] diff -Nru lsp-mode-6.2.1/doc/src/lsp-solargraph/lsp-solargraph-vars.adoc lsp-mode-7.0.1/doc/src/lsp-solargraph/lsp-solargraph-vars.adoc --- lsp-mode-6.2.1/doc/src/lsp-solargraph/lsp-solargraph-vars.adoc 2019-12-05 17:08:43.000000000 +0000 +++ lsp-mode-7.0.1/doc/src/lsp-solargraph/lsp-solargraph-vars.adoc 1970-01-01 00:00:00.000000000 +0000 @@ -1,113 +0,0 @@ -[id="lsp-solargraph-vars"] -==== `lsp-solargraph` settings - -[id="lsp-solargraph-completion"] -- `lsp-solargraph-completion` -____ -Default value: `pass:[t]` - -Enable completion - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-solargraph-hover"] -- `lsp-solargraph-hover` -____ -Default value: `pass:[t]` - -Enable hover - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-solargraph-diagnostics"] -- `lsp-solargraph-diagnostics` -____ -Default value: `pass:[t]` - -Enable diagnostics - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-solargraph-autoformat"] -- `lsp-solargraph-autoformat` -____ -Default value: `pass:[nil]` - -Enable automatic formatting while typing (WARNING: experimental) - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-solargraph-formatting"] -- `lsp-solargraph-formatting` -____ -Default value: `pass:[t]` - -Enable document formatting - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-solargraph-symbols"] -- `lsp-solargraph-symbols` -____ -Default value: `pass:[t]` - -Enable symbols - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-solargraph-definitions"] -- `lsp-solargraph-definitions` -____ -Default value: `pass:[t]` - -Enable definitions (go to, etc.) - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-solargraph-rename"] -- `lsp-solargraph-rename` -____ -Default value: `pass:[t]` - -Enable symbol renaming - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-solargraph-references"] -- `lsp-solargraph-references` -____ -Default value: `pass:[t]` - -Enable finding references - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-solargraph-folding"] -- `lsp-solargraph-folding` -____ -Default value: `pass:[t]` - -Enable folding ranges - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-solargraph-log-level"] -- `lsp-solargraph-log-level` -____ -Default value: `pass:["warn"]` - -Level of debug info to log. ‘warn‘ is least and ‘debug‘ is most. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ diff -Nru lsp-mode-6.2.1/doc/src/lsp-typescript/index.adoc lsp-mode-7.0.1/doc/src/lsp-typescript/index.adoc --- lsp-mode-6.2.1/doc/src/lsp-typescript/index.adoc 2019-12-05 17:08:43.000000000 +0000 +++ lsp-mode-7.0.1/doc/src/lsp-typescript/index.adoc 1970-01-01 00:00:00.000000000 +0000 @@ -1,6 +0,0 @@ -[id="lsp-typescript"] -=== Typescript support: `lsp-typescript` -`lsp-typescript` provides support for TypeScript, using -https://github.com/theia-ide/typescript-language-server[Theia/Typefox's TypeScript Language Server] - -include::lsp-typescript-vars.adoc[] diff -Nru lsp-mode-6.2.1/doc/src/lsp-typescript/lsp-typescript-vars.adoc lsp-mode-7.0.1/doc/src/lsp-typescript/lsp-typescript-vars.adoc --- lsp-mode-6.2.1/doc/src/lsp-typescript/lsp-typescript-vars.adoc 2019-12-05 17:08:43.000000000 +0000 +++ lsp-mode-7.0.1/doc/src/lsp-typescript/lsp-typescript-vars.adoc 1970-01-01 00:00:00.000000000 +0000 @@ -1,20 +0,0 @@ -[id="lsp-typescript-vars"] -==== `lsp-typescript` settings - -[id="lsp-clients-typescript-server"] -- `lsp-clients-typescript-server` -____ -Default value: `pass:["typescript-language-server"]` - -The typescript-language-server executable to use. -Leave as just the executable name to use the default behavior of -finding the executable with variable ‘exec-path’. -____ -[id="lsp-clients-typescript-server-args"] -- `lsp-clients-typescript-server-args` -____ -Default value: `pass:[("--stdio") -]` - -Extra arguments for the typescript-language-server language server. -____ diff -Nru lsp-mode-6.2.1/doc/src/lsp-typescript-javascript/index.adoc lsp-mode-7.0.1/doc/src/lsp-typescript-javascript/index.adoc --- lsp-mode-6.2.1/doc/src/lsp-typescript-javascript/index.adoc 2019-12-05 17:08:43.000000000 +0000 +++ lsp-mode-7.0.1/doc/src/lsp-typescript-javascript/index.adoc 1970-01-01 00:00:00.000000000 +0000 @@ -1,6 +0,0 @@ -[id="lsp-typescript-javascript"] -=== Typescript support: `lsp-typescript-javascript` -`lsp-javascript-typescript` provides support for Javascript and TypeScript, using -https://github.com/sourcegraph/javascript-typescript-langserver[Sourcegraph's JavaScript/TypeScript language server] - -include::lsp-typescript-javascript-vars.adoc[] diff -Nru lsp-mode-6.2.1/doc/src/lsp-typescript-javascript/lsp-typescript-javascript-vars.adoc lsp-mode-7.0.1/doc/src/lsp-typescript-javascript/lsp-typescript-javascript-vars.adoc --- lsp-mode-6.2.1/doc/src/lsp-typescript-javascript/lsp-typescript-javascript-vars.adoc 2019-12-05 17:08:43.000000000 +0000 +++ lsp-mode-7.0.1/doc/src/lsp-typescript-javascript/lsp-typescript-javascript-vars.adoc 1970-01-01 00:00:00.000000000 +0000 @@ -1,19 +0,0 @@ -[id="lsp-typescript-javascript-vars"] -==== `lsp-typescript-javascript` settings - -[id="lsp-clients-javascript-typescript-server"] -- `lsp-clients-javascript-typescript-server` -____ -Default value: `pass:["javascript-typescript-stdio"]` - -The javascript-typescript-stdio executable to use. -Leave as just the executable name to use the default behavior of -finding the executable with variable ‘exec-path’. -____ -[id="lsp-clients-typescript-javascript-server-args"] -- `lsp-clients-typescript-javascript-server-args` -____ -Default value: `pass:[nil]` - -Extra arguments for the typescript-language-server language server. -____ diff -Nru lsp-mode-6.2.1/doc/src/lsp-vetur/index.adoc lsp-mode-7.0.1/doc/src/lsp-vetur/index.adoc --- lsp-mode-6.2.1/doc/src/lsp-vetur/index.adoc 2019-12-05 17:08:43.000000000 +0000 +++ lsp-mode-7.0.1/doc/src/lsp-vetur/index.adoc 1970-01-01 00:00:00.000000000 +0000 @@ -1,6 +0,0 @@ -[id="lsp-vetur"] -=== Vue support: `lsp-vetur` -`lsp-vetur` provides support for Vue using -the https://github.com/vuejs/vetur/tree/master/server[Vue Language Server]. - -include::lsp-vetur-vars.adoc[] diff -Nru lsp-mode-6.2.1/doc/src/lsp-vetur/lsp-vetur-vars.adoc lsp-mode-7.0.1/doc/src/lsp-vetur/lsp-vetur-vars.adoc --- lsp-mode-6.2.1/doc/src/lsp-vetur/lsp-vetur-vars.adoc 2019-12-05 17:08:43.000000000 +0000 +++ lsp-mode-7.0.1/doc/src/lsp-vetur/lsp-vetur-vars.adoc 1970-01-01 00:00:00.000000000 +0000 @@ -1,1033 +0,0 @@ -[id="lsp-vetur-vars"] -==== `lsp-vetur` settings - -[id="lsp-vetur-use-workspace-dependencies"] -- `lsp-vetur-use-workspace-dependencies` -____ -Default value: `pass:[nil]` - -Use dependencies from workspace. Currently only for -TypeScript. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-vetur-completion-auto-import"] -- `lsp-vetur-completion-auto-import` -____ -Default value: `pass:[t]` - -Include completion for module export and auto import them - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-vetur-completion-use-scaffold-snippets"] -- `lsp-vetur-completion-use-scaffold-snippets` -____ -Default value: `pass:[t]` - -Enable/disable Vetur’s built-in scaffolding snippets - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-vetur-completion-tag-casing"] -- `lsp-vetur-completion-tag-casing` -____ -Default value: `pass:["kebab"]` - -Casing conversion for tag completion - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-vetur-grammar-custom-blocks"] -- `lsp-vetur-grammar-custom-blocks` -____ -Default value: `pass:[((docs . "md") - (i18n . "json")) -]` - -Mapping from custom block tag name to language name. Used for - generating grammar to support syntax highlighting for custom - blocks. - -NOTE: Introduced in `lsp-mode` 6.1 - -____ -[id="lsp-vetur-validation-template"] -- `lsp-vetur-validation-template` -____ -Default value: `pass:[t]` - -Validate vue-html in