Closed marryton007 closed 2 years ago
I have modified 'plugin/coc.vim'
_ " coc.nvim 插件
" \ 'coc-css',
" \ 'coc-html',
" \ 'coc-java',
" \ 'coc-lua',
" \ 'coc-xml'
let s:coc_extensions = [
\ 'coc-pyright',
\ 'coc-explorer',
\ 'coc-word',
\ 'coc-cmake',
\ 'coc-dictionary',
\ 'coc-rust-analyzer',
\ 'coc-vimlsp',
\ 'coc-ci',
\ 'coc-snippets',
\ 'coc-vimtex',
\ 'coc-smartf',
\ 'coc-go',
\ 'coc-sh',
\ 'coc-git',
\ 'coc-diagnostic'
\]
I also ran the commands
:CocUninstall coc-lua coc-java coc-xml coc-jedi
:CocRebuild
:CocRestart
But it useless.
I'm not a Java expert and I'll try my best to solve your problem.
Firstly:
There are my immature assumptions may helpful for your problem:
I tried two methods:
It seems the problem is going away. but I don't know which one is right.
In my environment, I don't need java support, and it modifies my project files.
the file content is modified like below:
So, How can I totally disable java support?