-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor (#16): removed global npm deps
* chore: update readme - edited help msg * fix: installation no longer requires global packages - updated readme install docs - added `scripts/*.sh` in favor of `./setup.sh` - updated `web-tree-sitter` dep * fix: updated `yarn setup` * unlinks and links the fish-lsp package
- Loading branch information
Showing
12 changed files
with
81 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/usr/bin/env bash | ||
|
||
yarn add web-tree-sitter | ||
yarn add --dev tree-sitter-cli https://github.com/ram02z/tree-sitter-fish | ||
npx tree-sitter build-wasm node_modules/tree-sitter-fish | ||
|
||
yarn remove tree-sitter-cli tree-sitter-fish |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/usr/bin/env fish | ||
yarn install | ||
yarn build-wasm | ||
yarn compile | ||
|
||
echo -e "\n\nLINKING fish-lsp" | ||
if command -vq fish-lsp | ||
echo -e \ | ||
' "fish-lsp" is already installed\n' \ | ||
' UNLINKING and LINKING again' | ||
yarn unlink --global-folder "fish-lsp" &> /dev/null | ||
end | ||
yarn link --global-folder "fish-lsp" &> /dev/null | ||
|
||
echo -e '\n"fish-lsp" is now installed and linked' | ||
# 'fish-lsp:'(which fish-lsp)\n\ | ||
# '> fish-lsp show-path' | ||
# | ||
# fish-lsp show-path |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters