summaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
authorJonathan Teran <jonathan.nerat@gmail.com>2021-07-14 17:11:07 -0300
committerGitHub <noreply@github.com>2021-07-14 22:11:07 +0200
commit37a3a68a78e15900254ae5d9d4f9f0b5100a1735 (patch)
tree7d95eace027f0086189c23ace34ebc50d60c55bb /lua
parent876bed9632d8da78761f3d8edd3c153478c0a13f (diff)
feat: add `search_dirs` to split_keywords table (#986)
This allows the command parser to correctly split `search_dirs` into a table. Should solve nvim-telescope/telescope.nvim#985
Diffstat (limited to 'lua')
-rw-r--r--lua/telescope/command.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/lua/telescope/command.lua b/lua/telescope/command.lua
index 978d5be..9013ffc 100644
--- a/lua/telescope/command.lua
+++ b/lua/telescope/command.lua
@@ -123,7 +123,8 @@ end
local split_keywords = {
['find_command'] = true,
['vimgrep_arguments'] = true,
- ['sections'] = true
+ ['sections'] = true,
+ ['search_dirs'] = true
}
function command.register_keyword(keyword)