From 69b6e9c9a09dcd8aa0977bc0f0792def6fd6f381 Mon Sep 17 00:00:00 2001 From: James Trew <66286082+jamestrew@users.noreply.github.com> Date: Tue, 2 Nov 2021 21:22:21 -0400 Subject: docs: fix broken codeblocks in descriptions (#1366) --- lua/lspconfig/arduino_language_server.lua | 6 +++--- lua/lspconfig/dhall_lsp_server.lua | 10 +++++----- lua/lspconfig/fstar.lua | 3 +-- lua/lspconfig/r_language_server.lua | 16 ++++++++-------- 4 files changed, 17 insertions(+), 18 deletions(-) (limited to 'lua') 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]], }, -- cgit v1.2.3-70-g09d2