mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 03:05:11 -07:00
vim-patch:15142e27aaaf
Update runtime files and translations
15142e27aa
This commit is contained in:
parent
9ef01272b2
commit
875a1bcf0a
@ -338,6 +338,7 @@ Name triggered by ~
|
||||
|TextChangedP| after a change was made to the text in Insert mode
|
||||
when popup menu visible
|
||||
|
||||
|ColorSchemePre| before loading a color scheme
|
||||
|ColorScheme| after loading a color scheme
|
||||
|
||||
|RemoteReply| a reply from a server Vim was received
|
||||
@ -569,6 +570,10 @@ ColorScheme After loading a color scheme. |:colorscheme|
|
||||
set, and <amatch> for the new colorscheme
|
||||
name.
|
||||
|
||||
*ColorSchemePre*
|
||||
ColorSchemePre Before loading a color scheme. |:colorscheme|
|
||||
Useful to setup removing things added by a
|
||||
color scheme, before another one is loaded.
|
||||
|
||||
*CompleteDone*
|
||||
CompleteDone After Insert mode completion is done. Either
|
||||
|
@ -4315,6 +4315,7 @@ getqflist([{what}]) *getqflist()*
|
||||
list item is a dictionary with these entries:
|
||||
bufnr number of buffer that has the file name, use
|
||||
bufname() to get the name
|
||||
module module name
|
||||
lnum line number in the buffer (first line is 1)
|
||||
col column number (first column is 1)
|
||||
vcol |TRUE|: "col" is visual column
|
||||
@ -4339,51 +4340,63 @@ getqflist([{what}]) *getqflist()*
|
||||
If the optional {what} dictionary argument is supplied, then
|
||||
returns only the items listed in {what} as a dictionary. The
|
||||
following string items are supported in {what}:
|
||||
context get the context stored with |setqflist()|
|
||||
changedtick get the total number of changes made
|
||||
to the list |quickfix-changedtick|
|
||||
context get the |quickfix-context|
|
||||
efm errorformat to use when parsing "lines". If
|
||||
not present, then the 'errorformat' option
|
||||
value is used.
|
||||
id get information for the quickfix list with
|
||||
|quickfix-ID|; zero means the id for the
|
||||
current list or the list specified by "nr"
|
||||
idx index of the current entry in the list
|
||||
items quickfix list entries
|
||||
lines use 'errorformat' to extract items from a list
|
||||
of lines and return the resulting entries.
|
||||
Only a |List| type is accepted. The current
|
||||
quickfix list is not modified.
|
||||
lines parse a list of lines using 'efm' and return
|
||||
the resulting entries. Only a |List| type is
|
||||
accepted. The current quickfix list is not
|
||||
modified. See |quickfix-parse|.
|
||||
nr get information for this quickfix list; zero
|
||||
means the current quickfix list and "$" means
|
||||
the last quickfix list
|
||||
title get the list title
|
||||
winid get the |window-ID| (if opened)
|
||||
size number of entries in the quickfix list
|
||||
title get the list title |quickfix-title|
|
||||
winid get the quickfix |window-ID|
|
||||
all all of the above quickfix properties
|
||||
Non-string items in {what} are ignored.
|
||||
Non-string items in {what} are ignored. To get the value of a
|
||||
particular item, set it to zero.
|
||||
If "nr" is not present then the current quickfix list is used.
|
||||
If both "nr" and a non-zero "id" are specified, then the list
|
||||
specified by "id" is used.
|
||||
To get the number of lists in the quickfix stack, set 'nr' to
|
||||
'$' in {what}. The 'nr' value in the returned dictionary
|
||||
To get the number of lists in the quickfix stack, set "nr" to
|
||||
"$" in {what}. The "nr" value in the returned dictionary
|
||||
contains the quickfix stack size.
|
||||
When 'text' is specified, all the other items are ignored. The
|
||||
returned dictionary contains the entry 'items' with the list
|
||||
of entries.
|
||||
In case of error processing {what}, an empty dictionary is
|
||||
returned.
|
||||
When "lines" is specified, all the other items except "efm"
|
||||
are ignored. The returned dictionary contains the entry
|
||||
"items" with the list of entries.
|
||||
|
||||
The returned dictionary contains the following entries:
|
||||
context context information stored with |setqflist()|
|
||||
id quickfix list ID |quickfix-ID|
|
||||
items quickfix list entries
|
||||
nr quickfix list number
|
||||
title quickfix list title text
|
||||
winid quickfix |window-ID| (if opened)
|
||||
changedtick total number of changes made to the
|
||||
list |quickfix-changedtick|
|
||||
context quickfix list context. See |quickfix-context|
|
||||
If not present, set to "".
|
||||
id quickfix list ID |quickfix-ID|. If not
|
||||
present, set to 0.
|
||||
idx index of the current entry in the list. If not
|
||||
present, set to 0.
|
||||
items quickfix list entries. If not present, set to
|
||||
an empty list.
|
||||
nr quickfix list number. If not present, set to 0
|
||||
size number of entries in the quickfix list. If not
|
||||
present, set to 0.
|
||||
title quickfix list title text. If not present, set
|
||||
to "".
|
||||
winid quickfix |window-ID|. If not present, set to 0
|
||||
|
||||
Examples: >
|
||||
Examples (See also |getqflist-examples|): >
|
||||
:echo getqflist({'all': 1})
|
||||
:echo getqflist({'nr': 2, 'title': 1})
|
||||
:echo getqflist({'lines' : ["F1:10:L10"]})
|
||||
<
|
||||
|
||||
getreg([{regname} [, 1 [, {list}]]]) *getreg()*
|
||||
The result is a String, which is the contents of register
|
||||
{regname}. Example: >
|
||||
@ -6938,7 +6951,7 @@ setqflist({list} [, {action}[, {what}]]) *setqflist()*
|
||||
only the items listed in {what} are set. The first {list}
|
||||
argument is ignored. The following items can be specified in
|
||||
{what}:
|
||||
context any Vim type can be stored as a context
|
||||
context quickfix list context. See |quickfix-context|
|
||||
efm errorformat to use when parsing text from
|
||||
"lines". If this is not present, then the
|
||||
'errorformat' option value is used.
|
||||
@ -6960,10 +6973,10 @@ setqflist({list} [, {action}[, {what}]]) *setqflist()*
|
||||
list is modified, "id" should be used instead of "nr" to
|
||||
specify the list.
|
||||
|
||||
Examples: >
|
||||
Examples (See also |setqflist-examples|): >
|
||||
:call setqflist([], 'r', {'title': 'My search'})
|
||||
:call setqflist([], 'r', {'nr': 2, 'title': 'Errors'})
|
||||
:call setqflist([], 'a', {'id':myid, 'lines':["F1:10:L10"]})
|
||||
:call setqflist([], 'a', {'id':qfid, 'lines':["F1:10:L10"]})
|
||||
<
|
||||
Returns zero for success, -1 for failure.
|
||||
|
||||
|
@ -1566,7 +1566,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
*cpo-E*
|
||||
E It is an error when using "y", "d", "c", "g~", "gu" or
|
||||
"gU" on an Empty region. The operators only work when
|
||||
at least one character is to be operate on. Example:
|
||||
at least one character is to be operated on. Example:
|
||||
This makes "y0" fail in the first column.
|
||||
*cpo-f*
|
||||
f When included, a ":read" command with a file name
|
||||
|
@ -33,7 +33,7 @@ compiler (see |errorformat| below).
|
||||
|
||||
*quickfix-ID*
|
||||
Each quickfix list has a unique identifier called the quickfix ID and this
|
||||
number will not change within a Vim session. The getqflist() function can be
|
||||
number will not change within a Vim session. The |getqflist()| function can be
|
||||
used to get the identifier assigned to a list. There is also a quickfix list
|
||||
number which may change whenever more than ten lists are added to a quickfix
|
||||
stack.
|
||||
@ -51,6 +51,14 @@ When a window with a location list is split, the new window gets a copy of the
|
||||
location list. When there are no longer any references to a location list,
|
||||
the location list is destroyed.
|
||||
|
||||
*quickfix-changedtick*
|
||||
Every quickfix and location list has a read-only changedtick variable that
|
||||
tracks the total number of changes made to the list. Every time the quickfix
|
||||
list is modified, this count is incremented. This can be used to perform an
|
||||
action only when the list has changed. The |getqflist()| and |getloclist()|
|
||||
functions can be used to query the current value of changedtick. You cannot
|
||||
change the changedtick variable.
|
||||
|
||||
The following quickfix commands can be used. The location list commands are
|
||||
similar to the quickfix commands, replacing the 'c' prefix in the quickfix
|
||||
command with 'l'.
|
||||
@ -281,6 +289,10 @@ processing a quickfix or location list command, it will be aborted.
|
||||
from the last error backwards, -1 being the last error.
|
||||
The 'switchbuf' settings are respected when jumping
|
||||
to a buffer.
|
||||
The |:filter| command can be used to display only the
|
||||
quickfix entries matching a supplied pattern. The
|
||||
pattern is matched against the filename, module name,
|
||||
pattern and text of the entry.
|
||||
|
||||
:cl[ist] +{count} List the current and next {count} valid errors. This
|
||||
is similar to ":clist from from+count", where "from"
|
||||
@ -299,8 +311,7 @@ processing a quickfix or location list command, it will be aborted.
|
||||
8386: ^ ~
|
||||
8387: symbol: method Fmainx() ~
|
||||
|
||||
*:lli* *:llist*
|
||||
:lli[st] [from] [, [to]]
|
||||
:lli[st] [from] [, [to]] *:lli* *:llist*
|
||||
Same as ":clist", except the location list for the
|
||||
current window is used instead of the quickfix list.
|
||||
|
||||
@ -333,6 +344,51 @@ use this code: >
|
||||
au QuickfixCmdPost make call QfMakeConv()
|
||||
Another option is using 'makeencoding'.
|
||||
|
||||
*quickfix-title*
|
||||
Every quickfix and location list has a title. By default the title is set to
|
||||
the command that created the list. The |getqflist()| and |getloclist()|
|
||||
functions can be used to get the title of a quickfix and a location list
|
||||
respectively. The |setqflist()| and |setloclist()| functions can be used to
|
||||
modify the title of a quickfix and location list respectively. Examples: >
|
||||
call setqflist([], 'a', {'title' : 'Cmd output'})
|
||||
echo getqflist({'title' : 1})
|
||||
call setloclist(3, [], 'a', {'title' : 'Cmd output'})
|
||||
echo getloclist(3, {'title' : 1})
|
||||
<
|
||||
*quickfix-size*
|
||||
You can get the number of entries (size) in a quickfix and a location list
|
||||
using the |getqflist()| and |getloclist()| functions respectively. Examples: >
|
||||
echo getqflist({'size' : 1})
|
||||
echo getloclist(5, {'size' : 1})
|
||||
<
|
||||
*quickfix-context*
|
||||
Any Vim type can be associated as a context with a quickfix or location list.
|
||||
The |setqflist()| and the |setloclist()| functions can be used to associate a
|
||||
context with a quickfix and a location list respectively. The |getqflist()|
|
||||
and the |getloclist()| functions can be used to retrieve the context of a
|
||||
quickfix and a location list respectively. This is useful for a Vim plugin
|
||||
dealing with multiple quickfix/location lists.
|
||||
Examples: >
|
||||
|
||||
let somectx = {'name' : 'Vim', 'type' : 'Editor'}
|
||||
call setqflist([], 'a', {'context' : somectx})
|
||||
echo getqflist({'context' : 1})
|
||||
|
||||
let newctx = ['red', 'green', 'blue']
|
||||
call setloclist(2, [], 'a', {'id' : qfid, 'context' : newctx})
|
||||
echo getloclist(2, {'id' : qfid, 'context' : 1})
|
||||
<
|
||||
*quickfix-parse*
|
||||
You can parse a list of lines using 'errorformat' without creating or
|
||||
modifying a quickfix list using the |getqflist()| function. Examples: >
|
||||
echo getqflist({'lines' : ["F1:10:Line10", "F2:20:Line20"]})
|
||||
echo getqflist({'lines' : systemlist('grep -Hn quickfix *')})
|
||||
This returns a dictionary where the 'items' key contains the list of quickfix
|
||||
entries parsed from lines. The following shows how to use a custom
|
||||
'errorformat' to parse the lines without modifying the 'errorformat' option: >
|
||||
echo getqflist({'efm' : '%f#%l#%m', 'lines' : ['F1#10#Line']})
|
||||
<
|
||||
|
||||
EXECUTE A COMMAND IN ALL THE BUFFERS IN QUICKFIX OR LOCATION LIST:
|
||||
*:cdo*
|
||||
:cdo[!] {cmd} Execute {cmd} in each valid entry in the quickfix list.
|
||||
@ -529,6 +585,117 @@ In all of the above cases, if the location list for the selected window is not
|
||||
yet set, then it is set to the location list displayed in the location list
|
||||
window.
|
||||
|
||||
*quickfix-window-ID*
|
||||
You can use the |getqflist()| and |getloclist()| functions to obtain the
|
||||
window ID of the quickfix window and location list window respectively (if
|
||||
present). Examples: >
|
||||
echo getqflist({'winid' : 1}).winid
|
||||
echo getloclist(2, {'winid' : 1}).winid
|
||||
<
|
||||
*getqflist-examples*
|
||||
The |getqflist()| and |getloclist()| functions can be used to get the various
|
||||
attributes of a quickfix and location list respectively. Some examples for
|
||||
using these functions are below:
|
||||
>
|
||||
" get the title of the current quickfix list
|
||||
:echo getqflist({'title' : 0}).title
|
||||
|
||||
" get the identifier of the current quickfix list
|
||||
:let qfid = getqflist({'id' : 0}).id
|
||||
|
||||
" get the identifier of the fourth quickfix list in the stack
|
||||
:let qfid = getqflist({'nr' : 4, 'id' : 0}).id
|
||||
|
||||
" check whether a quickfix list with a specific identifier exists
|
||||
:if getqflist({'id' : qfid}).id == qfid
|
||||
|
||||
" get the index of the current quickfix list in the stack
|
||||
:let qfnum = getqflist({'nr' : 0}).nr
|
||||
|
||||
" get the items of a quickfix list specified by an identifier
|
||||
:echo getqflist({'id' : qfid, 'items' : 0}).items
|
||||
|
||||
" get the number of entries in a quickfix list specified by an id
|
||||
:echo getqflist({'id' : qfid, 'size' : 0}).size
|
||||
|
||||
" get the context of the third quickfix list in the stack
|
||||
:echo getqflist({'nr' : 3, 'context' : 0}).context
|
||||
|
||||
" get the number of quickfix lists in the stack
|
||||
:echo getqflist({'nr' : '$'}).nr
|
||||
|
||||
" get the number of times the current quickfix list is changed
|
||||
:echo getqflist({'changedtick' : 0}).changedtick
|
||||
|
||||
" get the current entry in a quickfix list specified by an identifier
|
||||
:echo getqflist({'id' : qfid, 'idx' : 0}).idx
|
||||
|
||||
" get all the quickfix list attributes using an identifier
|
||||
:echo getqflist({'id' : qfid, 'all' : 0})
|
||||
|
||||
" parse text from a List of lines and return a quickfix list
|
||||
:let myList = ["a.java:10:L10", "b.java:20:L20"]
|
||||
:echo getqflist({'lines' : myList}).items
|
||||
|
||||
" parse text using a custom 'efm' and return a quickfix list
|
||||
:echo getqflist({'lines' : ['a.c#10#Line 10'], 'efm':'%f#%l#%m'}).items
|
||||
|
||||
" get the quickfix list window id
|
||||
:echo getqflist({'winid' : 0}).winid
|
||||
|
||||
" get the context of the current location list
|
||||
:echo getloclist(0, {'context' : 0}).context
|
||||
|
||||
" get the location list window id of the third window
|
||||
:echo getloclist(3, {'winid' : 0}).winid
|
||||
<
|
||||
*setqflist-examples*
|
||||
The |setqflist()| and |setloclist()| functions can be used to set the various
|
||||
attributes of a quickfix and location list respectively. Some examples for
|
||||
using these functions are below:
|
||||
>
|
||||
" create an empty quickfix list with a title and a context
|
||||
:let t = 'Search results'
|
||||
:let c = {'cmd' : 'grep'}
|
||||
:call setqflist([], ' ', {'title' : t, 'context' : c})
|
||||
|
||||
" set the title of the current quickfix list
|
||||
:call setqflist([], 'a', {'title' : 'Mytitle'})
|
||||
|
||||
" set the context of a quickfix list specified by an identifier
|
||||
:call setqflist([], 'a', {'id' : qfid, 'context' : {'val' : 100}})
|
||||
|
||||
" create a new quickfix list from a command output
|
||||
:call setqflist([], ' ', {'lines' : systemlist('grep -Hn main *.c')})
|
||||
|
||||
" parse text using a custom efm and add to a particular quickfix list
|
||||
:call setqflist([], 'a', {'id' : qfid,
|
||||
\ 'lines' : ["a.c#10#L10", "b.c#20#L20"], 'efm':'%f#%l#%m'})
|
||||
|
||||
" add items to the quickfix list specified by an identifier
|
||||
:let newItems = [{'filename' : 'a.txt', 'lnum' : 10, 'text' : "Apple"},
|
||||
\ {'filename' : 'b.txt', 'lnum' : 20, 'text' : "Orange"}]
|
||||
:call setqflist([], 'a', {'id' : qfid, 'items' : newItems})
|
||||
|
||||
" empty a quickfix list specified by an identifier
|
||||
:call setqflist([], 'r', {'id' : qfid, 'items' : []})
|
||||
|
||||
" free all the quickfix lists in the stack
|
||||
:call setqflist([], 'f')
|
||||
|
||||
" set the title of the fourth quickfix list
|
||||
:call setqflist([], 'a', {'nr' : 4, 'title' : 'SomeTitle'})
|
||||
|
||||
" create a new quickfix list at the end of the stack
|
||||
:call setqflist([], ' ', {'nr' : '$',
|
||||
\ 'lines' : systemlist('grep -Hn class *.java')})
|
||||
|
||||
" create a new location list from a command output
|
||||
:call setloclist(0, [], ' ', {'lines' : systemlist('grep -Hn main *.c')})
|
||||
|
||||
" replace the location list entries for the third window
|
||||
:call setloclist(3, [], 'r', {'items' : newItems})
|
||||
<
|
||||
=============================================================================
|
||||
3. Using more than one list of errors *quickfix-error-lists*
|
||||
|
||||
@ -573,6 +740,14 @@ list, one newer list is overwritten. This is especially useful if you are
|
||||
browsing with ":grep" |grep|. If you want to keep the more recent error
|
||||
lists, use ":cnewer 99" first.
|
||||
|
||||
To get the number of lists in the quickfix and location list stack, you can
|
||||
use the |getqflist()| and |getloclist()| functions respectively with the list
|
||||
number set to the special value '$'. Examples: >
|
||||
echo getqflist({'nr' : '$'}).nr
|
||||
echo getloclist(3, {'nr' : '$'}).nr
|
||||
To get the number of the current list in the stack: >
|
||||
echo getqflist({'nr' : 0}).nr
|
||||
<
|
||||
=============================================================================
|
||||
4. Using :make *:make_makeprg*
|
||||
|
||||
@ -1334,6 +1509,22 @@ The backslashes before the pipe character are required to avoid it to be
|
||||
recognized as a command separator. The backslash before each space is
|
||||
required for the set command.
|
||||
|
||||
*cfilter-plugin* *Cfilter* *Lfilter*
|
||||
If you have too many matching messages, you can use the cfilter plugin to
|
||||
reduce the number of entries. Load the plugin with: >
|
||||
packadd cfilter
|
||||
|
||||
Then you can use these command: >
|
||||
:Cfilter[!] /{pat}/
|
||||
:Lfilter[!] /{pat}/
|
||||
|
||||
:Cfilter creates a new quickfix list from entries matching {pat} in the
|
||||
current quickfix list. Both the file name and the text of the entries are
|
||||
matched against {pat}. If ! is supplied, then entries not matching {pat} are
|
||||
used.
|
||||
|
||||
:Lfilter does the same as :Cfilter but operates on the current location list.
|
||||
|
||||
=============================================================================
|
||||
8. The directory stack *quickfix-directory-stack*
|
||||
|
||||
|
@ -27,6 +27,7 @@ seen):
|
||||
|
||||
*CTRL-E*
|
||||
CTRL-E Scroll window [count] lines downwards in the buffer.
|
||||
The text moves upwards on the screen.
|
||||
Mnemonic: Extra lines.
|
||||
|
||||
*CTRL-D*
|
||||
@ -65,6 +66,7 @@ seen):
|
||||
|
||||
*CTRL-Y*
|
||||
CTRL-Y Scroll window [count] lines upwards in the buffer.
|
||||
The text moves downwards on the screen.
|
||||
Note: When using the MS-Windows key bindings CTRL-Y is
|
||||
remapped to redo.
|
||||
|
||||
|
@ -4582,7 +4582,9 @@ in their own color.
|
||||
runtime colors/evening.vim
|
||||
hi Statement ctermfg=Blue guifg=Blue
|
||||
|
||||
< After the color scheme has been loaded the
|
||||
< Before the color scheme will be loaded the
|
||||
|ColorSchemePre| autocommand event is triggered.
|
||||
After the color scheme has been loaded the
|
||||
|ColorScheme| autocommand event is triggered.
|
||||
For info about writing a colorscheme file: >
|
||||
:edit $VIMRUNTIME/colors/README.txt
|
||||
|
@ -1046,10 +1046,8 @@ list of buffers. |unlisted-buffer|
|
||||
:%bdelete " delete all buffers
|
||||
<
|
||||
:bdelete[!] {bufname} *E93* *E94*
|
||||
Like ":bdelete[!] [N]", but buffer given by name. Note that a
|
||||
buffer whose name is a number cannot be referenced by that
|
||||
name; use the buffer number instead. Insert a backslash
|
||||
before a space in a buffer name.
|
||||
Like ":bdelete[!] [N]", but buffer given by name, see
|
||||
|{bufname}|.
|
||||
|
||||
:bdelete[!] N1 N2 ...
|
||||
Do ":bdelete[!]" for buffer N1, N2, etc. The arguments can be
|
||||
@ -1085,10 +1083,8 @@ list of buffers. |unlisted-buffer|
|
||||
into a loaded buffer.
|
||||
|
||||
:bunload[!] {bufname}
|
||||
Like ":bunload[!] [N]", but buffer given by name. Note that a
|
||||
buffer whose name is a number cannot be referenced by that
|
||||
name; use the buffer number instead. Insert a backslash
|
||||
before a space in a buffer name.
|
||||
Like ":bunload[!] [N]", but buffer given by name.
|
||||
Also see |{bufname}|.
|
||||
|
||||
:N,Mbunload[!] Do ":bunload[!]" for all buffers in the range N to M
|
||||
|inclusive|.
|
||||
@ -1106,10 +1102,16 @@ list of buffers. |unlisted-buffer|
|
||||
list, without setting the 'buflisted' flag.
|
||||
Also see |+cmd|.
|
||||
|
||||
:[N]b[uffer][!] [+cmd] {bufname}
|
||||
Edit buffer for {bufname} from the buffer list. See
|
||||
|:buffer-!| for [!]. This will also edit a buffer that is not
|
||||
in the buffer list, without setting the 'buflisted' flag.
|
||||
:[N]b[uffer][!] [+cmd] {bufname} *{bufname}*
|
||||
Edit buffer for {bufname} from the buffer list. A partial
|
||||
name also works, so long as it is unique in the list of
|
||||
buffers.
|
||||
Note that a buffer whose name is a number cannot be referenced
|
||||
by that name; use the buffer number instead.
|
||||
Insert a backslash before a space in a buffer name.
|
||||
See |:buffer-!| for [!].
|
||||
This will also edit a buffer that is not in the buffer list,
|
||||
without setting the 'buflisted' flag.
|
||||
Also see |+cmd|.
|
||||
|
||||
:[N]sb[uffer] [+cmd] [N] *:sb* *:sbuffer*
|
||||
@ -1121,7 +1123,7 @@ list of buffers. |unlisted-buffer|
|
||||
Also see |+cmd|.
|
||||
|
||||
:[N]sb[uffer] [+cmd] {bufname}
|
||||
Split window and edit buffer for {bufname} from the buffer
|
||||
Split window and edit buffer for |{bufname}| from the buffer
|
||||
list. This will also edit a buffer that is not in the buffer
|
||||
list, without setting the 'buflisted' flag.
|
||||
Note: If what you want to do is split the buffer, make a copy
|
||||
|
@ -650,8 +650,8 @@ if g:vimsyn_embed =~# 'p' && filereadable(s:perlpath)
|
||||
let s:foldmethod = &l:foldmethod
|
||||
exe "syn include @vimPerlScript ".s:perlpath
|
||||
let &l:foldmethod = s:foldmethod
|
||||
VimFoldp syn region vimPerlRegion matchgroup=vimScriptDelim start=+pe\%[rl]\s*<<\s*\z(.*\)$+ end=+^\z1$+ contains=@vimPerlScript
|
||||
VimFoldp syn region vimPerlRegion matchgroup=vimScriptDelim start=+pe\%[rl]\s*<<\s*$+ end=+\.$+ contains=@vimPerlScript
|
||||
VimFoldp syn region vimPerlRegion matchgroup=vimScriptDelim start=+pe\%[rl]\s*<<\s*\z(\S*\)\ze\(\s*["#].*\)\=$+ end=+^\z1\ze\(\s*[#"].*\)\=$+ contains=@vimPerlScript
|
||||
VimFoldp syn region vimPerlRegion matchgroup=vimScriptDelim start=+pe\%[rl]\s*<<\s*$+ end=+\.$+ contains=@vimPerlScript
|
||||
syn cluster vimFuncBodyList add=vimPerlRegion
|
||||
else
|
||||
syn region vimEmbedError start=+pe\%[rl]\s*<<\s*\z(.*\)$+ end=+^\z1$+
|
||||
@ -675,8 +675,8 @@ if g:vimsyn_embed =~# 'r' && filereadable(s:rubypath)
|
||||
let s:foldmethod = &l:foldmethod
|
||||
exe "syn include @vimRubyScript ".s:rubypath
|
||||
let &l:foldmethod = s:foldmethod
|
||||
VimFoldr syn region vimRubyRegion matchgroup=vimScriptDelim start=+rub[y]\s*<<\s*\z(.*\)$+ end=+^\z1$+ contains=@vimRubyScript
|
||||
syn region vimRubyRegion matchgroup=vimScriptDelim start=+rub[y]\s*<<\s*$+ end=+\.$+ contains=@vimRubyScript
|
||||
VimFoldr syn region vimRubyRegion matchgroup=vimScriptDelim start=+rub[y]\s*<<\s*\z(\S*\)\ze\(\s*#.*\)\=$+ end=+^\z1\ze\(\s*".*\)\=$+ contains=@vimRubyScript
|
||||
syn region vimRubyRegion matchgroup=vimScriptDelim start=+rub[y]\s*<<\s*$+ end=+\.$+ contains=@vimRubyScript
|
||||
syn cluster vimFuncBodyList add=vimRubyRegion
|
||||
else
|
||||
syn region vimEmbedError start=+rub[y]\s*<<\s*\z(.*\)$+ end=+^\z1$+
|
||||
@ -698,10 +698,10 @@ if g:vimsyn_embed =~# 'P' && filereadable(s:pythonpath)
|
||||
unlet! b:current_syntax
|
||||
syn cluster vimFuncBodyList add=vimPythonRegion
|
||||
exe "syn include @vimPythonScript ".s:pythonpath
|
||||
VimFoldP syn region vimPythonRegion matchgroup=vimScriptDelim start=+py\%[thon]3\=\s*<<\s*\z(.*\)$+ end=+^\z1$+ contains=@vimPythonScript
|
||||
VimFoldP syn region vimPythonRegion matchgroup=vimScriptDelim start=+py\%[thon]3\=\s*<<\s*$+ end=+\.$+ contains=@vimPythonScript
|
||||
VimFoldP syn region vimPythonRegion matchgroup=vimScriptDelim start=+Py\%[thon]2or3\s*<<\s*\z(.*\)$+ end=+^\z1$+ contains=@vimPythonScript
|
||||
VimFoldP syn region vimPythonRegion matchgroup=vimScriptDelim start=+Py\%[thon]2or3\=\s*<<\s*$+ end=+\.$+ contains=@vimPythonScript
|
||||
VimFoldP syn region vimPythonRegion matchgroup=vimScriptDelim start=+py\%[thon]3\=\s*<<\s*\z(\S*\)\ze\(\s*#.*\)\=$+ end=+^\z1\ze\(\s*".*\)\=$+ contains=@vimPythonScript
|
||||
VimFoldP syn region vimPythonRegion matchgroup=vimScriptDelim start=+py\%[thon]3\=\s*<<\s*$+ end=+\.$+ contains=@vimPythonScript
|
||||
VimFoldP syn region vimPythonRegion matchgroup=vimScriptDelim start=+Py\%[thon]2or3\s*<<\s*\z(\S*\)\ze\(\s*#.*\)\=$+ end=+^\z1\ze\(\s*".*\)\=$+ contains=@vimPythonScript
|
||||
VimFoldP syn region vimPythonRegion matchgroup=vimScriptDelim start=+Py\%[thon]2or3\=\s*<<\s*$+ end=+\.$+ contains=@vimPythonScript
|
||||
syn cluster vimFuncBodyList add=vimPythonRegion
|
||||
else
|
||||
syn region vimEmbedError start=+py\%[thon]3\=\s*<<\s*\z(.*\)$+ end=+^\z1$+
|
||||
|
@ -7,14 +7,14 @@
|
||||
# FIRST AUTHOR DindinX <David.Odin@bigfoot.com> 2000.
|
||||
# SECOND AUTHOR Adrien Beau <version.francaise@free.fr> 2002, 2003.
|
||||
# THIRD AUTHOR David Blanchet <david.blanchet@free.fr> 2006, 2008.
|
||||
# FOURTH AUTHOR Dominique Pellé <dominique.pelle@gmail.com> 2008, 2017.
|
||||
# FOURTH AUTHOR Dominique Pellé <dominique.pelle@gmail.com> 2008, 2018.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Vim(Français)\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2017-10-04 23:32+0200\n"
|
||||
"PO-Revision-Date: 2017-10-04 23:44+0200\n"
|
||||
"POT-Creation-Date: 2018-04-27 17:51+0200\n"
|
||||
"PO-Revision-Date: 2018-04-27 18:06+0200\n"
|
||||
"Last-Translator: Dominique Pellé <dominique.pelle@gmail.com>\n"
|
||||
"Language-Team: \n"
|
||||
"Language: fr\n"
|
||||
@ -593,7 +593,7 @@ msgstr "E108: Variable inexistante : %s"
|
||||
|
||||
#, c-format
|
||||
msgid "E940: Cannot lock or unlock variable %s"
|
||||
msgstr "E940: Impossible de (dé)verrouiler la variable %s"
|
||||
msgstr "E940: Impossible de (dé)verrouiller la variable %s"
|
||||
|
||||
msgid "E743: variable nested too deep for (un)lock"
|
||||
msgstr "E743: variable trop imbriquée pour la (dé)verrouiller"
|
||||
@ -603,21 +603,6 @@ msgstr "E743: variable trop imbriqu
|
||||
msgid "E109: Missing ':' after '?'"
|
||||
msgstr "E109: Il manque ':' après '?'"
|
||||
|
||||
msgid "E691: Can only compare List with List"
|
||||
msgstr "E691: Une Liste ne peut être comparée qu'avec une Liste"
|
||||
|
||||
msgid "E692: Invalid operation for List"
|
||||
msgstr "E692: Opération invalide avec les Liste"
|
||||
|
||||
msgid "E735: Can only compare Dictionary with Dictionary"
|
||||
msgstr "E735: Un Dictionnaire ne peut être comparé qu'avec un Dictionnaire"
|
||||
|
||||
msgid "E736: Invalid operation for Dictionary"
|
||||
msgstr "E736: Opération invalide avec les Dictionnaires"
|
||||
|
||||
msgid "E694: Invalid operation for Funcrefs"
|
||||
msgstr "E694: Opération invalide avec les Funcrefs"
|
||||
|
||||
msgid "E804: Cannot use '%' with Float"
|
||||
msgstr "E804: Impossible d'utiliser '%' avec un Flottant"
|
||||
|
||||
@ -752,6 +737,21 @@ msgstr ""
|
||||
"\n"
|
||||
"\tModifié la dernière fois dans "
|
||||
|
||||
msgid "E691: Can only compare List with List"
|
||||
msgstr "E691: Une Liste ne peut être comparée qu'avec une Liste"
|
||||
|
||||
msgid "E692: Invalid operation for List"
|
||||
msgstr "E692: Opération invalide avec les Liste"
|
||||
|
||||
msgid "E735: Can only compare Dictionary with Dictionary"
|
||||
msgstr "E735: Un Dictionnaire ne peut être comparé qu'avec un Dictionnaire"
|
||||
|
||||
msgid "E736: Invalid operation for Dictionary"
|
||||
msgstr "E736: Opération invalide avec les Dictionnaires"
|
||||
|
||||
msgid "E694: Invalid operation for Funcrefs"
|
||||
msgstr "E694: Opération invalide avec les Funcrefs"
|
||||
|
||||
msgid "map() argument"
|
||||
msgstr "argument de map()"
|
||||
|
||||
@ -779,6 +779,12 @@ msgstr "E785: complete() n'est utilisable que dans le mode Insertion"
|
||||
msgid "&Ok"
|
||||
msgstr "&Ok"
|
||||
|
||||
#, c-format
|
||||
msgid "+-%s%3ld line: "
|
||||
msgid_plural "+-%s%3ld lines: "
|
||||
msgstr[0] "+-%s%3ld ligne : "
|
||||
msgstr[1] "+-%s%3ld lignes : "
|
||||
|
||||
#, c-format
|
||||
msgid "E700: Unknown function: %s"
|
||||
msgstr "E700: Fonction inconnue : %s"
|
||||
@ -886,10 +892,22 @@ msgstr "E677: Erreur lors de l'
|
||||
msgid "E921: Invalid callback argument"
|
||||
msgstr "E921: Argument de callback invalide"
|
||||
|
||||
#, c-format
|
||||
msgid "<%s>%s%s %d, Hex %02x, Oct %03o, Digr %s"
|
||||
msgstr "<%s>%s%s %d, Hexa %02x, Octal %03o, Digr %s"
|
||||
|
||||
#, c-format
|
||||
msgid "<%s>%s%s %d, Hex %02x, Octal %03o"
|
||||
msgstr "<%s>%s%s %d, Hexa %02x, Octal %03o"
|
||||
|
||||
#, c-format
|
||||
msgid "> %d, Hex %04x, Oct %o, Digr %s"
|
||||
msgstr "> %d, Hexa %04x, Octal %o, Digr %s"
|
||||
|
||||
#, c-format
|
||||
msgid "> %d, Hex %08x, Oct %o, Digr %s"
|
||||
msgstr "> %d, Hexa %08x, Octal %o, Digr %s"
|
||||
|
||||
#, c-format
|
||||
msgid "> %d, Hex %04x, Octal %o"
|
||||
msgstr "> %d, Hexa %04x, Octal %o"
|
||||
@ -1279,6 +1297,14 @@ msgstr "Aucun vieux fichier"
|
||||
msgid "Entering Debug mode. Type \"cont\" to continue."
|
||||
msgstr "Mode débogage activé. Tapez \"cont\" pour continuer."
|
||||
|
||||
#, c-format
|
||||
msgid "Oldval = \"%s\""
|
||||
msgstr "Ancienneval = \"%s\""
|
||||
|
||||
#, c-format
|
||||
msgid "Newval = \"%s\""
|
||||
msgstr "Nouvelleval = \"%s\""
|
||||
|
||||
#, c-format
|
||||
msgid "line %ld: %s"
|
||||
msgstr "ligne %ld : %s"
|
||||
@ -1311,6 +1337,10 @@ msgstr "Aucun point d'arr
|
||||
msgid "%3d %s %s line %ld"
|
||||
msgstr "%3d %s %s ligne %ld"
|
||||
|
||||
#, c-format
|
||||
msgid "%3d expr %s"
|
||||
msgstr "%3d expr %s"
|
||||
|
||||
msgid "E750: First use \":profile start {fname}\""
|
||||
msgstr "E750: Utilisez d'abord \":profile start {nomfichier}\""
|
||||
|
||||
@ -1473,9 +1503,6 @@ msgstr ""
|
||||
msgid "E319: Sorry, the command is not available in this version"
|
||||
msgstr "E319: Désolé, cette commande n'est pas disponible dans cette version"
|
||||
|
||||
msgid "E172: Only one file name allowed"
|
||||
msgstr "E172: Un seul nom de fichier autorisé"
|
||||
|
||||
msgid "1 more file to edit. Quit anyway?"
|
||||
msgstr "Encore 1 fichier à éditer. Quitter tout de même ?"
|
||||
|
||||
@ -1965,10 +1992,6 @@ msgid "E510: Can't make backup file (add ! to override)"
|
||||
msgstr ""
|
||||
"E510: Impossible de générer la copie de secours (ajoutez ! pour passer outre)"
|
||||
|
||||
msgid "E460: The resource fork would be lost (add ! to override)"
|
||||
msgstr ""
|
||||
"E460: Les ressources partagées seraient perdues (ajoutez ! pour passer outre)"
|
||||
|
||||
msgid "E214: Can't find temp file for writing"
|
||||
msgstr "E214: Impossible de générer un fichier temporaire pour y écrire"
|
||||
|
||||
@ -1981,8 +2004,8 @@ msgstr "E166: Impossible d'ouvrir le lien pour y
|
||||
msgid "E212: Can't open file for writing"
|
||||
msgstr "E212: Impossible d'ouvrir le fichier pour y écrire"
|
||||
|
||||
msgid "E667: Fsync failed"
|
||||
msgstr "E667: Fsynch a échoué"
|
||||
msgid "E949: File changed while writing"
|
||||
msgstr "E949: Fichier modifié après écriture"
|
||||
|
||||
msgid "E512: Close failed"
|
||||
msgstr "E512: Erreur de fermeture de fichier"
|
||||
@ -2238,6 +2261,12 @@ msgstr "E350: Impossible de cr
|
||||
msgid "E351: Cannot delete fold with current 'foldmethod'"
|
||||
msgstr "E351: Impossible de supprimer un repli avec la 'foldmethod'e actuelle"
|
||||
|
||||
#, c-format
|
||||
msgid "+--%3ld line folded "
|
||||
msgid_plural "+--%3ld lines folded "
|
||||
msgstr[0] "+--%3ld ligne déplacée "
|
||||
msgstr[1] "+--%3ld lignes déplacées "
|
||||
|
||||
msgid "E222: Add to read buffer"
|
||||
msgstr "E222: Ajout au tampon de lecture"
|
||||
|
||||
@ -3371,7 +3400,8 @@ msgid "-i <viminfo>\t\tUse <viminfo> instead of .viminfo"
|
||||
msgstr "-i <viminfo>\t\tUtiliser <viminfo> au lieu du viminfo habituel"
|
||||
|
||||
msgid "--clean\t\t'nocompatible', Vim defaults, no plugins, no viminfo"
|
||||
msgstr "--clean\t\t'nocompatible', réglages par défaut, aucun greffon ni viminfo"
|
||||
msgstr ""
|
||||
"--clean\t\t'nocompatible', réglages par défaut, aucun greffon ni viminfo"
|
||||
|
||||
msgid "-h or --help\tPrint Help (this message) and exit"
|
||||
msgstr "-h ou --help\t\tAfficher l'aide (ce message) puis quitter"
|
||||
@ -4449,8 +4479,8 @@ msgstr ""
|
||||
"sur %lld ; Octet %lld sur %lld"
|
||||
|
||||
#, c-format
|
||||
msgid "(+%ld for BOM)"
|
||||
msgstr "(+%ld pour le BOM)"
|
||||
msgid "(+%lld for BOM)"
|
||||
msgstr "(+%lld pour le BOM)"
|
||||
|
||||
msgid "Thanks for flying Vim"
|
||||
msgstr "Merci d'avoir choisi Vim"
|
||||
@ -4502,6 +4532,10 @@ msgstr "E835: Conflits avec la valeur de 'fillchars'"
|
||||
msgid "E617: Cannot be changed in the GTK+ 2 GUI"
|
||||
msgstr "E617: Non modifiable dans l'interface graphique GTK+ 2"
|
||||
|
||||
#, c-format
|
||||
msgid "E950: Cannot convert between %s and %s"
|
||||
msgstr "E950: Impossible de convertir de %s à %s"
|
||||
|
||||
msgid "E524: Missing colon"
|
||||
msgstr "E524: ':' manquant"
|
||||
|
||||
@ -4563,7 +4597,8 @@ msgid "E542: unbalanced groups"
|
||||
msgstr "E542: parenthèses non équilibrées"
|
||||
|
||||
msgid "E946: Cannot make a terminal with running job modifiable"
|
||||
msgstr "E946: terminal avec tâche en cours d'exécution ne peut pas être modifiable"
|
||||
msgstr ""
|
||||
"E946: terminal avec tâche en cours d'exécution ne peut pas être modifiable"
|
||||
|
||||
msgid "E590: A preview window already exists"
|
||||
msgstr "E590: Il existe déjà une fenêtre de prévisualisation"
|
||||
@ -4571,6 +4606,9 @@ msgstr "E590: Il existe d
|
||||
msgid "W17: Arabic requires UTF-8, do ':set encoding=utf-8'"
|
||||
msgstr "W17: L'arabe nécessite l'UTF-8, tapez ':set encoding=utf-8'"
|
||||
|
||||
msgid "E954: 24-bit colors are not supported on this environment"
|
||||
msgstr "E954: Couleurs en 24-bits non-supportées sur cet environnement."
|
||||
|
||||
#, c-format
|
||||
msgid "E593: Need at least %d lines"
|
||||
msgstr "E593: Au moins %d lignes sont nécessaires"
|
||||
@ -4858,6 +4896,9 @@ msgstr "Alerte Vim"
|
||||
msgid "shell returned %d"
|
||||
msgstr "le shell a retourné %d"
|
||||
|
||||
msgid "E926: Current location list was changed"
|
||||
msgstr "E926: La liste d'emplacements courante a changé"
|
||||
|
||||
#, c-format
|
||||
msgid "E372: Too many %%%c in format string"
|
||||
msgstr "E372: Trop de %%%c dans la chaîne de format"
|
||||
@ -4896,9 +4937,6 @@ msgstr "E924: La fen
|
||||
msgid "E925: Current quickfix was changed"
|
||||
msgstr "E925: Le quickfix courant a changé"
|
||||
|
||||
msgid "E926: Current location list was changed"
|
||||
msgstr "E926: La liste d'emplacements courante a changé"
|
||||
|
||||
#, c-format
|
||||
msgid "(%d of %d)%s%s: "
|
||||
msgstr "(%d sur %d)%s%s : "
|
||||
@ -5061,6 +5099,9 @@ msgstr "E877: (regexp NFA) Classe de caract
|
||||
msgid "E867: (NFA) Unknown operator '\\z%c'"
|
||||
msgstr "E867: (NFA) Opérateur inconnu '\\z%c'"
|
||||
|
||||
msgid "E951: \\% value too large"
|
||||
msgstr "E951: valeur \\% trop grande"
|
||||
|
||||
#, c-format
|
||||
msgid "E867: (NFA) Unknown operator '\\%%%c'"
|
||||
msgstr "E867: (NFA) Opérateur inconnu '\\%%%c'"
|
||||
@ -5484,8 +5525,8 @@ msgid "E760: No word count in %s"
|
||||
msgstr "E760: Nombre de mots non indiqué dans %s"
|
||||
|
||||
#, c-format
|
||||
msgid "line %6d, word %6d - %s"
|
||||
msgstr "ligne %6d, mot %6d - %s"
|
||||
msgid "line %6d, word %6ld - %s"
|
||||
msgstr "ligne %6d, mot %6ld - %s"
|
||||
|
||||
#, c-format
|
||||
msgid "Duplicate word in %s line %d: %s"
|
||||
@ -5571,8 +5612,9 @@ msgstr "Estimation de m
|
||||
msgid "E751: Output file name must not have region name"
|
||||
msgstr "E751: Le nom du fichier ne doit pas contenir de nom de région"
|
||||
|
||||
msgid "E754: Only up to 8 regions supported"
|
||||
msgstr "E754: 8 régions au maximum sont supportées"
|
||||
#, c-format
|
||||
msgid "E754: Only up to %ld regions supported"
|
||||
msgstr "E754: %ld régions au maximum supportées"
|
||||
|
||||
#, c-format
|
||||
msgid "E755: Invalid region in %s"
|
||||
@ -5967,6 +6009,10 @@ msgstr ""
|
||||
msgid "Cannot open $VIMRUNTIME/rgb.txt"
|
||||
msgstr "Impossible d'ouvrir $VIMRUNTIME/rgb.txt"
|
||||
|
||||
#, c-format
|
||||
msgid "Kill job in \"%s\"?"
|
||||
msgstr "Terminer la tâche d'exécution dans \"%s\"?"
|
||||
|
||||
msgid "Terminal"
|
||||
msgstr "Terminal"
|
||||
|
||||
@ -5982,6 +6028,13 @@ msgstr "en cours"
|
||||
msgid "finished"
|
||||
msgstr "fini"
|
||||
|
||||
#, c-format
|
||||
msgid "E953: File exists: %s"
|
||||
msgstr "E953: Le fichier existe déjà : %s"
|
||||
|
||||
msgid "E955: Not a terminal buffer"
|
||||
msgstr "E955: Ce n'est pas un buffer de terminal"
|
||||
|
||||
msgid "new shell started\n"
|
||||
msgstr "nouveau shell démarré\n"
|
||||
|
||||
@ -6313,24 +6366,17 @@ msgstr ""
|
||||
|
||||
msgid ""
|
||||
"\n"
|
||||
"MacOS X (unix) version"
|
||||
"macOS version"
|
||||
msgstr ""
|
||||
"\n"
|
||||
"Version MaxOS X (unix)"
|
||||
"Version macOS"
|
||||
|
||||
msgid ""
|
||||
"\n"
|
||||
"MacOS X version"
|
||||
"macOS version w/o darwin feat."
|
||||
msgstr ""
|
||||
"\n"
|
||||
"Version MacOS X"
|
||||
|
||||
msgid ""
|
||||
"\n"
|
||||
"MacOS version"
|
||||
msgstr ""
|
||||
"\n"
|
||||
"Version MacOS"
|
||||
"Version macOS sans fonctionalités darwin"
|
||||
|
||||
msgid ""
|
||||
"\n"
|
||||
@ -6434,9 +6480,6 @@ msgstr "avec interface graphique Carbon."
|
||||
msgid "with Cocoa GUI."
|
||||
msgstr "avec interface graphique Cocoa."
|
||||
|
||||
msgid "with (classic) GUI."
|
||||
msgstr "avec interface graphique (classic)."
|
||||
|
||||
msgid " Features included (+) or not (-):\n"
|
||||
msgstr " Fonctionnalités incluses (+) ou non (-) :\n"
|
||||
|
||||
@ -6741,6 +6784,14 @@ msgstr "E474: Argument invalide"
|
||||
msgid "E475: Invalid argument: %s"
|
||||
msgstr "E475: Argument invalide : %s"
|
||||
|
||||
#, c-format
|
||||
msgid "E475: Invalid value for argument %s"
|
||||
msgstr "E475: Valeur d'argument invalide : %s"
|
||||
|
||||
#, c-format
|
||||
msgid "E475: Invalid value for argument %s: %s"
|
||||
msgstr "E475: Valeur d'argument invalide %s : %s"
|
||||
|
||||
#, c-format
|
||||
msgid "E15: Invalid expression: %s"
|
||||
msgstr "E15: Expression invalide : %s"
|
||||
@ -6759,6 +6810,9 @@ msgstr "E17: \"%s\" est un r
|
||||
msgid "E364: Library call failed for \"%s()\""
|
||||
msgstr "E364: L'appel à la bibliothèque a échoué pour \"%s()\""
|
||||
|
||||
msgid "E667: Fsync failed"
|
||||
msgstr "E667: Fsynch a échoué"
|
||||
|
||||
#, c-format
|
||||
msgid "E448: Could not load library function %s"
|
||||
msgstr "E448: Impossible de charger la fonction %s de la bibliothèque"
|
||||
@ -7033,6 +7087,9 @@ msgstr "E850: Nom de registre invalide"
|
||||
msgid "E919: Directory not found in '%s': \"%s\""
|
||||
msgstr "E919: Répertoire introuvable dans '%s' : \"%s\""
|
||||
|
||||
msgid "E952: Autocommand caused recursive behavior"
|
||||
msgstr "E952: Une autocommande a causé une récursivité"
|
||||
|
||||
msgid "search hit TOP, continuing at BOTTOM"
|
||||
msgstr "La recherche a atteint le HAUT, et continue en BAS"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user