neovim/test/functional
Justin M. Keyes 08153ddd1c
fix(startup): ignore broken $XDG_RUNTIME_DIR #30285
Problem:
$XDG_RUNTIME_DIR may be broken on WSL, which prevents starting (and even
building) Nvim. #30282

Solution:
- When startup fails, mention the servername in the error message.
- If an autogenerated server address fails, log an error and continue
  with an empty `v:servername`. It's only fatal if a user provides a bad
  `--listen` or `$NVIM_LISTEN_ADDRESS` address.

Before:

    $ nvim --headless --listen ./hello.sock
    nvim: Failed to --listen: "address already in use"
    $ NVIM_LISTEN_ADDRESS='./hello.sock' ./build/bin/nvim --headless
    nvim: Failed to --listen: "address already in use"

After:

    $ nvim --headless --listen ./hello.sock
    nvim: Failed to --listen: address already in use: "./hello.sock"
    $ NVIM_LISTEN_ADDRESS='./hello.sock' ./build/bin/nvim --headless
    nvim: Failed $NVIM_LISTEN_ADDRESS: address already in use: "./hello.sock"
2024-09-08 07:07:19 -07:00
..
api fix(api): nvim_buf_get_text() crashes with large negative column #28740 2024-09-03 06:01:42 -07:00
autocmd refactor(tests): again yet more global highlight definitions 2024-08-14 14:03:34 +02:00
core test: tmpname(create:boolean) #30242 2024-09-03 02:18:17 -07:00
editor Merge pull request #30272 from bfredl/replace_emoji 2024-09-06 12:08:26 +02:00
ex_cmds test: tmpname() can skip file creation 2024-09-02 20:19:50 +02:00
fixtures feat(lsp): vim.lsp.buf.format() supports textDocument/rangesFormatting #27323 2024-06-24 07:54:56 -07:00
legacy vim-patch:9.1.0708: Recursive window update does not account for reset skipcol (#30217) 2024-09-01 20:19:19 +08:00
lua test(lua): tbl_deep_extend "after second argument" #30297 2024-09-07 09:41:02 -07:00
options feat(defaults): popupmenu "Open in browser", "Go to definition" #30261 2024-09-05 05:56:00 -07:00
plugin fix(lsp): handle out-of-bounds character positions #30288 2024-09-08 03:44:46 -07:00
provider refactor(tests): again yet more global highlight definitions 2024-08-14 14:03:34 +02:00
script fix(luacats): allow all types inside tuples 2024-06-01 12:56:43 +01:00
shada refactor(shada): rework msgpack decoding without msgpack-c 2024-08-05 11:12:44 +02:00
terminal feat(defaults): popupmenu "Open in browser", "Go to definition" #30261 2024-09-05 05:56:00 -07:00
treesitter feat(treesitter)!: default to correct behavior for quantified captures (#30193) 2024-09-01 18:01:53 +00:00
ui Merge pull request #30236 from luukvbaal/invalid 2024-09-06 13:13:51 +02:00
vimscript fix(startup): ignore broken $XDG_RUNTIME_DIR #30285 2024-09-08 07:07:19 -07:00
example_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
preload.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
testnvim.lua fix(scrollbind): properly take filler/virtual lines into account 2024-07-31 11:33:32 +01:00