mirror of
https://github.com/neovim/neovim.git
synced 2025-09-14 15:28:17 +00:00
portability: use portable format specifier
This commit is contained in:
@@ -7999,7 +7999,7 @@ static void prepare_assert_error(garray_T *gap)
|
||||
}
|
||||
}
|
||||
if (sourcing_lnum > 0) {
|
||||
vim_snprintf(buf, ARRAY_SIZE(buf), "line %ld", (long)sourcing_lnum);
|
||||
vim_snprintf(buf, ARRAY_SIZE(buf), "line %" PRId64, (long)sourcing_lnum);
|
||||
ga_concat(gap, (char_u *)buf);
|
||||
}
|
||||
if (sourcing_name != NULL || sourcing_lnum > 0) {
|
||||
|
@@ -4,10 +4,10 @@ local helpers = require('test.functional.helpers')
|
||||
local source = helpers.source
|
||||
local clear, expect = helpers.clear, helpers.expect
|
||||
|
||||
describe('undolevel', function()
|
||||
describe('lispwords', function()
|
||||
setup(clear)
|
||||
|
||||
it('is working', function()
|
||||
it('global-local', function()
|
||||
source([[
|
||||
setglobal lispwords=foo,bar,baz
|
||||
setlocal lispwords-=foo
|
||||
|
Reference in New Issue
Block a user