aboutsummaryrefslogtreecommitdiffstats
path: root/CONFIG.md
diff options
context:
space:
mode:
authorgithub-actions <github-actions@github.com>2021-08-11 20:25:07 +0000
committergithub-actions <github-actions@github.com>2021-08-11 20:25:07 +0000
commitd2d6e6251172a78436b7d2730a638e572f04b6ce (patch)
tree5d4d153bd67a27d8f7417b532ca165fe6ded8b4f /CONFIG.md
parentfeat: add mint language server (#1136) (diff)
downloadnvim-lspconfig-d2d6e6251172a78436b7d2730a638e572f04b6ce.tar
nvim-lspconfig-d2d6e6251172a78436b7d2730a638e572f04b6ce.tar.gz
nvim-lspconfig-d2d6e6251172a78436b7d2730a638e572f04b6ce.tar.bz2
nvim-lspconfig-d2d6e6251172a78436b7d2730a638e572f04b6ce.tar.lz
nvim-lspconfig-d2d6e6251172a78436b7d2730a638e572f04b6ce.tar.xz
nvim-lspconfig-d2d6e6251172a78436b7d2730a638e572f04b6ce.tar.zst
nvim-lspconfig-d2d6e6251172a78436b7d2730a638e572f04b6ce.zip
[docgen] Update CONFIG.md
skip-checks: true
Diffstat (limited to 'CONFIG.md')
-rw-r--r--CONFIG.md38
1 files changed, 38 insertions, 0 deletions
diff --git a/CONFIG.md b/CONFIG.md
index cd7626b3..63cab069 100644
--- a/CONFIG.md
+++ b/CONFIG.md
@@ -49,6 +49,7 @@ that config.
- [lean3ls](#lean3ls)
- [leanls](#leanls)
- [metals](#metals)
+- [mint](#mint)
- [nimls](#nimls)
- [ocamlls](#ocamlls)
- [ocamllsp](#ocamllsp)
@@ -3764,6 +3765,33 @@ require'lspconfig'.metals.setup{}
```
+## mint
+
+https://www.mint-lang.com
+
+Install Mint using the [instructions](https://www.mint-lang.com/install).
+The language server is included since version 0.12.0.
+
+
+
+**Snippet to enable the language server:**
+```lua
+require'lspconfig'.mint.setup{}
+```
+
+**Commands and default values:**
+```lua
+ Commands:
+
+ Default Values:
+ cmd = { "mint", "ls" }
+ filetypes = { "mint" }
+ root_dir = function(fname)
+ return util.root_pattern 'mint.json'(fname) or util.find_git_ancestor(fname) or util.path.dirname(fname)
+ end,
+```
+
+
## nimls
https://github.com/PMunch/nimlsp
@@ -4405,6 +4433,10 @@ This server accepts configuration via the `settings` key.
Build command to use with arguments\. Not passed to shell\. eg \`spago build \-\-purs\-args \-\-json\-errors\`
+- **`purescript.buildOpenedFiles`**: `boolean`
+
+ null
+
- **`purescript.censorWarnings`**: `array`
Default: `{}`
@@ -4427,6 +4459,12 @@ This server accepts configuration via the `settings` key.
Enable purs IDE server fast rebuild
+- **`purescript.formatter`**: `enum { "none", "purty", "purs-tidy", "pose" }`
+
+ Default: `"purty"`
+
+ Tool to use to for formatting\. Must be installed and on PATH \(or npm installed with addNpmPath set\)
+
- **`purescript.importsPreferredModules`**: `array`
Default: `{ "Prelude" }`