annotate runtime/ftplugin/jproperties.vim @ 9225:b0b2bd8e5217
v7.4.1896
commit https://github.com/vim/vim/commit/82faa259cc42379f2a17d598a2a39d14048685b0
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jun 4 20:14:07 2016 +0200
patch 7.4.1896
Problem: Invoking mark_adjust() when adding a new line below the last line
is pointless.
Solution: Skip calling mark_adjust() when appending below the last line.
author |
Christian Brabandt <cb@256bit.org> |
date |
Sat, 04 Jun 2016 20:15:06 +0200 |
parents |
d7d7bac1a163 |
children |
8dde7ced3344 |
rev |
line source |
5510
|
1 " Vim filetype plugin
|
|
2 " Language: Java properties file
|
|
3 " Maintainer: David Bürgin <676c7473@gmail.com>
|
|
4 " Last Change: 2013-11-19
|
|
5
|
|
6 if exists("b:did_ftplugin")
|
|
7 finish
|
|
8 endif
|
|
9 let b:did_ftplugin = 1
|
|
10
|
|
11 setlocal formatoptions-=t
|
|
12 setlocal comments=:#,:!
|
|
13 setlocal commentstring=#\ %s
|
|
14
|
|
15 let b:undo_ftplugin = "setl cms< com< fo<"
|