[vim/vim] Java ftplugin does not change the 'include' option to match Java import statements (#2663)

8 views
Skip to first unread message

bgx90

unread,
Feb 22, 2018, 11:53:36 PM2/22/18
to vim/vim, Subscribed

I have noticed that when I open a java file in vim, the Java ftplugin does not change the value of the include option so that include-search would be able to search for keywords in imported files. When I check the value of include after opening a java file, it is still the default value ^\s*#\s*include. I checked the source for the Java ftplugin and saw that it does not set the value of 'include' like other ftplugins do (the python ftplugin, for example). Given the behavior of other ftplugins I have looked at, I expected that the Java ftplugin would set include to something like ^\s*#\s*import. Was I wrong, or was it an oversight to not have the Java ftplugin change the value of the include option?


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub

Aliaksei Budavei

unread,
Oct 20, 2025, 4:35:41 PM (15 hours ago) Oct 20
to vim/vim, vim-dev ML, Manual
zzzyxwvut left a comment (vim/vim#2663)

This request has been fulfilled (see #17281).


Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/2663/3423633974@github.com>

Reply all
Reply to author
Forward
0 new messages