Skip to content

Finding package imports with javac #3677

Discussion options

You must be logged in to vote

I was able to fix this by editing let l:src_dir = ale#path#FindNearestDirectory(a:buffer, 'src/main/java') to let l:src_dir = ale#path#FindNearestDirectory(a:buffer, 'src') in ale_linters/java/javac.vim.
It would be better to be able to specify the source directories to find.
I could try doing this but I don't know vim script at all, and this shouldn't be too hard for anyone else who knows this - to add an config option that changes the source path(s) to find.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by alt-romes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant