diff options
author | Jagua <jagualitol@gmail.com> | 2019-03-07 00:45:54 +0900 |
---|---|---|
committer | Jagua <jagualitol@gmail.com> | 2019-03-07 00:45:54 +0900 |
commit | a637ece038bbc351864747b62dc41db7240ac893 (patch) | |
tree | 28da4317d6346c78f8ee4f8b5dec8e846ca8d70a | |
parent | 9398eed651172bd681ff47b1695288e54dd4ed89 (diff) | |
download | vim-sonictemplate-a637ece038bbc351864747b62dc41db7240ac893.tar.gz vim-sonictemplate-a637ece038bbc351864747b62dc41db7240ac893.tar.bz2 vim-sonictemplate-a637ece038bbc351864747b62dc41db7240ac893.zip |
Add some postfix patterns in Java
-rw-r--r-- | template/java/pattern.stpl | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/template/java/pattern.stpl b/template/java/pattern.stpl new file mode 100644 index 0000000..2a48364 --- /dev/null +++ b/template/java/pattern.stpl @@ -0,0 +1,11 @@ +\(\S.*\)\.pr\%[int]$ + System.out.print({{$1}}); + {{_cursor_}} + +\(\S.*\)\.pr\%[int]f$ + System.out.printf({{$1}}); + {{_cursor_}} + +\(\S.*\)\.pr\%[int]l\%[n]$ + System.out.println({{$1}}); + {{_cursor_}} |