A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/neovim/neovim/commit/147908336ec2e2051dd752e38964d0c36aea1b54 below:

don't use nlua_error when exiting early · neovim/neovim@1479083 · GitHub

File tree Expand file treeCollapse file tree 2 files changed

+2

-5

lines changed

Filter options

Expand file treeCollapse file tree 2 files changed

+2

-5

lines changed Original file line number Diff line number Diff line change

@@ -565,7 +565,8 @@ static bool nlua_init_packages(lua_State *lstate)

565 565

lua_getglobal(lstate, "require");

566 566

lua_pushstring(lstate, "vim._init_packages");

567 567

if (nlua_pcall(lstate, 1, 0)) {

568 -

nlua_error(lstate, _("E5106: Error while loading packages: %.*s\n"));

568 +

mch_errmsg(lua_tostring(lstate, -1));

569 +

mch_errmsg("\n");

569 570

return false;

570 571

}

571 572 Original file line number Diff line number Diff line change

@@ -1,6 +1,5 @@

1 1

-- Test suite for testing interactions with API bindings

2 2

local helpers = require('test.functional.helpers')(after_each)

3 -

local isCI = require('test.helpers').isCI

4 3

local Screen = require('test.functional.ui.screen')

5 4 6 5

local funcs = helpers.funcs

@@ -2558,9 +2557,6 @@ describe('lua: builtin modules', function()

2558 2557 2559 2558 2560 2559

it('does not work when disabled without runtime', function()

2561 -

if isCI('sourcehut') then

2562 -

pending('causes a core dump')

2563 -

end

2564 2560

clear{args={'--luamod-dev'}, env={VIMRUNTIME='fixtures/a'}}

2565 2561

-- error checking could be better here. just check that --luamod-dev

2566 2562

-- does anything at all by breaking with missing runtime..

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4