aboutsummaryrefslogtreecommitdiff
path: root/settings.json
diff options
context:
space:
mode:
authorYasuhiro Matsumoto <mattn.jp@gmail.com>2020-02-20 00:08:29 +0900
committerYasuhiro Matsumoto <mattn.jp@gmail.com>2020-02-20 00:08:29 +0900
commitf0a6c9bdaa9c50a058ecc15466ff6e6f6577d482 (patch)
treed31858357937fdfac67b7978dba20f0a8710bccb /settings.json
parent5df3d59707b92f75270937e13f8bcf5044d45bf0 (diff)
downloadvim-lsp-settings-f0a6c9bdaa9c50a058ecc15466ff6e6f6577d482.tar.gz
vim-lsp-settings-f0a6c9bdaa9c50a058ecc15466ff6e6f6577d482.tar.bz2
vim-lsp-settings-f0a6c9bdaa9c50a058ecc15466ff6e6f6577d482.zip
Move patterns
Diffstat (limited to 'settings.json')
-rw-r--r--settings.json90
1 files changed, 85 insertions, 5 deletions
diff --git a/settings.json b/settings.json
index 7847d2b..943d849 100644
--- a/settings.json
+++ b/settings.json
@@ -36,7 +36,14 @@
"clojure": [
{
"command": "clojure-lsp",
- "requires": []
+ "requires": [],
+ "root_uri_patterns": [
+ ".lein/",
+ ".shadow-cljs/",
+ "project.clj",
+ "deps.edn",
+ "shadow-cljs.edn"
+ ]
}
],
"cobol": [
@@ -115,6 +122,9 @@
"requires": [
"npm"
],
+ "root_uri_patterns": [
+ "elm.json"
+ ],
"vim-plugin": {
"extensions": [
"elm"
@@ -130,6 +140,9 @@
"make",
"rebar3"
],
+ "root_uri_patterns": [
+ "rebar.config"
+ ],
"vim-plugin": {
"extensions": [
"erl"
@@ -190,6 +203,9 @@
"command": "gopls",
"requires": [
"go"
+ ],
+ "root_uri_patterns": [
+ "go.mod"
]
}
],
@@ -199,6 +215,11 @@
"requires": [
"npm",
"watchman"
+ ],
+ "root_uri_patterns": [
+ "package.json",
+ "tsconfig.json",
+ ".gqlconfig"
]
}
],
@@ -207,6 +228,9 @@
"command": "groovy-language-server",
"requires": [
"java"
+ ],
+ "root_uri_patterns": [
+ "build.gradle"
]
}
],
@@ -226,6 +250,10 @@
"command": "eclipse-jdt-ls",
"requires": [
"java"
+ ],
+ "root_uri_patterns": [
+ "pom.xml",
+ "build.gradle"
]
}
],
@@ -234,6 +262,10 @@
"command": "typescript-language-server",
"requires": [
"npm"
+ ],
+ "root_uri_patterns": [
+ "package.json",
+ "tsconfig.json"
]
},
{
@@ -245,7 +277,12 @@
{
"command": "eslint-language-server",
"requires": [
- "git", "npm"
+ "git",
+ "npm"
+ ],
+ "root_uri_patterns": [
+ "package.json",
+ "tsconfig.json"
]
}
],
@@ -254,6 +291,10 @@
"command": "typescript-language-server",
"requires": [
"npm"
+ ],
+ "root_uri_patterns": [
+ "package.json",
+ "tsconfig.json"
]
},
{
@@ -444,6 +485,9 @@
{
"command": "reason-language-server",
"requires": [],
+ "root_uri_patterns": [
+ "package.json"
+ ],
"vim-plugin": {
"extensions": [
"re",
@@ -464,11 +508,17 @@
"rust": [
{
"command": "rls",
- "requires": []
+ "requires": [],
+ "root_uri_patterns": [
+ "Cargo.toml"
+ ]
},
{
"command": "ra_lsp_server",
- "requires": []
+ "requires": [],
+ "root_uri_patterns": [
+ "Cargo.toml"
+ ]
}
],
"sass": [
@@ -484,6 +534,9 @@
"command": "metals",
"requires": [
"java"
+ ],
+ "root_uri_patterns": [
+ "build.sbt"
]
}
],
@@ -515,6 +568,13 @@
"requires": [
"sourcekit-lsp"
],
+ "root_uri_patterns": [
+ "Package.swift",
+ ".xcodeproj",
+ ".xcworkspace",
+ "Cartfile",
+ "Podfile"
+ ],
"vim-plugin": {
"extensions": [
"swift"
@@ -559,12 +619,21 @@
"command": "typescript-language-server",
"requires": [
"npm"
+ ],
+ "root_uri_patterns": [
+ "package.json",
+ "tsconfig.json"
]
},
{
"command": "eslint-language-server",
"requires": [
- "git", "npm"
+ "git",
+ "npm"
+ ],
+ "root_uri_patterns": [
+ "package.json",
+ "tsconfig.json"
]
}
],
@@ -573,6 +642,10 @@
"command": "typescript-language-server",
"requires": [
"npm"
+ ],
+ "root_uri_patterns": [
+ "package.json",
+ "tsconfig.json"
]
}
],
@@ -581,6 +654,10 @@
"command": "vim-language-server",
"requires": [
"npm"
+ ],
+ "root_uri_patterns": [
+ ".vim/",
+ "vimfiles/"
]
}
],
@@ -590,6 +667,9 @@
"requires": [
"npm"
],
+ "root_uri_patterns": [
+ "package.json"
+ ],
"vim-plugin": {
"extensions": [
"vue"