diff options
| author | caojoshua <33404808+caojoshua@users.noreply.github.com> | 2021-07-08 01:30:44 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-08 10:30:44 +0200 |
| commit | d5a8e48aa632508f5d7d6d428244eaf150adad25 (patch) | |
| tree | 7d0e7ccdfb9f4c01713c08e42bcb4a6993076a0f /lua/telescope/builtin/internal.lua | |
| parent | 38907ce7d74f26d123bfbb8ecf55bc9616b5ece5 (diff) | |
Consistent filepath display and code cleanup. (#839)
BREAKING CHANGE: see :help telescope.changelog-839 for more information
Co-authored-by: Simon Hauser <Simon-Hauser@outlook.de>
Diffstat (limited to 'lua/telescope/builtin/internal.lua')
| -rw-r--r-- | lua/telescope/builtin/internal.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/telescope/builtin/internal.lua b/lua/telescope/builtin/internal.lua index d53776d..9df2637 100644 --- a/lua/telescope/builtin/internal.lua +++ b/lua/telescope/builtin/internal.lua @@ -19,7 +19,7 @@ local internal = {} -- vim.fn.setreg("+", "nnoremap $TODO :lua require('telescope.builtin').<whatever>()<CR>") -- TODO: Can we just do the names instead? internal.builtin = function(opts) - opts.hide_filename = utils.get_default(opts.hide_filename, true) + opts.path_display = utils.get_default(opts.path_display, "hidden") opts.ignore_filename = utils.get_default(opts.ignore_filename, true) opts.include_extensions = utils.get_default(opts.include_extensions, false) |
