Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
V
Vim
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Someone-Else
Vim
Commits
8b879e7f
Commit
8b879e7f
authored
20 years ago
by
Bram Moolenaar
Browse files
Options
Downloads
Patches
Plain Diff
updated for version 7.0065
parent
2641f77f
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
runtime/ftplugin/java.vim
+2
-15
2 additions, 15 deletions
runtime/ftplugin/java.vim
with
2 additions
and
15 deletions
runtime/ftplugin/java.vim
+
2
−
15
View file @
8b879e7f
" Vim filetype plugin file
" Language: Java
" Maintainer: Dan Sharp <dwsharp at hotmail dot com>
" Last Change: 200
4
Ma
y 16
" Last Change: 200
5
Ma
r 28
" URL: http://mywebpage.netscape.com/sharppeople/vim/ftplugin
if
exists
(
"b:did_ftplugin"
)
|
finish
|
endif
...
...
@@ -12,19 +12,6 @@ let b:did_ftplugin = 1
let
s:save_cpo
=
&
cpo
set
cpo
-=
C
" Go ahead and set this to get decent indenting even if the indent files
" aren't being used. For people who really don't want any indentation,
" let them turn it off.
if
!
exists
(
"g:ftplugin_java_no_indent"
)
setlocal
cindent
"---------------------
" Correctly indent anonymous classes
" From Johannes Zellner <johannes@zellner.org>
setlocal
cinoptions
+=
j1
"---------------------
endif
" For filename completion, prefer the .java extension over the .class
" extension.
set
suffixes
+=.
class
...
...
@@ -55,7 +42,7 @@ if has("gui_win32")
endif
" Undo the stuff we changed.
let
b:undo_ftplugin
=
"setlocal
cindent< cinoptions<
suffixes< suffixesadd<"
.
let
b:undo_ftplugin
=
"setlocal suffixes< suffixesadd<"
.
\
" formatoptions< comments< commentstring< path< includeexpr<"
.
\
" | unlet! b:browsefilter"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment