Marko Korhonen
c024a40316
Changes include: - [x] Use init.lua instead of init.vim - Some keybindings are still to be converted - [x] Use packer as a package manager instead of vim-plug - [ ] Use built-in lsp instead of coc.nvim - [x] Set up language servers - [x] Completion - [x] Formatting (previously coc-prettier, now neoformat) - [ ] Snippets - [ ] Replace fzf with telescope.nvim - [x] Implement treesitter syntax highlighting - More info: https://github.com/nvim-treesitter/nvim-treesitter Note that this requires neovim nightly until 0.5 is released Reviewed-on: #2 Co-authored-by: Marko Korhonen <marko@korhonen.cc> Co-committed-by: Marko Korhonen <marko@korhonen.cc>
17 lines
635 B
Bash
Executable file
17 lines
635 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
JAR="$HOME/.local/share/nvim/lspinstall/java/plugins/org.eclipse.equinox.launcher_*.jar"
|
|
GRADLE_HOME=$HOME/gradle /usr/lib/jvm/default/bin/java \
|
|
-Declipse.application=org.eclipse.jdt.ls.core.id1 \
|
|
-Dosgi.bundles.defaultStartLevel=4 \
|
|
-Declipse.product=org.eclipse.jdt.ls.core.product \
|
|
-Dlog.protocol=true \
|
|
-Dlog.level=ALL \
|
|
-Xms1g \
|
|
-Xmx2G \
|
|
-jar $(echo "$JAR") \
|
|
-configuration "$HOME/.local/share/nvim/lspinstall/java/config_linux" \
|
|
-data "${1:-$HOME/workspace}" \
|
|
--add-modules=ALL-SYSTEM \
|
|
--add-opens java.base/java.util=ALL-UNNAMED \
|
|
--add-opens java.base/java.lang=ALL-UNNAMED
|