Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ A Java [language server](https://github.com/Microsoft/vscode-languageserver-prot
### Vim (with vim-lsc)

- Checkout this repository
- Run `./scripts/download_{linux|mac|windows}_jdk.sh`
- Run `./scripts/link_{linux|mac|windows}.sh`
- Run `mvn package -DskipTests`
- Add the vim plugin [natebosch/vim-lsc](https://github.com/natebosch/vim-lsc) to your vimrc
Expand Down Expand Up @@ -214,4 +215,4 @@ At the time of this writing, the build only works on Mac, because of the way it

### Editing

Please run ./configure before your first commit to install a pre-commit hook that formats the code.
Please run ./configure before your first commit to install a pre-commit hook that formats the code.
4 changes: 2 additions & 2 deletions scripts/link_linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ JAVA_HOME="./jdks/linux/jdk-18"

# Build in dist/linux
rm -rf dist/linux
jlink \
${JAVA_HOME}/bin/jlink \
--module-path $JAVA_HOME/jmods \
--add-modules java.base,java.compiler,java.logging,java.sql,java.xml,jdk.compiler,jdk.jdi,jdk.unsupported,jdk.zipfs \
--output dist/linux \
--no-header-files \
--no-man-pages \
--compress 2
--compress 2