mirror of
https://git.disroot.org/FollieHiyuki/dotfiles.git
synced 2024-12-12 17:18:22 -05:00
359cc044b2
neovim: lsp: add ansiblels chore: cleanup shebang (remove 'sh -e' pattern)
13 lines
353 B
Bash
Executable File
13 lines
353 B
Bash
Executable File
#!/bin/sh
|
|
|
|
current_path="$PWD"
|
|
server_path="${XDG_DATA_HOME:-$HOME/.local/share}/nvim/lsp/efm"
|
|
|
|
[ ! -d "${server_path}" ] && mkdir -p "${server_path}"
|
|
cd ${server_path}
|
|
|
|
GOPATH="${server_path}" GOBIN="${server_path}" go install github.com/mattn/efm-langserver@latest
|
|
GOPATH="${server_path}" GOBIN="${server_path}" go clean -modcache
|
|
|
|
cd ${current_path}
|