aboutsummaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
authorJames Trew <66286082+jamestrew@users.noreply.github.com>2021-11-02 21:22:21 -0400
committerGitHub <noreply@github.com>2021-11-02 18:22:21 -0700
commit69b6e9c9a09dcd8aa0977bc0f0792def6fd6f381 (patch)
tree9786c0e2bf370c35de0cfd9df787c6fc1b529b48 /lua
parentdocs: update CONFIG.md (diff)
downloadnvim-lspconfig-69b6e9c9a09dcd8aa0977bc0f0792def6fd6f381.tar
nvim-lspconfig-69b6e9c9a09dcd8aa0977bc0f0792def6fd6f381.tar.gz
nvim-lspconfig-69b6e9c9a09dcd8aa0977bc0f0792def6fd6f381.tar.bz2
nvim-lspconfig-69b6e9c9a09dcd8aa0977bc0f0792def6fd6f381.tar.lz
nvim-lspconfig-69b6e9c9a09dcd8aa0977bc0f0792def6fd6f381.tar.xz
nvim-lspconfig-69b6e9c9a09dcd8aa0977bc0f0792def6fd6f381.tar.zst
nvim-lspconfig-69b6e9c9a09dcd8aa0977bc0f0792def6fd6f381.zip
docs: fix broken codeblocks in descriptions (#1366)
Diffstat (limited to 'lua')
-rw-r--r--lua/lspconfig/arduino_language_server.lua6
-rw-r--r--lua/lspconfig/dhall_lsp_server.lua10
-rw-r--r--lua/lspconfig/fstar.lua3
-rw-r--r--lua/lspconfig/r_language_server.lua16
4 files changed, 17 insertions, 18 deletions
diff --git a/lua/lspconfig/arduino_language_server.lua b/lua/lspconfig/arduino_language_server.lua
index 717c356f..6c9258f2 100644
--- a/lua/lspconfig/arduino_language_server.lua
+++ b/lua/lspconfig/arduino_language_server.lua
@@ -8,8 +8,9 @@ configs.arduino_language_server = {
root_dir = function(fname)
return util.root_pattern '*.ino'(fname)
end,
- docs = {
- description = [[
+ },
+ docs = {
+ description = [[
https://github.com/arduino/arduino-language-server
Language server for Arduino
@@ -48,7 +49,6 @@ lspconfig.arduino_language_server.setup({
For further instruction about configuration options, run `arduino-language-server --help`.
]],
- },
},
}
diff --git a/lua/lspconfig/dhall_lsp_server.lua b/lua/lspconfig/dhall_lsp_server.lua
index 29e952c6..ae08b928 100644
--- a/lua/lspconfig/dhall_lsp_server.lua
+++ b/lua/lspconfig/dhall_lsp_server.lua
@@ -8,8 +8,9 @@ configs.dhall_lsp_server = {
root_dir = function(fname)
return util.root_pattern '.git'(fname) or util.path.dirname(fname)
end,
- docs = {
- description = [[
+ },
+ docs = {
+ description = [[
https://github.com/dhall-lang/dhall-haskell/tree/master/dhall-lsp-server
language server for dhall
@@ -20,9 +21,8 @@ cabal install dhall-lsp-server
```
prebuilt binaries can be found [here](https://github.com/dhall-lang/dhall-haskell/releases).
]],
- default_config = {
- root_dir = [[root_pattern(".git") or dirname]],
- },
+ default_config = {
+ root_dir = [[root_pattern(".git") or dirname]],
},
},
}
diff --git a/lua/lspconfig/fstar.lua b/lua/lspconfig/fstar.lua
index 8618e070..af117ca1 100644
--- a/lua/lspconfig/fstar.lua
+++ b/lua/lspconfig/fstar.lua
@@ -12,8 +12,7 @@ configs.fstar = {
https://github.com/FStarLang/FStar
LSP support is included in FStar. Make sure `fstar.exe` is in your PATH.
-```
- ]],
+]],
default_config = {
root_dir = [[root_pattern(".git")]],
},
diff --git a/lua/lspconfig/r_language_server.lua b/lua/lspconfig/r_language_server.lua
index 7bf8e526..396702bc 100644
--- a/lua/lspconfig/r_language_server.lua
+++ b/lua/lspconfig/r_language_server.lua
@@ -13,16 +13,16 @@ configs.r_language_server = {
docs = {
package_json = 'https://raw.githubusercontent.com/REditorSupport/vscode-r-lsp/master/package.json',
description = [[
- [languageserver](https://github.com/REditorSupport/languageserver) is an
- implementation of the Microsoft's Language Server Protocol for the R
- language.
+[languageserver](https://github.com/REditorSupport/languageserver) is an
+implementation of the Microsoft's Language Server Protocol for the R
+language.
- It is released on CRAN and can be easily installed by
+It is released on CRAN and can be easily installed by
- ```R
- install.packages("languageserver")
- ```
- ]],
+```R
+install.packages("languageserver")
+```
+]],
default_config = {
root_dir = [[root_pattern(".git") or os_homedir]],
},