Skip to content

Commit

Permalink
vim-patch:85eee130f44a
Browse files Browse the repository at this point in the history
Update runtime files.
vim/vim@85eee13
  • Loading branch information
justinmk committed Oct 29, 2018
1 parent 875a1bc commit c05b0d8
Show file tree
Hide file tree
Showing 12 changed files with 194 additions and 136 deletions.
4 changes: 2 additions & 2 deletions runtime/doc/change.txt
Expand Up @@ -99,7 +99,7 @@ is an error when 'cpoptions' includes the 'E' flag.
J Join [count] lines, with a minimum of two lines.
Remove the indent and insert up to two spaces (see
below). Fails when on the last line of the buffer.
If [count] is too big it is reduce to the number of
If [count] is too big it is reduced to the number of
lines available.

*v_J*
Expand Down Expand Up @@ -416,7 +416,7 @@ This depends on the 'nrformats' option:

For decimals a leading negative sign is considered for incrementing or
decrementing, for binary, octal and hex values, it won't be considered. To
ignore the sign Visually select the number before using CTRL-A or CTRL-X.
ignore the sign Visually select the number before using CTRL-A or CTRL-X.

For numbers with leading zeros (including all octal and hexadecimal numbers),
Vim preserves the number of characters in the number when possible. CTRL-A on
Expand Down
2 changes: 1 addition & 1 deletion runtime/doc/quickfix.txt
Expand Up @@ -1240,7 +1240,7 @@ or >
to indicate the column of the error. This is to be used in a multi-line error
message. See |errorformat-javac| for a useful example.

The "%s" conversion specifies the text to search for to locate the error line.
The "%s" conversion specifies the text to search for, to locate the error line.
The text is used as a literal string. The anchors "^" and "$" are added to
the text to locate the error line exactly matching the search text and the
text is prefixed with the "\V" atom to make it "very nomagic". The "%s"
Expand Down
42 changes: 21 additions & 21 deletions runtime/doc/tagsrch.txt
Expand Up @@ -31,28 +31,28 @@ An easy way back is with the CTRL-T command. Also read about the tag stack
below.

*:ta* *:tag* *E426* *E429*
:[count]ta[g][!] {ident}
Jump to the definition of {ident}, using the
information in the tags file(s). Put {ident} in the
:[count]ta[g][!] {name}
Jump to the definition of {name}, using the
information in the tags file(s). Put {name} in the
tag stack. See |tag-!| for [!].
{ident} can be a regexp pattern, see |tag-regexp|.
When there are several matching tags for {ident}, jump
{name} can be a regexp pattern, see |tag-regexp|.
When there are several matching tags for {name}, jump
to the [count] one. When [count] is omitted the
first one is jumped to. See |tag-matchlist| for
jumping to other matching tags.

g<LeftMouse> *g<LeftMouse>*
<C-LeftMouse> *<C-LeftMouse>* *CTRL-]*
CTRL-] Jump to the definition of the keyword under the
cursor. Same as ":tag {ident}", where {ident} is the
cursor. Same as ":tag {name}", where {name} is the
keyword under or after cursor.
When there are several matching tags for {ident}, jump
When there are several matching tags for {name}, jump
to the [count] one. When no [count] is given the
first one is jumped to. See |tag-matchlist| for
jumping to other matching tags.

*v_CTRL-]*
{Visual}CTRL-] Same as ":tag {ident}", where {ident} is the text that
{Visual}CTRL-] Same as ":tag {name}", where {name} is the text that
is highlighted.

*telnet-CTRL-]*
Expand All @@ -76,7 +76,7 @@ When there are multiple matches for a tag, this priority is used:

Note that when the current file changes, the priority list is mostly not
changed, to avoid confusion when using ":tnext". It is changed when using
":tag {ident}".
":tag {name}".

The ignore-case matches are not found for a ":tag" command when:
- the 'ignorecase' option is off and 'tagcase' is "followic"
Expand Down Expand Up @@ -161,7 +161,7 @@ You can get from main to FuncA by using CTRL-] on the call to FuncA. Then
you can CTRL-] to get to FuncC. If you now want to go back to main you can
use CTRL-T twice. Then you can CTRL-] to FuncB.

If you issue a ":ta {ident}" or CTRL-] command, this tag is inserted at the
If you issue a ":ta {name}" or CTRL-] command, this tag is inserted at the
current position in the stack. If the stack was full (it can hold up to 20
entries), the oldest entry is deleted and the older entries shift one
position up (their index number is decremented by one). If the last used
Expand All @@ -185,14 +185,14 @@ between them. Note that these commands don't change the tag stack, they keep
the same entry.

*:ts* *:tselect*
:ts[elect][!] [ident] List the tags that match [ident], using the
:ts[elect][!] [name] List the tags that match [name], using the
information in the tags file(s).
When [ident] is not given, the last tag name from the
When [name] is not given, the last tag name from the
tag stack is used.
See |tag-!| for [!].
With a '>' in the first column is indicated which is
the current position in the list (if there is one).
[ident] can be a regexp pattern, see |tag-regexp|.
[name] can be a regexp pattern, see |tag-regexp|.
See |tag-priority| for the priorities used in the
listing.
Example output:
Expand Down Expand Up @@ -220,7 +220,7 @@ the same entry.
type 'q' and enter the number.

*:sts* *:stselect*
:sts[elect][!] [ident] Does ":tselect[!] [ident]" and splits the window for
:sts[elect][!] [name] Does ":tselect[!] [name]" and splits the window for
the selected tag.

*g]*
Expand All @@ -231,11 +231,11 @@ g] Like CTRL-], but use ":tselect" instead of ":tag".
identifier.

*:tj* *:tjump*
:tj[ump][!] [ident] Like ":tselect", but jump to the tag directly when
:tj[ump][!] [name] Like ":tselect", but jump to the tag directly when
there is only one match.

*:stj* *:stjump*
:stj[ump][!] [ident] Does ":tjump[!] [ident]" and splits the window for the
:stj[ump][!] [name] Does ":tjump[!] [name]" and splits the window for the
selected tag.

*g_CTRL-]*
Expand Down Expand Up @@ -267,9 +267,9 @@ g CTRL-] Like CTRL-], but use ":tjump" instead of ":tag".
:tl[ast][!] Jump to last matching tag. See |tag-!| for [!].

*:lt* *:ltag*
:lt[ag][!] [ident] Jump to tag [ident] and add the matching tags to a new
location list for the current window. [ident] can be
a regexp pattern, see |tag-regexp|. When [ident] is
:lt[ag][!] [name] Jump to tag [name] and add the matching tags to a new
location list for the current window. [name] can be
a regexp pattern, see |tag-regexp|. When [name] is
not given, the last tag name from the tag stack is
used. The search pattern to locate the tag line is
prefixed with "\V" to escape all the special
Expand Down Expand Up @@ -300,11 +300,11 @@ the same as above, with a "p" prepended.
{not available when compiled without the |+quickfix| feature}

*:pts* *:ptselect*
:pts[elect][!] [ident] Does ":tselect[!] [ident]" and shows the new tag in a
:pts[elect][!] [name] Does ":tselect[!] [name]" and shows the new tag in a
"Preview" window. See |:ptag| for more info.

*:ptj* *:ptjump*
:ptj[ump][!] [ident] Does ":tjump[!] [ident]" and shows the new tag in a
:ptj[ump][!] [name] Does ":tjump[!] [name]" and shows the new tag in a
"Preview" window. See |:ptag| for more info.

*:ptn* *:ptnext*
Expand Down
7 changes: 7 additions & 0 deletions runtime/filetype.vim
Expand Up @@ -425,6 +425,13 @@ au BufNewFile,BufRead control
\| setf debcontrol
\| endif

" Debian Copyright
au BufNewFile,BufRead */debian/copyright setf debcopyright
au BufNewFile,BufRead copyright
\ if getline(1) =~ '^Format:'
\| setf debcopyright
\| endif

" Debian Sources.list
au BufNewFile,BufRead */etc/apt/sources.list setf debsources
au BufNewFile,BufRead */etc/apt/sources.list.d/*.list setf debsources
Expand Down

0 comments on commit c05b0d8

Please sign in to comment.