-
-
Notifications
You must be signed in to change notification settings - Fork 82
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Did you check docs and existing issues?
- I have read all the plugin docs
- I have searched the existing issues
- I have searched the existing issues of plugins related to this issue
Neovim version (nvim -v)
0.12.0-dev-2316+g1eb2ca9fcf
Operating system/version
Arch Linux
Describe the bug
I have a LibGDX project, and when I open it in my neovim I encounter some "unexpected" behavior: There are no Treesitter highlighting, no project related code suggestions and diagnostics.
The command :checkhealth vim.lsp shows, that LSPs are running and attached to the current buffer:
vim.lsp: Active Features ~
- folding_range
- Active buffers:
- semantic_tokens
- Active buffers:
[10]: spring-boot (id: 1), jdtls (id: 2)
- inline_completion
- Active buffers:
vim.lsp: Active Clients ~
- spring-boot (id: 1)
- Version: ? (no serverInfo.version response)
- Root directory: ~/Programming/java/PaybackKnight
- Command: { "java", "-XX:TieredStopAtLevel=1", "-Xmx1G", "-XX:+UseZGC", "-cp", "/home/igor/.local/share/nvim/nvim-java/packages/spring-boot-tools/1.55.1/extension/language-server/BOOT-INF/classes:/home/igor/.local/share/nvim/nvim-java/packages/spring-boot-tools/1.55.1/extension/language-server/BOOT-INF/lib/*", "-Dsts.lsp.client=vscode", "-Dsts.log.file=/dev/null", "-Dspring.config.location=file:/home/igor/.local/share/nvim/nvim-java/packages/spring-boot-tools/1.55.1/extension/language-server/BOOT-INF/classes/application.properties", "org.springframework.ide.vscode.boot.app.BootLanguageServerBootApp" }
- Settings: {
spring_boot = {}
}
- Attached buffers: 10
- jdtls (id: 2)
- Version: 1.54.0-SNAPSHOT
- Root directory: ~/Programming/java/PaybackKnight
- Command: <function @/home/igor/.local/share/nvim/site/pack/core/opt/nvim-java/lua/java-core/ls/servers/jdtls/cmd.lua:18>
- Settings: {
java = {
configuration = {
runtimes = { {
default = true,
name = "JavaSE-21",
path = "/usr/lib/jvm/java-21-openjdk"
}, {
name = "JavaSE-1.8",
path = "/usr/lib/jvm/java-8-openjdk"
}, {
name = "JavaSE-17",
path = "/usr/lib/jvm/java-17-openjdk"
}, {
name = "JavaSE-25",
path = "/usr/lib/jvm/java-25-openjdk"
} }
}
}
}
- Attached buffers: 10
And there I have a different LibGDX project which works completely fine.
The only difference between them two is that the not-working one has html platform support, uses Java 8 because of that and is newer.
Steps To Reproduce
- Download gdx-liftoff jar file
- Create a project with html platform enabled using gdx-liftoff
- Run
./gradlew eclipseinside the project folder - Open nightly neovim in the project folder and open a
.javafile
Expected Behavior
Treesitter highlighting, code suggestions and diagnostics working fine
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working