diff options
| author | Ariel D'ALessandro <dalessandro.ariel@gmail.com> | 2021-08-22 18:57:16 +0200 |
|---|---|---|
| committer | Ariel D'ALessandro <dalessandro.ariel@gmail.com> | 2021-08-22 18:57:16 +0200 |
| commit | 450c8d49b7d4843cbd6af566eafb98693a2d2fda (patch) | |
| tree | 8927c842bb64773291a5e7bc58f9d3ebb5dc3181 /lua/alpha/telescope.lua | |
| parent | 2f65f4524a084967572dce8277098ff71555b740 (diff) | |
| download | nvim-conf-450c8d49b7d4843cbd6af566eafb98693a2d2fda.tar.gz nvim-conf-450c8d49b7d4843cbd6af566eafb98693a2d2fda.zip | |
add new telecope funcions and add hide bar to tmux
Diffstat (limited to 'lua/alpha/telescope.lua')
| -rw-r--r-- | lua/alpha/telescope.lua | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lua/alpha/telescope.lua b/lua/alpha/telescope.lua index 6bb4150..310504b 100644 --- a/lua/alpha/telescope.lua +++ b/lua/alpha/telescope.lua @@ -1,4 +1,5 @@ local actions = require('telescope.actions') + require('telescope').setup { defaults = { file_sorter = require('telescope.sorters').get_fzy_sorter, @@ -48,4 +49,14 @@ M.branches = function() end}) end +-- just a test base on a relative path +M.laravel_controllers = function() + require("telescope.builtin").find_files({ + prompt_title = "< Controllers >", + cwd = "app/Http/Controllers", + }) +end + +M.laravel_artisan = require('alpha.telescope_laravel').artisan + return M |