neoclide / coc-rls

Rust language server support for coc.nvim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Publish new version; RLS configuration option `use_crate_blacklist` is deprecated: use `crate_blacklist` instead

9999years opened this issue · comments

Whenever I start up nvim with coc-rls 1.1.2, I get this warning:

[coc.nvim] Setting sysroot to/home/aquatica/.rustup/toolchains/stable-x86_64-unknown-linux-gnu
[coc.nvim] running: rustup run stable-x86_64-unknown-linux-gnu rls, at /home/aquatica/projects/latexdef
[coc.nvim] RLS configuration option `use_crate_blacklist` is deprecated: use `crate_blacklist` instead

It's fixed in the repo, but it hasn't been pushed to npm yet:

$ git diff 1.1.2 -- package.json
diff --git a/package.json b/package.json
index 5f3f723..b66cd8f 100644
--- a/package.json
+++ b/package.json
@@ -182,10 +182,27 @@
           "description": "Show warnings.",
           "scope": "resource"
         },
-        "rust.use_crate_blacklist": {
-          "type": "boolean",
-          "default": true,
-          "description": "Don't index crates on the crate blacklist.",
+        "rust.crate_blacklist": {
+          "type": [
+            "array",
+            "null"
+          ],
+          "default": [
+            "cocoa",
+            "gleam",
+            "glium",
+            "idna",
+            "libc",
+            "openssl",
+            "rustc_serialize",
+            "serde",
+            "serde_json",
+            "typenum",
+            "unicode_normalization",
+            "unicode_segmentation",
+            "winapi"
+          ],
+          "description": "Overrides the default list of packages for which analysis is skipped.\nAvailable since RLS 1.38",
           "scope": "resource"
         },
         "rust.build_on_save": {

Other info:

vim version: NVIM v0.4.2
node version: v12.10.0
coc.nvim version: 0.0.74-b04e619c64
term: screen-256color
platform: linux