mirror of
https://github.com/LhKipp/nvim-nu
synced 2024-09-16 14:24:01 +02:00
Update README. Indicate string is evaluated by nushell
This commit is contained in:
parent
c1a002a3db
commit
64e1677db3
1 changed files with 2 additions and 2 deletions
|
@ -53,10 +53,10 @@ require'nu'.setup{
|
|||
use_lsp_features = true, -- requires https://github.com/jose-elias-alvarez/null-ls.nvim
|
||||
-- lsp_feature: all_cmd_names is the source for the cmd name completion.
|
||||
-- It can be
|
||||
-- * a string, which is interpreted as a shell command and the returned list is the source for completions (requires plenary.nvim)
|
||||
-- * a string, which is evaluated by nushell and the returned list is the source for completions (requires plenary.nvim)
|
||||
-- * a list, which is the direct source for completions (e.G. all_cmd_names = {"echo", "to csv", ...})
|
||||
-- * a function, returning a list of strings and the return value is used as the source for completions
|
||||
all_cmd_names = [[nu -c 'help commands | get name | str join "\n"']]
|
||||
all_cmd_names = [[help commands | get name | str join "\n"]]
|
||||
}
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue