diff options
author | Martin Polden <mpolden@mpolden.no> | 2021-03-14 16:47:46 +0100 |
---|---|---|
committer | Martin Polden <mpolden@mpolden.no> | 2021-03-14 16:58:43 +0100 |
commit | 354d715836026d5f35fb846ffaa65f989422dd13 (patch) | |
tree | 2c34bde574ed2fa808c3289b874250c38e24fb3c /Makefile | |
parent | 80c7c0c59c091bb0f3551b89d4e694f7877761c1 (diff) |
makefile: Add targets for LSP servers
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -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 |