Questions tagged [filetype-java]

The tag has no usage guidance.

4 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
0answers
14 views

custom syntax highlight doesn't match in parentheses

In a custom java syntax file (${HOME}/.vim/syntax/java.vim) I wrote syntax match CommonVar /ret/ highlight CommonVar cterm=bold with the intention display the word ret in bold. I tested it with this ...
1
vote
0answers
11 views

How to disable this 'make text in clipboard into comment' feature with java file?

I am not sure why, but when I tried to create a new java file and paste some java code into it, vim turned them into comments and added additional indentation to the code. 16 // import com.myproject....
1
vote
0answers
27 views

]m moves to class definitions not method definitions inside nested classes

I am editing a java file. ]m takes me from one class to the next, instead of to the next method definition. How do I get it to take me between methods? Example: public class Baz { public class ...
1
vote
0answers
23 views

Java equivalent for vim-latex folds

Vim-Latex has a feature which folds the tex document into the respective environments e.g. sections,equations. Can I enable somthing similar for Java?