mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
chore: fix typos (#16361)
Co-authored-by: Brede Yabo Sherling Kristensen <bredeyabo@hotmail.com> Co-authored-by: zeertzjq <zeertzjq@outlook.com> Co-authored-by: István Donkó <istvan.donko@gmail.com> Co-authored-by: Julian Berman <Julian@GrayVines.com> Co-authored-by: bryant <bryant@users.noreply.github.com> Co-authored-by: Michael Lingelbach <m.j.lbach@gmail.com> Co-authored-by: nlueb <9465658+nlueb@users.noreply.github.com> Co-authored-by: Leonhard Saam <leonhard.saam@yahoo.com> Co-authored-by: Jesse Wertheim <jaawerth@gmail.com> Co-authored-by: dm1try <me@dmitry.it> Co-authored-by: Jakub Łuczyński <doubleloop@o2.pl> Co-authored-by: Louis Lebrault <louis.lebrault@gmail.com> Co-authored-by: Brede Yabo Sherling Kristensen <bredeyabo@hotmail.com> Co-authored-by: zeertzjq <zeertzjq@outlook.com> Co-authored-by: István Donkó <istvan.donko@gmail.com> Co-authored-by: Julian Berman <Julian@GrayVines.com> Co-authored-by: bryant <bryant@users.noreply.github.com> Co-authored-by: Michael Lingelbach <m.j.lbach@gmail.com> Co-authored-by: nlueb <9465658+nlueb@users.noreply.github.com> Co-authored-by: Leonhard Saam <leonhard.saam@yahoo.com> Co-authored-by: Jesse Wertheim <jaawerth@gmail.com> Co-authored-by: dm1try <me@dmitry.it> Co-authored-by: Jakub Łuczyński <doubleloop@o2.pl> Co-authored-by: Louis Lebrault <louis.lebrault@gmail.com>
This commit is contained in:
parent
512ec4632f
commit
caa6992a10
@ -24,7 +24,7 @@ snap_realease_needed() {
|
|||||||
|
|
||||||
trigger_snapcraft_webhook() {
|
trigger_snapcraft_webhook() {
|
||||||
[[ -n "${PAYLOAD_SIG}" ]] || exit
|
[[ -n "${PAYLOAD_SIG}" ]] || exit
|
||||||
echo "Triggering new snap relase via webhook..."
|
echo "Triggering new snap release via webhook..."
|
||||||
curl -X POST \
|
curl -X POST \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
-H "X-Hub-Signature: sha1=${PAYLOAD_SIG}" \
|
-H "X-Hub-Signature: sha1=${PAYLOAD_SIG}" \
|
||||||
|
@ -92,7 +92,7 @@ if (NOT "${HAVE_BE64TOH}")
|
|||||||
# any case and ORDER_BIG_ENDIAN will not be examined.
|
# any case and ORDER_BIG_ENDIAN will not be examined.
|
||||||
# - CMAKE_CROSSCOMPILING *and* HAVE_BE64TOH are both false. In this case
|
# - CMAKE_CROSSCOMPILING *and* HAVE_BE64TOH are both false. In this case
|
||||||
# be64toh function which uses cycle and arithmetic operations is used which
|
# be64toh function which uses cycle and arithmetic operations is used which
|
||||||
# will work regardless of endianess. Function is sub-optimal though.
|
# will work regardless of endianness. Function is sub-optimal though.
|
||||||
check_c_source_runs("
|
check_c_source_runs("
|
||||||
${SI}
|
${SI}
|
||||||
${MS}
|
${MS}
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
|
|
||||||
# With non-Debug builds interprocedural optimization (IPO) (which includes
|
# With non-Debug builds interprocedural optimization (IPO) (which includes
|
||||||
# link-time optimization (LTO)) is enabled by default, which causes the link
|
# link-time optimization (LTO)) is enabled by default, which causes the link
|
||||||
# step to take a significant amout of time, which is relevant when building
|
# step to take a significant amount of time, which is relevant when building
|
||||||
# often. You can disable it explicitly:
|
# often. You can disable it explicitly:
|
||||||
# CMAKE_EXTRA_FLAGS += -DENABLE_LTO=OFF
|
# CMAKE_EXTRA_FLAGS += -DENABLE_LTO=OFF
|
||||||
|
|
||||||
|
@ -793,7 +793,7 @@ QuitPre When using `:quit`, `:wq` or `:qall`, before
|
|||||||
before QuitPre is triggered. Can be used to
|
before QuitPre is triggered. Can be used to
|
||||||
close any non-essential window if the current
|
close any non-essential window if the current
|
||||||
window is the last ordinary window.
|
window is the last ordinary window.
|
||||||
See also |ExitPre|, ||WinClosed|.
|
See also |ExitPre|, |WinClosed|.
|
||||||
*RemoteReply*
|
*RemoteReply*
|
||||||
RemoteReply When a reply from a Vim that functions as
|
RemoteReply When a reply from a Vim that functions as
|
||||||
server was received |server2client()|. The
|
server was received |server2client()|. The
|
||||||
|
@ -373,39 +373,8 @@ config({opts}, {namespace}) *vim.diagnostic.config()*
|
|||||||
Otherwise, all signs use the same
|
Otherwise, all signs use the same
|
||||||
priority.
|
priority.
|
||||||
|
|
||||||
• float: Options for floating windows:
|
• float: Options for floating windows. See
|
||||||
• severity: See |diagnostic-severity|.
|
|vim.diagnostic.open_float()|.
|
||||||
• header: (string or table) String to use
|
|
||||||
as the header for the floating window. If
|
|
||||||
a table, it is interpreted as a [text,
|
|
||||||
hl_group] tuple. Defaults to
|
|
||||||
"Diagnostics:".
|
|
||||||
• source: (string) Include the diagnostic
|
|
||||||
source in the message. One of "always" or
|
|
||||||
"if_many".
|
|
||||||
• format: (function) A function that takes
|
|
||||||
a diagnostic as input and returns a
|
|
||||||
string. The return value is the text used
|
|
||||||
to display the diagnostic.
|
|
||||||
• prefix: (function, string, or table)
|
|
||||||
Prefix each diagnostic in the floating
|
|
||||||
window. If a function, it must have the
|
|
||||||
signature (diagnostic, i, total) ->
|
|
||||||
(string, string), where {i} is the index
|
|
||||||
of the diagnostic being evaluated and
|
|
||||||
{total} is the total number of
|
|
||||||
diagnostics displayed in the window. The
|
|
||||||
function should return a string which is
|
|
||||||
prepended to each diagnostic in the
|
|
||||||
window as well as an (optional) highlight
|
|
||||||
group which will be used to highlight the
|
|
||||||
prefix. If {prefix} is a table, it is
|
|
||||||
interpreted as a [text, hl_group] tuple
|
|
||||||
as in |nvim_echo()|; otherwise, if
|
|
||||||
{prefix} is a string, it is prepended to
|
|
||||||
each diagnostic in the window with no
|
|
||||||
highlight.
|
|
||||||
|
|
||||||
• update_in_insert: (default false) Update
|
• update_in_insert: (default false) Update
|
||||||
diagnostics in Insert mode (if false,
|
diagnostics in Insert mode (if false,
|
||||||
diagnostics are updated on InsertLeave)
|
diagnostics are updated on InsertLeave)
|
||||||
@ -641,8 +610,21 @@ open_float({bufnr}, {opts}) *vim.diagnostic.open_float()*
|
|||||||
diagnostic. Overrides the setting from
|
diagnostic. Overrides the setting from
|
||||||
|vim.diagnostic.config()|.
|
|vim.diagnostic.config()|.
|
||||||
• prefix: (function, string, or table) Prefix
|
• prefix: (function, string, or table) Prefix
|
||||||
each diagnostic in the floating window.
|
each diagnostic in the floating window. If a
|
||||||
Overrides the setting from
|
function, it must have the signature
|
||||||
|
(diagnostic, i, total) -> (string, string),
|
||||||
|
where {i} is the index of the diagnostic being
|
||||||
|
evaluated and {total} is the total number of
|
||||||
|
diagnostics displayed in the window. The
|
||||||
|
function should return a string which is
|
||||||
|
prepended to each diagnostic in the window as
|
||||||
|
well as an (optional) highlight group which
|
||||||
|
will be used to highlight the prefix. If
|
||||||
|
{prefix} is a table, it is interpreted as a
|
||||||
|
[text, hl_group] tuple as in |nvim_echo()|;
|
||||||
|
otherwise, if {prefix} is a string, it is
|
||||||
|
prepended to each diagnostic in the window with
|
||||||
|
no highlight. Overrides the setting from
|
||||||
|vim.diagnostic.config()|.
|
|vim.diagnostic.config()|.
|
||||||
|
|
||||||
Return: ~
|
Return: ~
|
||||||
|
@ -3081,7 +3081,7 @@ bufname([{buf}]) *bufname()*
|
|||||||
bufname(3) name of buffer 3
|
bufname(3) name of buffer 3
|
||||||
bufname("%") name of current buffer
|
bufname("%") name of current buffer
|
||||||
bufname("file2") name of buffer where "file2" matches.
|
bufname("file2") name of buffer where "file2" matches.
|
||||||
|
<
|
||||||
*bufnr()*
|
*bufnr()*
|
||||||
bufnr([{buf} [, {create}]])
|
bufnr([{buf} [, {create}]])
|
||||||
The result is the number of a buffer, as it is displayed by
|
The result is the number of a buffer, as it is displayed by
|
||||||
@ -8976,7 +8976,7 @@ shellescape({string} [, {special}]) *shellescape()*
|
|||||||
Otherwise encloses {string} in single-quotes and replaces all
|
Otherwise encloses {string} in single-quotes and replaces all
|
||||||
"'" with "'\''".
|
"'" with "'\''".
|
||||||
|
|
||||||
If {special} is a ||non-zero-arg|:
|
If {special} is a |non-zero-arg|:
|
||||||
- Special items such as "!", "%", "#" and "<cword>" will be
|
- Special items such as "!", "%", "#" and "<cword>" will be
|
||||||
preceded by a backslash. The backslash will be removed again
|
preceded by a backslash. The backslash will be removed again
|
||||||
by the |:!| command.
|
by the |:!| command.
|
||||||
@ -8986,7 +8986,7 @@ shellescape({string} [, {special}]) *shellescape()*
|
|||||||
- The "!" character will be escaped. This is because csh and
|
- The "!" character will be escaped. This is because csh and
|
||||||
tcsh use "!" for history replacement even in single-quotes.
|
tcsh use "!" for history replacement even in single-quotes.
|
||||||
- The <NL> character is escaped (twice if {special} is
|
- The <NL> character is escaped (twice if {special} is
|
||||||
a ||non-zero-arg|).
|
a |non-zero-arg|).
|
||||||
|
|
||||||
If 'shell' contains "fish" in the tail, the "\" character will
|
If 'shell' contains "fish" in the tail, the "\" character will
|
||||||
be escaped because in fish it is used as an escape character
|
be escaped because in fish it is used as an escape character
|
||||||
|
@ -521,7 +521,9 @@ buf_request({bufnr}, {method}, {params}, {handler})
|
|||||||
{method} (string) LSP method name
|
{method} (string) LSP method name
|
||||||
{params} (optional, table) Parameters to send to the
|
{params} (optional, table) Parameters to send to the
|
||||||
server
|
server
|
||||||
{handler} (optional, function) See |lsp-handler|
|
{handler} (optional, function) See |lsp-handler| If nil,
|
||||||
|
follows resolution strategy defined in
|
||||||
|
|lsp-handler-configuration|
|
||||||
|
|
||||||
Return: ~
|
Return: ~
|
||||||
2-tuple:
|
2-tuple:
|
||||||
@ -676,6 +678,8 @@ get_active_clients() *vim.lsp.get_active_clients()*
|
|||||||
|
|
||||||
*vim.lsp.get_buffers_by_client_id()*
|
*vim.lsp.get_buffers_by_client_id()*
|
||||||
get_buffers_by_client_id({client_id})
|
get_buffers_by_client_id({client_id})
|
||||||
|
Returns list of buffers attached to client_id.
|
||||||
|
|
||||||
Parameters: ~
|
Parameters: ~
|
||||||
{client_id} number client id
|
{client_id} number client id
|
||||||
|
|
||||||
@ -873,6 +877,11 @@ start_client({config}) *vim.lsp.start_client()*
|
|||||||
debounce occurs if nil
|
debounce occurs if nil
|
||||||
• exit_timeout (number, default 500):
|
• exit_timeout (number, default 500):
|
||||||
Milliseconds to wait for server to
|
Milliseconds to wait for server to
|
||||||
|
exit cleanly after sending the
|
||||||
|
'shutdown' request before sending
|
||||||
|
kill -15. If set to false, nvim
|
||||||
|
exits immediately after sending the
|
||||||
|
'shutdown' request to the server.
|
||||||
{root_dir} string Directory where the LSP server
|
{root_dir} string Directory where the LSP server
|
||||||
will base its workspaceFolders,
|
will base its workspaceFolders,
|
||||||
rootUri, and rootPath on
|
rootUri, and rootPath on
|
||||||
@ -1599,24 +1608,27 @@ open_floating_preview({contents}, {syntax}, {opts})
|
|||||||
Parameters: ~
|
Parameters: ~
|
||||||
{contents} table of lines to show in window
|
{contents} table of lines to show in window
|
||||||
{syntax} string of syntax to set for opened buffer
|
{syntax} string of syntax to set for opened buffer
|
||||||
{opts} dictionary with optional fields
|
{opts} table with optional fields (additional keys
|
||||||
• height of floating window
|
are passed on to |vim.api.nvim_open_win()|)
|
||||||
• width of floating window
|
• height: (number) height of floating window
|
||||||
• wrap boolean enable wrapping of long lines
|
• width: (number) width of floating window
|
||||||
(defaults to true)
|
• wrap: (boolean, default true) wrap long
|
||||||
• wrap_at character to wrap at for computing
|
lines
|
||||||
height when wrap is enabled
|
• wrap_at: (string) character to wrap at for
|
||||||
• max_width maximal width of floating window
|
computing height when wrap is enabled
|
||||||
• max_height maximal height of floating window
|
• max_width: (number) maximal width of
|
||||||
• pad_top number of lines to pad contents at
|
|
||||||
top
|
|
||||||
• pad_bottom number of lines to pad contents
|
|
||||||
at bottom
|
|
||||||
• focus_id if a popup with this id is opened,
|
|
||||||
then focus it
|
|
||||||
• close_events list of events that closes the
|
|
||||||
floating window
|
floating window
|
||||||
• focusable (boolean, default true): Make
|
• max_height: (number) maximal height of
|
||||||
|
floating window
|
||||||
|
• pad_top: (number) number of lines to pad
|
||||||
|
contents at top
|
||||||
|
• pad_bottom: (number) number of lines to pad
|
||||||
|
contents at bottom
|
||||||
|
• focus_id: (string) if a popup with this id
|
||||||
|
is opened, then focus it
|
||||||
|
• close_events: (table) list of events that
|
||||||
|
closes the floating window
|
||||||
|
• focusable: (boolean, default true) Make
|
||||||
float focusable
|
float focusable
|
||||||
|
|
||||||
Return: ~
|
Return: ~
|
||||||
|
@ -362,8 +362,8 @@ cases there is the following agreement:
|
|||||||
converted to a dictionary `{'a': 42}`: non-string keys are ignored.
|
converted to a dictionary `{'a': 42}`: non-string keys are ignored.
|
||||||
Without `vim.type_idx` key tables with keys not fitting in 1., 2. or 3.
|
Without `vim.type_idx` key tables with keys not fitting in 1., 2. or 3.
|
||||||
are errors.
|
are errors.
|
||||||
- `{[vim.type_idx]=vim.types.list}` is converted to an empty list. As well
|
- `{[vim.type_idx]=vim.types.array}` is converted to an empty list. As well
|
||||||
as `{[vim.type_idx]=vim.types.list, [42]=1}`: integral keys that do not
|
as `{[vim.type_idx]=vim.types.array, [42]=1}`: integral keys that do not
|
||||||
form a 1-step sequence from 1 to N are ignored, as well as all
|
form a 1-step sequence from 1 to N are ignored, as well as all
|
||||||
non-integral keys.
|
non-integral keys.
|
||||||
|
|
||||||
|
@ -68,7 +68,7 @@ msgpack#strftime({format}, {msgpack-integer}) *msgpack#strftime()*
|
|||||||
|
|
||||||
*msgpack#strptime*
|
*msgpack#strptime*
|
||||||
msgpack#strptime({format}, {time}) *msgpack#strptime()*
|
msgpack#strptime({format}, {time}) *msgpack#strptime()*
|
||||||
Reverse of |msgpack#strptime()|: for any time and format
|
Reverse of |msgpack#strftime()|: for any time and format
|
||||||
|msgpack#equal|( |msgpack#strptime|(format, |msgpack#strftime|(format,
|
|msgpack#equal|( |msgpack#strptime|(format, |msgpack#strftime|(format,
|
||||||
time)), time) be true. Requires |+python| or |+python3|, without it
|
time)), time) be true. Requires |+python| or |+python3|, without it
|
||||||
only supports non-|msgpack-special-dict| nonnegative times and format
|
only supports non-|msgpack-special-dict| nonnegative times and format
|
||||||
|
@ -428,7 +428,7 @@ Working directory (Vim implemented some of these later than Nvim):
|
|||||||
- |DirChanged| can be triggered when switching to another window.
|
- |DirChanged| can be triggered when switching to another window.
|
||||||
- |getcwd()| and |haslocaldir()| may throw errors if the tab page or window
|
- |getcwd()| and |haslocaldir()| may throw errors if the tab page or window
|
||||||
cannot be found. *E5000* *E5001* *E5002*
|
cannot be found. *E5000* *E5001* *E5002*
|
||||||
- |haslocaldir()| only checks for tab-local directory when -1 is passed as
|
- |haslocaldir()| checks for tab-local directory if and only if -1 is passed as
|
||||||
window number, and its only possible returns values are 0 and 1.
|
window number, and its only possible returns values are 0 and 1.
|
||||||
- `getcwd(-1)` is equivalent to `getcwd(-1, 0)` instead of returning the global
|
- `getcwd(-1)` is equivalent to `getcwd(-1, 0)` instead of returning the global
|
||||||
working directory. Use `getcwd(-1, -1)` to get the global working directory.
|
working directory. Use `getcwd(-1, -1)` to get the global working directory.
|
||||||
|
@ -27,7 +27,7 @@ function F.nil_wrap(fn)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
--- like {...} except preserve the lenght explicitly
|
--- like {...} except preserve the length explicitly
|
||||||
function F.pack_len(...)
|
function F.pack_len(...)
|
||||||
return {n=select('#', ...), ...}
|
return {n=select('#', ...), ...}
|
||||||
end
|
end
|
||||||
|
@ -398,7 +398,7 @@ end)()
|
|||||||
|
|
||||||
--- Converts a vimoption_T style value to a Lua value
|
--- Converts a vimoption_T style value to a Lua value
|
||||||
local convert_value_to_lua = (function()
|
local convert_value_to_lua = (function()
|
||||||
-- Map of OptionType to functions that take vimoption_T values and conver to lua values.
|
-- Map of OptionType to functions that take vimoption_T values and convert to lua values.
|
||||||
-- Each function takes (info, vim_value) -> lua_value
|
-- Each function takes (info, vim_value) -> lua_value
|
||||||
local to_lua_value = {
|
local to_lua_value = {
|
||||||
[OptionTypes.BOOLEAN] = function(_, value) return value end,
|
[OptionTypes.BOOLEAN] = function(_, value) return value end,
|
||||||
|
@ -579,26 +579,7 @@ end
|
|||||||
--- * priority: (number, default 10) Base priority to use for signs. When
|
--- * priority: (number, default 10) Base priority to use for signs. When
|
||||||
--- {severity_sort} is used, the priority of a sign is adjusted based on
|
--- {severity_sort} is used, the priority of a sign is adjusted based on
|
||||||
--- its severity. Otherwise, all signs use the same priority.
|
--- its severity. Otherwise, all signs use the same priority.
|
||||||
--- - float: Options for floating windows:
|
--- - float: Options for floating windows. See |vim.diagnostic.open_float()|.
|
||||||
--- * severity: See |diagnostic-severity|.
|
|
||||||
--- * header: (string or table) String to use as the header for the floating
|
|
||||||
--- window. If a table, it is interpreted as a [text, hl_group] tuple.
|
|
||||||
--- Defaults to "Diagnostics:".
|
|
||||||
--- * source: (string) Include the diagnostic source in
|
|
||||||
--- the message. One of "always" or "if_many".
|
|
||||||
--- * format: (function) A function that takes a diagnostic as input and returns a
|
|
||||||
--- string. The return value is the text used to display the diagnostic.
|
|
||||||
--- * prefix: (function, string, or table) Prefix each diagnostic in the floating
|
|
||||||
--- window. If a function, it must have the signature (diagnostic, i,
|
|
||||||
--- total) -> (string, string), where {i} is the index of the diagnostic
|
|
||||||
--- being evaluated and {total} is the total number of diagnostics
|
|
||||||
--- displayed in the window. The function should return a string which
|
|
||||||
--- is prepended to each diagnostic in the window as well as an
|
|
||||||
--- (optional) highlight group which will be used to highlight the
|
|
||||||
--- prefix. If {prefix} is a table, it is interpreted as a [text,
|
|
||||||
--- hl_group] tuple as in |nvim_echo()|; otherwise, if {prefix} is a
|
|
||||||
--- string, it is prepended to each diagnostic in the window with no
|
|
||||||
--- highlight.
|
|
||||||
--- - update_in_insert: (default false) Update diagnostics in Insert mode (if false,
|
--- - update_in_insert: (default false) Update diagnostics in Insert mode (if false,
|
||||||
--- diagnostics are updated on InsertLeave)
|
--- diagnostics are updated on InsertLeave)
|
||||||
--- - severity_sort: (default false) Sort diagnostics by severity. This affects the order in
|
--- - severity_sort: (default false) Sort diagnostics by severity. This affects the order in
|
||||||
@ -606,6 +587,7 @@ end
|
|||||||
--- are displayed before lower severities (e.g. ERROR is displayed before WARN).
|
--- are displayed before lower severities (e.g. ERROR is displayed before WARN).
|
||||||
--- Options:
|
--- Options:
|
||||||
--- * reverse: (boolean) Reverse sort order
|
--- * reverse: (boolean) Reverse sort order
|
||||||
|
---
|
||||||
---@param namespace number|nil Update the options for the given namespace. When omitted, update the
|
---@param namespace number|nil Update the options for the given namespace. When omitted, update the
|
||||||
--- global diagnostic options.
|
--- global diagnostic options.
|
||||||
function M.config(opts, namespace)
|
function M.config(opts, namespace)
|
||||||
@ -800,7 +782,9 @@ end
|
|||||||
--- - severity: See |diagnostic-severity|.
|
--- - severity: See |diagnostic-severity|.
|
||||||
--- - float: (boolean or table, default true) If "true", call |vim.diagnostic.open_float()|
|
--- - float: (boolean or table, default true) If "true", call |vim.diagnostic.open_float()|
|
||||||
--- after moving. If a table, pass the table as the {opts} parameter to
|
--- after moving. If a table, pass the table as the {opts} parameter to
|
||||||
--- |vim.diagnostic.open_float()|.
|
--- |vim.diagnostic.open_float()|. Unless overridden, the float will show
|
||||||
|
--- diagnostics at the new cursor position (as if "cursor" were passed to
|
||||||
|
--- the "scope" option).
|
||||||
--- - win_id: (number, default 0) Window ID
|
--- - win_id: (number, default 0) Window ID
|
||||||
function M.goto_next(opts)
|
function M.goto_next(opts)
|
||||||
return diagnostic_move_pos(
|
return diagnostic_move_pos(
|
||||||
@ -1164,7 +1148,17 @@ end
|
|||||||
--- - format: (function) A function that takes a diagnostic as input and returns a
|
--- - format: (function) A function that takes a diagnostic as input and returns a
|
||||||
--- string. The return value is the text used to display the diagnostic.
|
--- string. The return value is the text used to display the diagnostic.
|
||||||
--- Overrides the setting from |vim.diagnostic.config()|.
|
--- Overrides the setting from |vim.diagnostic.config()|.
|
||||||
--- - prefix: (function, string, or table) Prefix each diagnostic in the floating window.
|
--- - prefix: (function, string, or table) Prefix each diagnostic in the floating
|
||||||
|
--- window. If a function, it must have the signature (diagnostic, i,
|
||||||
|
--- total) -> (string, string), where {i} is the index of the diagnostic
|
||||||
|
--- being evaluated and {total} is the total number of diagnostics
|
||||||
|
--- displayed in the window. The function should return a string which
|
||||||
|
--- is prepended to each diagnostic in the window as well as an
|
||||||
|
--- (optional) highlight group which will be used to highlight the
|
||||||
|
--- prefix. If {prefix} is a table, it is interpreted as a [text,
|
||||||
|
--- hl_group] tuple as in |nvim_echo()|; otherwise, if {prefix} is a
|
||||||
|
--- string, it is prepended to each diagnostic in the window with no
|
||||||
|
--- highlight.
|
||||||
--- Overrides the setting from |vim.diagnostic.config()|.
|
--- Overrides the setting from |vim.diagnostic.config()|.
|
||||||
---@return tuple ({float_bufnr}, {win_id})
|
---@return tuple ({float_bufnr}, {win_id})
|
||||||
function M.open_float(bufnr, opts)
|
function M.open_float(bufnr, opts)
|
||||||
|
@ -621,7 +621,7 @@ end
|
|||||||
---
|
---
|
||||||
---@param commands table Table that maps string of clientside commands to user-defined functions.
|
---@param commands table Table that maps string of clientside commands to user-defined functions.
|
||||||
--- Commands passed to start_client take precedence over the global command registry. Each key
|
--- Commands passed to start_client take precedence over the global command registry. Each key
|
||||||
--- must be a unique comand name, and the value is a function which is called if any LSP action
|
--- must be a unique command name, and the value is a function which is called if any LSP action
|
||||||
--- (code action, code lenses, ...) triggers the command.
|
--- (code action, code lenses, ...) triggers the command.
|
||||||
---
|
---
|
||||||
---@param init_options Values to pass in the initialization request
|
---@param init_options Values to pass in the initialization request
|
||||||
@ -675,8 +675,8 @@ end
|
|||||||
--- notifications to the server by the given number in milliseconds. No debounce
|
--- notifications to the server by the given number in milliseconds. No debounce
|
||||||
--- occurs if nil
|
--- occurs if nil
|
||||||
--- - exit_timeout (number, default 500): Milliseconds to wait for server to
|
--- - exit_timeout (number, default 500): Milliseconds to wait for server to
|
||||||
-- exit cleanly after sending the 'shutdown' request before sending kill -15.
|
--- exit cleanly after sending the 'shutdown' request before sending kill -15.
|
||||||
-- If set to false, nvim exits immediately after sending the 'shutdown' request to the server.
|
--- If set to false, nvim exits immediately after sending the 'shutdown' request to the server.
|
||||||
---
|
---
|
||||||
---@param root_dir string Directory where the LSP
|
---@param root_dir string Directory where the LSP
|
||||||
--- server will base its workspaceFolders, rootUri, and rootPath
|
--- server will base its workspaceFolders, rootUri, and rootPath
|
||||||
@ -1034,7 +1034,7 @@ function lsp.start_client(config)
|
|||||||
return rpc.notify("$/cancelRequest", { id = id })
|
return rpc.notify("$/cancelRequest", { id = id })
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Track this so that we can escalate automatically if we've alredy tried a
|
-- Track this so that we can escalate automatically if we've already tried a
|
||||||
-- graceful shutdown
|
-- graceful shutdown
|
||||||
local graceful_shutdown_failed = false
|
local graceful_shutdown_failed = false
|
||||||
---@private
|
---@private
|
||||||
@ -1218,7 +1218,7 @@ end
|
|||||||
|
|
||||||
--- Gets a client by id, or nil if the id is invalid.
|
--- Gets a client by id, or nil if the id is invalid.
|
||||||
--- The returned client may not yet be fully initialized.
|
--- The returned client may not yet be fully initialized.
|
||||||
--
|
---
|
||||||
---@param client_id number client id
|
---@param client_id number client id
|
||||||
---
|
---
|
||||||
---@returns |vim.lsp.client| object, or nil
|
---@returns |vim.lsp.client| object, or nil
|
||||||
@ -1227,7 +1227,7 @@ function lsp.get_client_by_id(client_id)
|
|||||||
end
|
end
|
||||||
|
|
||||||
--- Returns list of buffers attached to client_id.
|
--- Returns list of buffers attached to client_id.
|
||||||
--
|
---
|
||||||
---@param client_id number client id
|
---@param client_id number client id
|
||||||
---@returns list of buffer ids
|
---@returns list of buffer ids
|
||||||
function lsp.get_buffers_by_client_id(client_id)
|
function lsp.get_buffers_by_client_id(client_id)
|
||||||
@ -1331,8 +1331,8 @@ nvim_command("autocmd VimLeavePre * lua vim.lsp._vim_exit_handler()")
|
|||||||
---@param method (string) LSP method name
|
---@param method (string) LSP method name
|
||||||
---@param params (optional, table) Parameters to send to the server
|
---@param params (optional, table) Parameters to send to the server
|
||||||
---@param handler (optional, function) See |lsp-handler|
|
---@param handler (optional, function) See |lsp-handler|
|
||||||
-- If nil, follows resolution strategy defined in |lsp-handler-configuration|
|
--- If nil, follows resolution strategy defined in |lsp-handler-configuration|
|
||||||
--
|
---
|
||||||
---@returns 2-tuple:
|
---@returns 2-tuple:
|
||||||
--- - Map of client-id:request-id pairs for all successful requests.
|
--- - Map of client-id:request-id pairs for all successful requests.
|
||||||
--- - Function which can be used to cancel all the requests. You could instead
|
--- - Function which can be used to cancel all the requests. You could instead
|
||||||
@ -1742,11 +1742,11 @@ end
|
|||||||
--- using `workspace/executeCommand`.
|
--- using `workspace/executeCommand`.
|
||||||
---
|
---
|
||||||
--- The first argument to the function will be the `Command`:
|
--- The first argument to the function will be the `Command`:
|
||||||
-- Command
|
--- Command
|
||||||
-- title: String
|
--- title: String
|
||||||
-- command: String
|
--- command: String
|
||||||
-- arguments?: any[]
|
--- arguments?: any[]
|
||||||
--
|
---
|
||||||
--- The second argument is the `ctx` of |lsp-handler|
|
--- The second argument is the `ctx` of |lsp-handler|
|
||||||
lsp.commands = setmetatable({}, {
|
lsp.commands = setmetatable({}, {
|
||||||
__newindex = function(tbl, key, value)
|
__newindex = function(tbl, key, value)
|
||||||
|
@ -222,7 +222,7 @@ function M.on_publish_diagnostics(_, result, ctx, config)
|
|||||||
vim.diagnostic.set(namespace, bufnr, diagnostic_lsp_to_vim(diagnostics, bufnr, client_id))
|
vim.diagnostic.set(namespace, bufnr, diagnostic_lsp_to_vim(diagnostics, bufnr, client_id))
|
||||||
end
|
end
|
||||||
|
|
||||||
--- Clear diagnotics and diagnostic cache.
|
--- Clear diagnostics and diagnostic cache.
|
||||||
---
|
---
|
||||||
--- Diagnostic producers should prefer |vim.diagnostic.reset()|. However,
|
--- Diagnostic producers should prefer |vim.diagnostic.reset()|. However,
|
||||||
--- this method signature is still used internally in some parts of the LSP
|
--- this method signature is still used internally in some parts of the LSP
|
||||||
|
@ -230,7 +230,7 @@ function default_dispatchers.on_error(code, err)
|
|||||||
end
|
end
|
||||||
|
|
||||||
--- Starts an LSP server process and create an LSP RPC client object to
|
--- Starts an LSP server process and create an LSP RPC client object to
|
||||||
--- interact with it.
|
--- interact with it. Communication with the server is currently limited to stdio.
|
||||||
---
|
---
|
||||||
---@param cmd (string) Command to start the LSP server.
|
---@param cmd (string) Command to start the LSP server.
|
||||||
---@param cmd_args (table) List of additional string arguments to pass to {cmd}.
|
---@param cmd_args (table) List of additional string arguments to pass to {cmd}.
|
||||||
|
@ -133,7 +133,7 @@ local function compute_start_range(prev_lines, curr_lines, firstline, lastline,
|
|||||||
-- occur on a new line pointed to by lastline. This occurs during insertion of
|
-- occur on a new line pointed to by lastline. This occurs during insertion of
|
||||||
-- new lines(O), the new newline is inserted at the line indicated by
|
-- new lines(O), the new newline is inserted at the line indicated by
|
||||||
-- new_lastline.
|
-- new_lastline.
|
||||||
-- If firstline == new_lastline, the first change occured on a line that was deleted.
|
-- If firstline == new_lastline, the first change occurred on a line that was deleted.
|
||||||
-- In this case, the first byte change is also at the first byte of firstline
|
-- In this case, the first byte change is also at the first byte of firstline
|
||||||
if firstline == new_lastline or firstline == lastline then
|
if firstline == new_lastline or firstline == lastline then
|
||||||
return { line_idx = firstline, byte_idx = 1, char_idx = 1 }
|
return { line_idx = firstline, byte_idx = 1, char_idx = 1 }
|
||||||
@ -187,7 +187,7 @@ end
|
|||||||
---@param offset_encoding string
|
---@param offset_encoding string
|
||||||
---@returns (int, int) end_line_idx and end_col_idx of range
|
---@returns (int, int) end_line_idx and end_col_idx of range
|
||||||
local function compute_end_range(prev_lines, curr_lines, start_range, firstline, lastline, new_lastline, offset_encoding)
|
local function compute_end_range(prev_lines, curr_lines, start_range, firstline, lastline, new_lastline, offset_encoding)
|
||||||
-- If firstline == new_lastline, the first change occured on a line that was deleted.
|
-- If firstline == new_lastline, the first change occurred on a line that was deleted.
|
||||||
-- In this case, the last_byte...
|
-- In this case, the last_byte...
|
||||||
if firstline == new_lastline then
|
if firstline == new_lastline then
|
||||||
return { line_idx = (lastline - new_lastline + firstline), byte_idx = 1, char_idx = 1 }, { line_idx = firstline, byte_idx = 1, char_idx = 1 }
|
return { line_idx = (lastline - new_lastline + firstline), byte_idx = 1, char_idx = 1 }, { line_idx = firstline, byte_idx = 1, char_idx = 1 }
|
||||||
|
@ -557,7 +557,7 @@ local function remove_unmatch_completion_items(items, prefix)
|
|||||||
end, items)
|
end, items)
|
||||||
end
|
end
|
||||||
|
|
||||||
--- Acording to LSP spec, if the client set `completionItemKind.valueSet`,
|
--- According to LSP spec, if the client set `completionItemKind.valueSet`,
|
||||||
--- the client must handle it properly even if it receives a value outside the
|
--- the client must handle it properly even if it receives a value outside the
|
||||||
--- specification.
|
--- specification.
|
||||||
---
|
---
|
||||||
@ -1137,7 +1137,7 @@ function M.stylize_markdown(bufnr, contents, opts)
|
|||||||
markdown_lines[#stripped] = true
|
markdown_lines[#stripped] = true
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
-- strip any emty lines or separators prior to this separator in actual markdown
|
-- strip any empty lines or separators prior to this separator in actual markdown
|
||||||
if line:match("^---+$") then
|
if line:match("^---+$") then
|
||||||
while markdown_lines[#stripped] and (stripped[#stripped]:match("^%s*$") or stripped[#stripped]:match("^---+$")) do
|
while markdown_lines[#stripped] and (stripped[#stripped]:match("^%s*$") or stripped[#stripped]:match("^---+$")) do
|
||||||
markdown_lines[#stripped] = false
|
markdown_lines[#stripped] = false
|
||||||
@ -1170,7 +1170,7 @@ function M.stylize_markdown(bufnr, contents, opts)
|
|||||||
|
|
||||||
local idx = 1
|
local idx = 1
|
||||||
---@private
|
---@private
|
||||||
-- keep track of syntaxes we already inlcuded.
|
-- keep track of syntaxes we already included.
|
||||||
-- no need to include the same syntax more than once
|
-- no need to include the same syntax more than once
|
||||||
local langs = {}
|
local langs = {}
|
||||||
local fences = get_markdown_fences()
|
local fences = get_markdown_fences()
|
||||||
@ -1306,18 +1306,18 @@ end
|
|||||||
---
|
---
|
||||||
---@param contents table of lines to show in window
|
---@param contents table of lines to show in window
|
||||||
---@param syntax string of syntax to set for opened buffer
|
---@param syntax string of syntax to set for opened buffer
|
||||||
---@param opts dictionary with optional fields
|
---@param opts table with optional fields (additional keys are passed on to |vim.api.nvim_open_win()|)
|
||||||
--- - height of floating window
|
--- - height: (number) height of floating window
|
||||||
--- - width of floating window
|
--- - width: (number) width of floating window
|
||||||
--- - wrap boolean enable wrapping of long lines (defaults to true)
|
--- - wrap: (boolean, default true) wrap long lines
|
||||||
--- - wrap_at character to wrap at for computing height when wrap is enabled
|
--- - wrap_at: (string) character to wrap at for computing height when wrap is enabled
|
||||||
--- - max_width maximal width of floating window
|
--- - max_width: (number) maximal width of floating window
|
||||||
--- - max_height maximal height of floating window
|
--- - max_height: (number) maximal height of floating window
|
||||||
--- - pad_top number of lines to pad contents at top
|
--- - pad_top: (number) number of lines to pad contents at top
|
||||||
--- - pad_bottom number of lines to pad contents at bottom
|
--- - pad_bottom: (number) number of lines to pad contents at bottom
|
||||||
--- - focus_id if a popup with this id is opened, then focus it
|
--- - focus_id: (string) if a popup with this id is opened, then focus it
|
||||||
--- - close_events list of events that closes the floating window
|
--- - close_events: (table) list of events that closes the floating window
|
||||||
--- - focusable (boolean, default true): Make float focusable
|
--- - focusable: (boolean, default true) Make float focusable
|
||||||
---@returns bufnr,winnr buffer and window number of the newly created floating
|
---@returns bufnr,winnr buffer and window number of the newly created floating
|
||||||
---preview window
|
---preview window
|
||||||
function M.open_floating_preview(contents, syntax, opts)
|
function M.open_floating_preview(contents, syntax, opts)
|
||||||
@ -1542,7 +1542,7 @@ function M.set_qflist(items)
|
|||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Acording to LSP spec, if the client set "symbolKind.valueSet",
|
-- According to LSP spec, if the client set "symbolKind.valueSet",
|
||||||
-- the client must handle it properly even if it receives a value outside the specification.
|
-- the client must handle it properly even if it receives a value outside the specification.
|
||||||
-- https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_documentSymbol
|
-- https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_documentSymbol
|
||||||
function M._get_symbol_kind_name(symbol_kind)
|
function M._get_symbol_kind_name(symbol_kind)
|
||||||
|
@ -72,7 +72,7 @@ end
|
|||||||
--- Gets the parser for this bufnr / ft combination.
|
--- Gets the parser for this bufnr / ft combination.
|
||||||
---
|
---
|
||||||
--- If needed this will create the parser.
|
--- If needed this will create the parser.
|
||||||
--- Unconditionnally attach the provided callback
|
--- Unconditionally attach the provided callback
|
||||||
---
|
---
|
||||||
---@param bufnr The buffer the parser should be tied to
|
---@param bufnr The buffer the parser should be tied to
|
||||||
---@param lang The filetype of this parser
|
---@param lang The filetype of this parser
|
||||||
|
@ -38,7 +38,7 @@ end
|
|||||||
|
|
||||||
--- Inspects the provided language.
|
--- Inspects the provided language.
|
||||||
---
|
---
|
||||||
--- Inspecting provides some useful informations on the language like node names, ...
|
--- Inspecting provides some useful information on the language like node names, ...
|
||||||
---
|
---
|
||||||
---@param lang The language.
|
---@param lang The language.
|
||||||
function M.inspect_language(lang)
|
function M.inspect_language(lang)
|
||||||
|
@ -493,9 +493,9 @@ local function tree_contains(tree, range)
|
|||||||
return false
|
return false
|
||||||
end
|
end
|
||||||
|
|
||||||
--- Determines wether @param range is contained in this language tree
|
--- Determines whether @param range is contained in this language tree
|
||||||
---
|
---
|
||||||
--- This goes down the tree to recursively check childs.
|
--- This goes down the tree to recursively check children.
|
||||||
---
|
---
|
||||||
---@param range A range, that is a `{ start_line, start_col, end_line, end_col }` table.
|
---@param range A range, that is a `{ start_line, start_col, end_line, end_col }` table.
|
||||||
function LanguageTree:contains(range)
|
function LanguageTree:contains(range)
|
||||||
|
@ -48,7 +48,7 @@ function M.get_query_files(lang, query_name, is_included)
|
|||||||
local base_langs = {}
|
local base_langs = {}
|
||||||
|
|
||||||
-- Now get the base languages by looking at the first line of every file
|
-- Now get the base languages by looking at the first line of every file
|
||||||
-- The syntax is the folowing :
|
-- The syntax is the following :
|
||||||
-- ;+ inherits: ({language},)*{language}
|
-- ;+ inherits: ({language},)*{language}
|
||||||
--
|
--
|
||||||
-- {language} ::= {lang} | ({lang})
|
-- {language} ::= {lang} | ({lang})
|
||||||
@ -446,7 +446,7 @@ end
|
|||||||
---
|
---
|
||||||
--- {source} is needed if the query contains predicates, then the caller
|
--- {source} is needed if the query contains predicates, then the caller
|
||||||
--- must ensure to use a freshly parsed tree consistent with the current
|
--- must ensure to use a freshly parsed tree consistent with the current
|
||||||
--- text of the buffer (if relevent). {start_row} and {end_row} can be used to limit
|
--- text of the buffer (if relevant). {start_row} and {end_row} can be used to limit
|
||||||
--- matches inside a row range (this is typically used with root node
|
--- matches inside a row range (this is typically used with root node
|
||||||
--- as the node, i e to get syntax highlight matches in the current
|
--- as the node, i e to get syntax highlight matches in the current
|
||||||
--- viewport). When omitted the start and end row values are used from the given node.
|
--- viewport). When omitted the start and end row values are used from the given node.
|
||||||
@ -466,7 +466,7 @@ end
|
|||||||
--- </pre>
|
--- </pre>
|
||||||
---
|
---
|
||||||
---@param node The node under which the search will occur
|
---@param node The node under which the search will occur
|
||||||
---@param source The source buffer or string to exctract text from
|
---@param source The source buffer or string to extract text from
|
||||||
---@param start The starting line of the search
|
---@param start The starting line of the search
|
||||||
---@param stop The stopping line of the search (end-exclusive)
|
---@param stop The stopping line of the search (end-exclusive)
|
||||||
---
|
---
|
||||||
|
@ -47,7 +47,7 @@ end
|
|||||||
local function validate_commit(commit_message)
|
local function validate_commit(commit_message)
|
||||||
local commit_split = vim.split(commit_message, ":")
|
local commit_split = vim.split(commit_message, ":")
|
||||||
|
|
||||||
-- Return true if the type is vim-patch since most of the normal rules don't
|
-- Return nil if the type is vim-patch since most of the normal rules don't
|
||||||
-- apply.
|
-- apply.
|
||||||
if commit_split[1] == "vim-patch" then
|
if commit_split[1] == "vim-patch" then
|
||||||
return nil
|
return nil
|
||||||
|
@ -22,7 +22,7 @@ enum {
|
|||||||
};
|
};
|
||||||
|
|
||||||
/* Storing integer in pointers in undefined behavior according to the C
|
/* Storing integer in pointers in undefined behavior according to the C
|
||||||
* standard. Define a union type to accomodate arbitrary user data associated
|
* standard. Define a union type to accommodate arbitrary user data associated
|
||||||
* with nodes(and with requests in rpc.h). */
|
* with nodes(and with requests in rpc.h). */
|
||||||
typedef union {
|
typedef union {
|
||||||
void *p;
|
void *p;
|
||||||
|
@ -535,7 +535,7 @@ end:
|
|||||||
/// @param channel_id
|
/// @param channel_id
|
||||||
/// @param buffer Buffer handle, or 0 for current buffer
|
/// @param buffer Buffer handle, or 0 for current buffer
|
||||||
/// @param start_row First line index
|
/// @param start_row First line index
|
||||||
/// @param start_column Last column
|
/// @param start_column First column
|
||||||
/// @param end_row Last line index
|
/// @param end_row Last line index
|
||||||
/// @param end_column Last column
|
/// @param end_column Last column
|
||||||
/// @param replacement Array of lines to use as replacement
|
/// @param replacement Array of lines to use as replacement
|
||||||
@ -1246,7 +1246,7 @@ ArrayOf(Integer, 2) nvim_buf_get_mark(Buffer buffer, String name, Error *err)
|
|||||||
/// If the current window already shows "buffer", the window is not switched
|
/// If the current window already shows "buffer", the window is not switched
|
||||||
/// If a window inside the current tabpage (including a float) already shows the
|
/// If a window inside the current tabpage (including a float) already shows the
|
||||||
/// buffer One of these windows will be set as current window temporarily.
|
/// buffer One of these windows will be set as current window temporarily.
|
||||||
/// Otherwise a temporary scratch window (calleed the "autocmd window" for
|
/// Otherwise a temporary scratch window (called the "autocmd window" for
|
||||||
/// historical reasons) will be used.
|
/// historical reasons) will be used.
|
||||||
///
|
///
|
||||||
/// This is useful e.g. to call vimL functions that only work with the current
|
/// This is useful e.g. to call vimL functions that only work with the current
|
||||||
|
@ -839,7 +839,7 @@ void nvim_buf_clear_namespace(Buffer buffer, Integer ns_id, Integer line_start,
|
|||||||
/// - on_win: called when starting to redraw a specific window.
|
/// - on_win: called when starting to redraw a specific window.
|
||||||
/// ["win", winid, bufnr, topline, botline_guess]
|
/// ["win", winid, bufnr, topline, botline_guess]
|
||||||
/// - on_line: called for each buffer line being redrawn. (The
|
/// - on_line: called for each buffer line being redrawn. (The
|
||||||
/// interation with fold lines is subject to change)
|
/// interaction with fold lines is subject to change)
|
||||||
/// ["win", winid, bufnr, row]
|
/// ["win", winid, bufnr, row]
|
||||||
/// - on_end: called at the end of a redraw cycle
|
/// - on_end: called at the end of a redraw cycle
|
||||||
/// ["end", tick]
|
/// ["end", tick]
|
||||||
|
@ -666,7 +666,7 @@ static kh_inline khint_t __ac_Wang_hash(khint_t key)
|
|||||||
} \
|
} \
|
||||||
}
|
}
|
||||||
|
|
||||||
// More conenient interfaces
|
// More convenient interfaces
|
||||||
|
|
||||||
/*! @function
|
/*! @function
|
||||||
@abstract Instantiate a hash set containing integer keys
|
@abstract Instantiate a hash set containing integer keys
|
||||||
|
@ -560,7 +560,7 @@ describe('user config init', function()
|
|||||||
|
|
||||||
it('loads default lua config, but shows an error', function()
|
it('loads default lua config, but shows an error', function()
|
||||||
clear{ args_rm={'-u'}, env=xenv }
|
clear{ args_rm={'-u'}, env=xenv }
|
||||||
feed('<cr>') -- TODO check this, test execution is blocked without it
|
feed('<cr>') -- confirm "Conflicting config ..." message
|
||||||
eq(1, eval('g:lua_rc'))
|
eq(1, eval('g:lua_rc'))
|
||||||
matches('^E5422: Conflicting configs', meths.exec('messages', true))
|
matches('^E5422: Conflicting configs', meths.exec('messages', true))
|
||||||
end)
|
end)
|
||||||
|
2
third-party/CMakeLists.txt
vendored
2
third-party/CMakeLists.txt
vendored
@ -97,7 +97,7 @@ endif()
|
|||||||
if(MINGW AND CMAKE_GENERATOR MATCHES "Ninja")
|
if(MINGW AND CMAKE_GENERATOR MATCHES "Ninja")
|
||||||
find_program(MAKE_PRG NAMES mingw32-make)
|
find_program(MAKE_PRG NAMES mingw32-make)
|
||||||
if(NOT MAKE_PRG)
|
if(NOT MAKE_PRG)
|
||||||
message(FATAL_ERROR "GNU Make for mingw32 is required to build the dependecies.")
|
message(FATAL_ERROR "GNU Make for mingw32 is required to build the dependencies.")
|
||||||
else()
|
else()
|
||||||
message(STATUS "Found GNU Make for mingw32: ${MAKE_PRG}")
|
message(STATUS "Found GNU Make for mingw32: ${MAKE_PRG}")
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user