aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgithub-actions <github-actions@github.com>2022-04-10 05:13:19 +0000
committergithub-actions <github-actions@github.com>2022-04-10 05:13:19 +0000
commitfd7843ad04cbc8ee2181bed9c3e83839b0d0b285 (patch)
tree7c0194ea959516416944a3ea98bca3a789841d2b
parentdocs: remove outdated root pattern references (#1828) (diff)
downloadnvim-lspconfig-fd7843ad04cbc8ee2181bed9c3e83839b0d0b285.tar
nvim-lspconfig-fd7843ad04cbc8ee2181bed9c3e83839b0d0b285.tar.gz
nvim-lspconfig-fd7843ad04cbc8ee2181bed9c3e83839b0d0b285.tar.bz2
nvim-lspconfig-fd7843ad04cbc8ee2181bed9c3e83839b0d0b285.tar.lz
nvim-lspconfig-fd7843ad04cbc8ee2181bed9c3e83839b0d0b285.tar.xz
nvim-lspconfig-fd7843ad04cbc8ee2181bed9c3e83839b0d0b285.tar.zst
nvim-lspconfig-fd7843ad04cbc8ee2181bed9c3e83839b0d0b285.zip
docs: update server_configurations.md
skip-checks: true
-rw-r--r--doc/server_configurations.md14
-rw-r--r--doc/server_configurations.txt14
2 files changed, 14 insertions, 14 deletions
diff --git a/doc/server_configurations.md b/doc/server_configurations.md
index 52dfdc78..426c422f 100644
--- a/doc/server_configurations.md
+++ b/doc/server_configurations.md
@@ -786,7 +786,7 @@ require'lspconfig'.cmake.setup{}
```
- `root_dir` :
```lua
- root_pattern(".git", "compile_commands.json", "build") or dirname
+ root_pattern(".git", "compile_commands.json", "build")
```
- `single_file_support` :
```lua
@@ -864,7 +864,7 @@ require'lspconfig'.crystalline.setup{}
```
- `root_dir` :
```lua
- root_pattern('shard.yml', '.git') or dirname
+ root_pattern('shard.yml', '.git')
```
- `single_file_support` :
```lua
@@ -1179,7 +1179,7 @@ require'lspconfig'.dhall_lsp_server.setup{}
```
- `root_dir` :
```lua
- root_pattern(".git") or dirname
+ root_pattern(".git")
```
- `single_file_support` :
```lua
@@ -2979,7 +2979,7 @@ require'lspconfig'.lean3ls.setup{}
```
- `root_dir` :
```lua
- root_pattern("leanpkg.toml") or root_pattern(".git") or path.dirname
+ root_pattern("leanpkg.toml") or root_pattern(".git")
```
- `single_file_support` :
```lua
@@ -4653,7 +4653,7 @@ require'lspconfig'.rome.setup{}
```
- `root_dir` :
```lua
- root_pattern('package.json', 'node_modules', '.git') or dirname
+ root_pattern('package.json', 'node_modules', '.git')
```
- `single_file_support` :
```lua
@@ -4761,7 +4761,7 @@ require'lspconfig'.scry.setup{}
```
- `root_dir` :
```lua
- root_pattern('shard.yml', '.git') or dirname
+ root_pattern('shard.yml', '.git')
```
- `single_file_support` :
```lua
@@ -6542,7 +6542,7 @@ require'lspconfig'.zls.setup{}
```
- `root_dir` :
```lua
- util.root_pattern("zls.json", ".git") or current_file_dirname
+ util.root_pattern("zls.json", ".git")
```
- `single_file_support` :
```lua
diff --git a/doc/server_configurations.txt b/doc/server_configurations.txt
index 52dfdc78..426c422f 100644
--- a/doc/server_configurations.txt
+++ b/doc/server_configurations.txt
@@ -786,7 +786,7 @@ require'lspconfig'.cmake.setup{}
```
- `root_dir` :
```lua
- root_pattern(".git", "compile_commands.json", "build") or dirname
+ root_pattern(".git", "compile_commands.json", "build")
```
- `single_file_support` :
```lua
@@ -864,7 +864,7 @@ require'lspconfig'.crystalline.setup{}
```
- `root_dir` :
```lua
- root_pattern('shard.yml', '.git') or dirname
+ root_pattern('shard.yml', '.git')
```
- `single_file_support` :
```lua
@@ -1179,7 +1179,7 @@ require'lspconfig'.dhall_lsp_server.setup{}
```
- `root_dir` :
```lua
- root_pattern(".git") or dirname
+ root_pattern(".git")
```
- `single_file_support` :
```lua
@@ -2979,7 +2979,7 @@ require'lspconfig'.lean3ls.setup{}
```
- `root_dir` :
```lua
- root_pattern("leanpkg.toml") or root_pattern(".git") or path.dirname
+ root_pattern("leanpkg.toml") or root_pattern(".git")
```
- `single_file_support` :
```lua
@@ -4653,7 +4653,7 @@ require'lspconfig'.rome.setup{}
```
- `root_dir` :
```lua
- root_pattern('package.json', 'node_modules', '.git') or dirname
+ root_pattern('package.json', 'node_modules', '.git')
```
- `single_file_support` :
```lua
@@ -4761,7 +4761,7 @@ require'lspconfig'.scry.setup{}
```
- `root_dir` :
```lua
- root_pattern('shard.yml', '.git') or dirname
+ root_pattern('shard.yml', '.git')
```
- `single_file_support` :
```lua
@@ -6542,7 +6542,7 @@ require'lspconfig'.zls.setup{}
```
- `root_dir` :
```lua
- util.root_pattern("zls.json", ".git") or current_file_dirname
+ util.root_pattern("zls.json", ".git")
```
- `single_file_support` :
```lua