Skip to content

Commit e0e5dfe

Browse files
committed
Update runtime files. Add support for systemverilog.
1 parent 18707db commit e0e5dfe

File tree

18 files changed

+411
-58
lines changed

18 files changed

+411
-58
lines changed

runtime/doc/autocmd.txt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*autocmd.txt* For Vim version 7.4. Last change: 2013 Dec 04
1+
*autocmd.txt* For Vim version 7.4. Last change: 2014 Jan 23
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -562,6 +562,9 @@ FileChangedRO Before making the first change to a read-only
562562
It is not allowed to change to another buffer
563563
here. You can reload the buffer but not edit
564564
another one.
565+
*E881*
566+
If the number of lines changes saving for undo
567+
may fail and the change will be aborted.
565568
*FileChangedShell*
566569
FileChangedShell When Vim notices that the modification time of
567570
a file has changed since editing started.
@@ -740,7 +743,7 @@ QuickFixCmdPost Like QuickFixCmdPre, but after a quickfix
740743
command is run, before jumping to the first
741744
location. For |:cfile| and |:lfile| commands
742745
it is run after error file is read and before
743-
moving to the first error.
746+
moving to the first error.
744747
See |QuickFixCmdPost-example|.
745748
*QuitPre*
746749
QuitPre When using `:quit`, `:wq` or `:qall`, before

runtime/doc/change.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -824,7 +824,7 @@ either the first or second pattern in parentheses did not match, so either
824824
<
825825

826826
Substitute with an expression *sub-replace-expression*
827-
*sub-replace-\=* *:s/\=*
827+
*sub-replace-\=* *s/\=*
828828
When the substitute string starts with "\=" the remainder is interpreted as an
829829
expression. This does not work recursively: a |substitute()| function inside
830830
the expression cannot use "\=" for the substitute string.

runtime/doc/eval.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*eval.txt* For Vim version 7.4. Last change: 2014 Jan 14
1+
*eval.txt* For Vim version 7.4. Last change: 2014 Feb 11
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1745,7 +1745,7 @@ cscope_connection( [{num} , {dbpath} [, {prepend}]])
17451745
cursor( {lnum}, {col} [, {coladd}])
17461746
Number move cursor to {lnum}, {col}, {coladd}
17471747
cursor( {list}) Number move cursor to position in {list}
1748-
deepcopy( {expr}) any make a full copy of {expr}
1748+
deepcopy( {expr} [, {noref}]) any make a full copy of {expr}
17491749
delete( {fname}) Number delete file {fname}
17501750
did_filetype() Number TRUE if FileType autocommand event used
17511751
diff_filler( {lnum}) Number diff filler lines about {lnum}
@@ -5642,7 +5642,7 @@ strchars({expr}) *strchars()*
56425642

56435643
strdisplaywidth({expr}[, {col}]) *strdisplaywidth()*
56445644
The result is a Number, which is the number of display cells
5645-
String {expr} occupies on the screen.
5645+
String {expr} occupies on the screen when it starts a {col}.
56465646
When {col} is omitted zero is used. Otherwise it is the
56475647
screen column where to start. This matters for Tab
56485648
characters.

runtime/doc/motion.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*motion.txt* For Vim version 7.4. Last change: 2013 Jul 17
1+
*motion.txt* For Vim version 7.4. Last change: 2014 Feb 11
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -343,7 +343,7 @@ gg Goto line [count], default first line, on the first
343343
See also 'startofline' option. {not in Vi}
344344

345345
:[range]go[to] [count] *:go* *:goto* *go*
346-
[count]go Go to {count} byte in the buffer. Default [count] is
346+
[count]go Go to [count] byte in the buffer. Default [count] is
347347
one, start of the file. When giving [range], the
348348
last number in it used as the byte count. End-of-line
349349
characters are counted depending on the current

runtime/doc/pattern.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*pattern.txt* For Vim version 7.4. Last change: 2013 Nov 09
1+
*pattern.txt* For Vim version 7.4. Last change: 2014 Feb 08
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -192,10 +192,10 @@ affected.
192192
An example of how to search for matches with a pattern and change the match
193193
with another word: >
194194
/foo<CR> find "foo"
195-
c//e change until end of match
195+
c//e<CR> change until end of match
196196
bar<Esc> type replacement
197197
//<CR> go to start of next match
198-
c//e change until end of match
198+
c//e<CR> change until end of match
199199
beep<Esc> type another replacement
200200
etc.
201201
<

runtime/doc/repeat.txt

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*repeat.txt* For Vim version 7.4. Last change: 2013 Jul 25
1+
*repeat.txt* For Vim version 7.4. Last change: 2014 Feb 11
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -26,10 +26,14 @@ Chapter 26 of the user manual introduces repeating |usr_26.txt|.
2626

2727
Simple changes can be repeated with the "." command. Without a count, the
2828
count of the last change is used. If you enter a count, it will replace the
29-
last one. If the last change included a specification of a numbered register,
30-
the register number will be incremented. See |redo-register| for an example
31-
how to use this. Note that when repeating a command that used a Visual
32-
selection, the same SIZE of area is used, see |visual-repeat|.
29+
last one. |v:count| and |v:count1| will be set.
30+
31+
If the last change included a specification of a numbered register, the
32+
register number will be incremented. See |redo-register| for an example how
33+
to use this.
34+
35+
Note that when repeating a command that used a Visual selection, the same SIZE
36+
of area is used, see |visual-repeat|.
3337

3438
*@:*
3539
@: Repeat last command-line [count] times.

runtime/doc/tags

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2673,7 +2673,6 @@ $VIMRUNTIME starting.txt /*$VIMRUNTIME*
26732673
:rviminfo starting.txt /*:rviminfo*
26742674
:s change.txt /*:s*
26752675
:s% change.txt /*:s%*
2676-
:s/\= change.txt /*:s\/\\=*
26772676
:sN windows.txt /*:sN*
26782677
:sNext windows.txt /*:sNext*
26792678
:s\= change.txt /*:s\\=*
@@ -4305,6 +4304,7 @@ E878 pattern.txt /*E878*
43054304
E879 syntax.txt /*E879*
43064305
E88 windows.txt /*E88*
43074306
E880 if_pyth.txt /*E880*
4307+
E881 autocmd.txt /*E881*
43084308
E89 message.txt /*E89*
43094309
E90 message.txt /*E90*
43104310
E91 options.txt /*E91*
@@ -7596,6 +7596,7 @@ s/\2 change.txt /*s\/\\2*
75967596
s/\3 change.txt /*s\/\\3*
75977597
s/\9 change.txt /*s\/\\9*
75987598
s/\<CR> change.txt /*s\/\\<CR>*
7599+
s/\= change.txt /*s\/\\=*
75997600
s/\E change.txt /*s\/\\E*
76007601
s/\L change.txt /*s\/\\L*
76017602
s/\U change.txt /*s\/\\U*

runtime/doc/todo.txt

Lines changed: 24 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*todo.txt* For Vim version 7.4. Last change: 2014 Jan 23
1+
*todo.txt* For Vim version 7.4. Last change: 2014 Feb 11
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -34,9 +34,12 @@ not be repeated below, unless there is extra information.
3434
*known-bugs*
3535
-------------------- Known bugs and current work -----------------------
3636

37+
When 'paste' is changed with 'pastetoggle', the ruler doesn't reflect this
38+
right away. (Samuel Ferencik, 2010 Dec 7)
39+
Patch to fix that status line isn't redrawn when 'pastetoggle' is set.
40+
(Nobuhiro Takasaki, 2014 Feb 11)
41+
3742
Regexp problems:
38-
- After patch 7.4.045 pattern with \zs isn't handled correctly. (Yukihiro
39-
Nakadaira, 2013 Dec 23) Patch 2014 Jan 15, update Jan 16.
4043
- NFA regexp doesn't count tab matches correctly. (Urtica Dioica / gaultheria
4144
Shallon, 2013 Nov 18)
4245
- After patch 7.4.100 there is still a difference between NFA and old engine.
@@ -50,27 +53,15 @@ Regexp problems:
5053
2013 Dec 11)
5154
- Using \@> and \?. (Brett Stahlman, 2013 Dec 21) Remark from Marcin Szamotulski
5255
Remark from Brett 2014 Jan 6 and 7.
53-
54-
Patch to fix endless loop in completion. (Christian Brabandt, 2014 Jan 15)
55-
56-
Patch after 7.4.154: no autoload when not evaluating. (Yasuhiro Matsumoto,
57-
2014 Jan 14)
58-
59-
Test for patch 7.4.149. (Yukihiro Nakadaira, 2014 Jan 15)
56+
- Bug with back references. (Lech Lorens, 2014 Feb 3)
57+
- Bug when using \>. (Ramel, 2014 Feb 2)
6058

6159
Problem that a previous silent ":throw" causes a following try/catch not to
6260
work. (ZyX, 2013 Sep 28)
6361

6462
":cd C:\Windows\System32\drivers\etc*" does not work, even though the
6563
directory exists. (Sergio Gallelli, 2013 Dec 29)
6664

67-
Blowfish is actually using CFB instead of OFB. Adjust names in blowfish.c.
68-
69-
More compiler warnings for Python. (Tony Mechelynck, 2014 Jan 14)
70-
71-
Patch to fix that when wide functions fail the non-wide function may do
72-
something wrong. (Ken Takata, 2014 Jan 18)
73-
7465
Patch 7.4.085 breaks Visual insert in some situations. (Issue 193)
7566
Patch by Christian Brabandt, 2014 Jan 16.
7667

@@ -81,17 +72,15 @@ ftplugins.
8172

8273
Python: ":py raw_input('prompt')" doesn't work. (Manu Hack)
8374

84-
Patch to make Dictionary.update() work without arguments.
85-
(ZyX, 2013 Oct 19)
86-
87-
Include systemverilog file? Two votes yes.
88-
8975
Patch to make "J" set '[ and '] marks. (Christian Brabandt, 2013 Dec 11)
9076
Any compatibility problems?
9177

9278
Patch to add :S modifier for excaping the current file name.
9379
(ZyX, 2013 Nov 30) Update Dec 5.
9480

81+
Issu 197: ]P doesn't paste over Visual selection. With patch from Christian
82+
Brabandt, Feb 6.
83+
9584
Problem with 'spellsuggest' file, only works for some words.
9685
(Cesar Romani, 2013 Aug 20) Depends on file name? (Aug 24)
9786
Additional remark by glts: the suggested words are marked bad?
@@ -102,12 +91,15 @@ Additional remark by glts: the suggested words are marked bad?
10291

10392
Syntax highlighting slow (hangs) in SASS file. (Niek Bosch, 2013 Aug 21)
10493

105-
Adding "~" to 'cdpath' doesn't work for completion? (Davido, 2013 Aug 19)
94+
Patch for mksession. (Nobuhiro Takasaki, 2014 Jan 31)
95+
Also fixes another problem (following email)
10696

107-
Error number E834 is used twice. (Yukihiro Nakadaira. 2014 Jan 18)
97+
Adding "~" to 'cdpath' doesn't work for completion? (Davido, 2013 Aug 19)
10898

10999
Crash with ":%s/\n//g" on long file. (Aidan Marlin, 2014 Jan 15)
110100
Christian Brabandt: patch to run this into a join. (2014 Jan 18)
101+
Suggestion to not save replaced line for undo: Yukihiro Nakadaira, 2014 Jan
102+
25.
111103

112104
Add digraph for Rouble: =P. What's the Unicode?
113105

@@ -117,6 +109,12 @@ Phpcomplete.vim update. (Complex, 2014 Jan 15)
117109

118110
PHP syntax is extremely slow. (Anhad Jai Singh, 2014 Jan 19)
119111

112+
Can we make ":unlet $VAR" use unsetenv() to delete the env var?
113+
What for systems that don't have unsetenv()?
114+
115+
spec ftplugin: patch from Igor Gnatenko, 2014 Jan 26.
116+
Include if maintainers don't respond.
117+
120118
Patch to make has() check for Vim version and patch at the same time.
121119
(Marc Weber, 2013 Jun 7)
122120

@@ -325,7 +323,8 @@ MS-Windows: Crash opening very long file name starting with "\\".
325323
(Christian Brock, 2012 Jun 29)
326324

327325
Patch to have text objects defined by arbitrary single characters. (Daniel
328-
Thau, 2013 Nov 20)
326+
Thau, 2013 Nov 20, 2014 Jan 29, 2014 Jan 31)
327+
Ben Fritz: problem with 'selection' set to "exclusive".
329328

330329
Patch to select the next or previous text object if there isn't one under the
331330
cursor. (Daniel Thau, 2013 Nov 20)
@@ -784,9 +783,6 @@ C-indenting: A matching { in a comment is ignored, but intermediate { are not
784783
checked to be in a comment. Implement FM_SKIPCOMM flag of findmatchlimit().
785784
Issue 46.
786785

787-
When 'paste' is changed with 'pastetoggle', the ruler doesn't reflect this
788-
right away. (Samuel Ferencik, 2010 Dec 7)
789-
790786
Mac with X11: clipboard doesn't work properly. (Raf, 2010 Aug 16)
791787

792788
Using CompilerSet doesn't record where an option was set from. E.g., in the

runtime/filetype.vim

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
" Vim support file to detect file types
22
"
33
" Maintainer: Bram Moolenaar <[email protected]>
4-
" Last Change: 2014 Jan 06
4+
" Last Change: 2014 Feb 11
55

66
" Listen very carefully, I will say this only once
77
if exists("did_load_filetypes")
@@ -2243,6 +2243,9 @@ au BufNewFile,BufRead *.v setf verilog
22432243
" Verilog-AMS HDL
22442244
au BufNewFile,BufRead *.va,*.vams setf verilogams
22452245

2246+
" SystemVerilog
2247+
au BufNewFile,BufRead *.sv setf systemverilog
2248+
22462249
" VHDL
22472250
au BufNewFile,BufRead *.hdl,*.vhd,*.vhdl,*.vbe,*.vst setf vhdl
22482251
au BufNewFile,BufRead *.vhdl_[0-9]* call s:StarSetf('vhdl')

runtime/ftplugin/debchangelog.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
" Maintainer: Debian Vim Maintainers <[email protected]>
44
" Former Maintainers: Michael Piefel <[email protected]>
55
" Stefano Zacchiroli <[email protected]>
6-
" Last Change: 2012-01-31
6+
" Last Change: 2014-01-31
77
" License: Vim License
88
" URL: http://hg.debian.org/hg/pkg-vim/vim/file/unstable/runtime/ftplugin/debchangelog.vim
99

@@ -152,7 +152,7 @@ function CloseBug()
152152
endfunction
153153

154154
function Distribution(dist)
155-
call setline(1, substitute(getline(1), ") [[:lower:] ]*;", ") " . a:dist . ";", ""))
155+
call setline(1, substitute(getline(1), ') *\%(UNRELEASED\|\l\+\);', ") " . a:dist . ";", ""))
156156
endfunction
157157

158158
function Urgency(urg)

0 commit comments

Comments
 (0)