Added the install_marksman

Signed-off-by: Marcin Woźniak <marcin.wozniak@wundermanthompson.com>
This commit is contained in:
Marcin Woźniak 2023-09-04 11:11:19 +02:00 committed by Marcin Woźniak
parent 72f5e481a4
commit 781f2ef7a2

View File

@ -112,6 +112,16 @@ function install_shellcheck() {
fi
}
function install_marksman() {
if [[ "$(uname)" == "Darwin" ]]; then
brew install marksman -q
else
wget https://github.com/artempyanykh/marksman/releases/latest/download/marksman-linux-x64 -O $HOME/.local/bin/marksman
chmod +x $HOME/.local/bin/marksman
fi
}
function install_go() {
# Install the golang
if [[ "$(uname)" == "Darwin" ]]; then
@ -221,6 +231,7 @@ function main() {
command_start install_bash-language-server
command_start install_yaml-language-server
command_start install_ansible-language-server
command_start install_marksman
command_start install_shfmt
command_start install_shellcheck
command_start install_gopls