From 86caa65988585a8a98a94c7329732a9c9429944c Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sun, 23 Apr 2023 01:27:01 +0200 Subject: ftplugin/java.vim: Set TComment commentstring to '// %s' By default it's '/* %s */' which I don't like for line comments. --- ftplugin/java.vim | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 ftplugin/java.vim (limited to 'ftplugin') diff --git a/ftplugin/java.vim b/ftplugin/java.vim new file mode 100644 index 0000000..b74b197 --- /dev/null +++ b/ftplugin/java.vim @@ -0,0 +1,2 @@ +" Comment string +call tcomment#DefineType('java', '// %s') -- cgit v1.2.3