artur-shaik / vim-javacomplete2

DEPRECATED in favor of jc.nvim
Vim License
974 stars 83 forks source link

Adds regex option to exclude matching class names from import list #425

Closed fxg42 closed 5 years ago

fxg42 commented 5 years ago

I needed a way to prevent some classes from being added to to import list -- specifically lombok.experimental.var. This lets me add the following in my .vimrc

" Prevent `lombok.exprimental.var` from getting added to the imports
let g:JavaComplete_ExcludeClassRegex = 'lombok\(\.experimental\)\?\.var'
artur-shaik commented 5 years ago

Thanks