summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMartin Polden <mpolden@mpolden.no>2021-03-14 16:47:46 +0100
committerMartin Polden <mpolden@mpolden.no>2021-03-14 16:58:43 +0100
commit354d715836026d5f35fb846ffaa65f989422dd13 (patch)
tree2c34bde574ed2fa808c3289b874250c38e24fb3c /Makefile
parent80c7c0c59c091bb0f3551b89d4e694f7877761c1 (diff)
makefile: Add targets for LSP servers
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 12 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7674106..b9b6701 100644
--- a/Makefile
+++ b/Makefile
@@ -1,12 +1,23 @@
CURDIR ?= $(.CURDIR)
-LN_FLAGS = -sfn
+LN_FLAGS := -sfn
all: install
install:
ln $(LN_FLAGS) $(CURDIR) ~/.emacs.d
+install-lsp: install-lsp-go install-lsp-python install-lsp-rust
+
+install-lsp-go:
+ go install golang.org/x/tools/gopls@latest
+
+install-lsp-python:
+ python3 -m pip install --user -U python-language-server
+
+install-lsp-rust:
+ rustup component add rls
+
update:
git pull --rebase --quiet