Skip to content

Commit

Permalink
lsp-rust: files/watcher should be a string (#3496)
Browse files Browse the repository at this point in the history
  • Loading branch information
jtracey authored Apr 29, 2022
1 parent 645e58d commit d117866
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions clients/lsp-rust.el
Original file line number Diff line number Diff line change
Expand Up @@ -695,9 +695,7 @@ or JSON objects in `rust-project.json` format."
:allTargets ,(lsp-json-bool lsp-rust-analyzer-cargo-all-targets)
:overrideCommand ,lsp-rust-analyzer-cargo-override-command)
:files (:exclude ,lsp-rust-analyzer-exclude-globs
:watcher ,(lsp-json-bool (if lsp-rust-analyzer-use-client-watching
"client"
"notify"))
:watcher ,(if lsp-rust-analyzer-use-client-watching "client" "notify")
:excludeDirs ,lsp-rust-analyzer-exclude-dirs)
:cargo (:allFeatures ,(lsp-json-bool lsp-rust-all-features)
:noDefaultFeatures ,(lsp-json-bool lsp-rust-no-default-features)
Expand Down

0 comments on commit d117866

Please sign in to comment.