mirror of
https://github.com/neovim/neovim.git
synced 2025-10-26 12:27:24 +00:00
LSP: fix validate_client_config
- `cmd_env` is a table not a function. - tests: Set $NVIM_LOG_FILE for fake LSP server.
This commit is contained in:
@@ -154,7 +154,7 @@ local function validate_client_config(config)
|
||||
callbacks = { config.callbacks, "t", true };
|
||||
capabilities = { config.capabilities, "t", true };
|
||||
cmd_cwd = { config.cmd_cwd, optional_validator(is_dir), "directory" };
|
||||
cmd_env = { config.cmd_env, "f", true };
|
||||
cmd_env = { config.cmd_env, "t", true };
|
||||
name = { config.name, 's', true };
|
||||
on_error = { config.on_error, "f", true };
|
||||
on_exit = { config.on_exit, "f", true };
|
||||
|
||||
Reference in New Issue
Block a user