summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMartin Polden <mpolden@mpolden.no>2022-05-20 20:18:29 +0200
committerMartin Polden <mpolden@mpolden.no>2022-05-20 20:41:28 +0200
commit59e7fd5c2b4fdfa20224d94132177e6e34e06f85 (patch)
treeb4e777f259e03fbe403ec20e8eb813e04d5cf2a1 /Makefile
parentef941e6ebb6e3b7e8294f08b11ba0fb13f792595 (diff)
makefile: Use rust-analyzer for Rust LSP
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 2b0099d..ffda9c7 100644
--- a/Makefile
+++ b/Makefile
@@ -50,7 +50,11 @@ install-lsp-python-more:
python3 -m pip install --user -U python-lsp-black pylsp-mypy
install-lsp-rust:
- rustup component add rls
+ifneq ($(BREW),)
+ $(BREW) install rust-analyzer
+else
+ $(error brew command not found)
+endif
update:
git pull --rebase --quiet