You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 3, 2022. It is now read-only.
Hello. Since config doesn't get valued inside cmd([[autocmd FileType java lua require('jdtls').start_or_attach(config)]]) I'm trying to find an alternative. While searching I came upon this repository which I think could solve my problem ( starting nvim-jdtls only for java files ). Could you please point out what exactly I'm doing wrong ?
I was eventually able to solve this using a simple if vim.bo.filetype == "java" then, I'm still curious about this but please feel free to close it if needed.
Hello. Since
configdoesn't get valued insidecmd([[autocmd FileType java lua require('jdtls').start_or_attach(config)]])I'm trying to find an alternative. While searching I came upon this repository which I think could solve my problem ( starting nvim-jdtls only for java files ). Could you please point out what exactly I'm doing wrong ?Here is also the whole file for reference: https://0x0.st/orHv.lua
EDIT: and also the init.vim which sources this lua: https://0x0.st/or8S.vim
I was eventually able to solve this using a simple
if vim.bo.filetype == "java" then, I'm still curious about this but please feel free to close it if needed.