Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can I have doge use groovyls not jdtls when working with groovy files? #634

Open
madelaney opened this issue Oct 4, 2023 · 1 comment
Open
Labels
question Further information is requested

Comments

@madelaney
Copy link

When doing work with groovy files, I'm using groovyls. However, doge wants to load jdtls. This causes an issue where I get the message: nvim-navic: Failed to attach to jdtls for current buffer. Already attached to groovyls.

This is a little confusing because the message is coming from nvim-navic, but I believe it's originating from vim-doge. I can to this conclusion because if I open a groovy file with vim-doge disabled, the error messages goes away. I believe this is being caused by groovy being an alias for java (as defined at doge.vim#104).

so my ask is ... can I tell vim-doge to use groovyls not jdtls for groovy files?

@madelaney madelaney added the question Further information is requested label Oct 4, 2023
@kkoomen
Copy link
Owner

kkoomen commented Oct 8, 2023

Is it fixed if you add this to your .vimrc?

let g:doge_filetype_aliases = {}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants