mirror of
https://github.com/mattn/vim-lsp-settings.git
synced 2025-12-12 20:35:54 +01:00
18 lines
231 B
Bash
Executable File
18 lines
231 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
cat <<EOF >rubocop-lsp-mode
|
|
#!/bin/sh
|
|
|
|
TARGET_DIR=\$1
|
|
shift
|
|
cd \${TARGET_DIR}
|
|
bundle exec rubocop \$*
|
|
EOF
|
|
|
|
chmod +x rubocop-lsp-mode
|
|
|
|
echo 'Install Done.'
|
|
echo '**You need add rubocop dependencies in Gemfile.**'
|