Mercurial > vim
annotate runtime/ftplugin/csc.vim @ 5600:d289f2167d70 v7.4.147
updated for version 7.4.147
Problem: Cursor moves to wrong position when using "gj" after "$" and
virtual editing is active.
Solution: Make "gj" behave differently when virtual editing is active.
(Hirohito Higashi)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Tue, 14 Jan 2014 13:18:58 +0100 |
parents | 94601b379f38 |
children | c968191a8557 |
rev | line source |
---|---|
7 | 1 " Vim filetype plugin file |
2 " Language: csc | |
2034 | 3 " Maintainer: Dan Sharp <dwsharp at users dot sourceforge dot net> |
4 " Last Changed: 20 Jan 2009 | |
5 " URL: http://dwsharp.users.sourceforge.net/vim/ftplugin | |
7 | 6 |
7 if exists("b:did_ftplugin") | finish | endif | |
8 let b:did_ftplugin = 1 | |
9 | |
10 " Make sure the continuation lines below do not cause problems in | |
11 " compatibility mode. | |
12 let s:save_cpo = &cpo | |
13 set cpo-=C | |
14 | |
15 if exists("loaded_matchit") | |
16 let b:match_words= | |
17 \ '\<fix\>:\<endfix\>,' . | |
18 \ '\<if\>:\<else\%(if\)\=\>:\<endif\>,' . | |
19 \ '\<!loopondimensions\>\|\<!looponselected\>:\<!endloop\>' | |
20 endif | |
21 | |
22 " Undo the stuff we changed. | |
23 let b:undo_ftplugin = "unlet! b:match_words" | |
24 | |
25 " Restore the saved compatibility options. | |
26 let &cpo = s:save_cpo | |
3410
94601b379f38
Updated runtime files. Add Dutch translations.
Bram Moolenaar <bram@vim.org>
parents:
2034
diff
changeset
|
27 unlet s:save_cpo |