mirror of
https://github.com/mfussenegger/nvim-dap
synced 2024-09-16 14:24:03 +02:00
Add variable ${command:pickFile}
This commit is contained in:
parent
abb238f631
commit
316f4edd1e
2 changed files with 3 additions and 1 deletions
|
@ -317,6 +317,7 @@ Things to note:
|
|||
- `${workspaceFolder}`: The current working directory of Neovim
|
||||
- `${workspaceFolderBasename}`: The name of the folder opened in Neovim
|
||||
- `${command:pickProcess}`: Open dialog to pick process using |vim.ui.select|
|
||||
- `${command:pickFile}`: Open dialog to pick file using |vim.ui.select|
|
||||
- `${env:Name}`: Environment variable named `Name`, for example: `${env:HOME}`.
|
||||
|
||||
==============================================================================
|
||||
|
|
|
@ -294,7 +294,8 @@ local function eval_option(option)
|
|||
end
|
||||
|
||||
local var_placeholders_once = {
|
||||
['${command:pickProcess}'] = lazy.utils.pick_process
|
||||
['${command:pickProcess}'] = lazy.utils.pick_process,
|
||||
['${command:pickFile}'] = lazy.utils.pick_file,
|
||||
}
|
||||
|
||||
local var_placeholders = {
|
||||
|
|
Loading…
Reference in a new issue