Commit Graph

59 Commits

Author SHA1 Message Date
Lewis Russell
e5696afabd perf: reduce startup time by moving requires 2023-02-15 12:32:18 +01:00
JINNOUCHI Yasushi
62cbd4e7f5
Detect entries when it has added new ones (#87) 2022-12-28 12:25:07 +01:00
JINNOUCHI Yasushi
10771fdb7b
Use new API and add check for nvim-web-devicons (#78) 2022-11-06 13:42:32 +01:00
Sabu Siyad
e8e97eeebd
fix: set prompt filetype to TelescopePrompt (#81) 2022-11-06 13:39:01 +01:00
Munif Tanjim
72107a262f
feat: use sorter fuzzy_with_index_bias (#73) 2022-11-06 13:38:28 +01:00
JINNOUCHI Yasushi
9634c3508c
Enable to specify tags to show the tails (#77)
* Enable to specify tags to show the tails

* Add doc for show_filter_column
2022-09-27 21:09:50 +02:00
JINNOUCHI Yasushi
3ef3d6cabe
Use opts.path_display to customize (#76) 2022-09-27 21:08:14 +02:00
Munif Tanjim
6d2db0ee0c
fix: fetch lsp workspaces without triggering tag completion (#72) 2022-08-13 11:00:29 +02:00
Simon Hauser
7f4fef1a9f
Revert "fix: fetch lsp workspaces without triggering tag completion (#69)" (#71)
This reverts commit 335cff15ea.
2022-08-12 16:45:03 +02:00
Munif Tanjim
335cff15ea
fix: fetch lsp workspaces without triggering tag completion (#69) 2022-08-12 15:44:00 +02:00
Munif Tanjim
32f4b59ea1
feat: support opts.workspace (#68) 2022-08-12 15:42:45 +02:00
Munif Tanjim
388016c512
fix: show icon before directory (#67) 2022-08-12 15:42:13 +02:00
Munif Tanjim
c891e5e86c
fix: column width for cwd tag (#66) 2022-08-12 15:41:44 +02:00
Munif Tanjim
7b79627fd4
fix: healthcheck (#65) 2022-08-12 15:41:25 +02:00
Matteo Bigoi
68ac8cfe67
fix: ore robust handling of configuration defaults. (#57) 2022-05-25 08:44:48 +02:00
Taylon
979a6f3d88
fix: only show filter column when show_filter_column is true (#51) 2021-12-06 21:10:27 +01:00
James Hiew
ea44b316f4
feat: add default_workspace setting (#43) 2021-11-23 19:07:11 +01:00
Fabian Langguth
4c46d46859
feat: use telescope builtin transform_path (#46)
Telescope has changed the way how the options for path transform can be
set. Use the appropriate new interface to transform the paths for
display.
2021-10-04 21:04:24 +02:00
Senghan Bright
459041fb42 fix: allow preceeding spaces in filter match pattern 2021-08-05 12:40:16 +02:00
Senghan Bright
e5dd397504
feat: support devicons (#31)
* feat: support devicons

* fix: respect opts.disable_devicons

* chore: stylua format
2021-08-04 20:25:49 +02:00
Senghan Bright
65a7d89eb8 feat: make database location configurable 2021-08-04 10:52:02 +02:00
Senghan Bright
8b6f4b8981 deprecate persistent_filter.
functionality is superceded by https://github.com/nvim-telescope/telescope.nvim/pull/1051
and Telesopes native `default_text` setting.
2021-08-04 09:37:09 +02:00
Senghan Bright
6415657162 deprecate persistent_filter 2021-08-04 09:35:57 +02:00
Senghan Bright
e7c9dee1e7
feat: allow user to disable database validation safe_mode (#20)
* feat: allow user to disable database validation safe_mode

* fix safe_mode logic

* fix: fix user confirmation

* feat: allow disabling of auto-validation
2021-08-04 09:16:33 +02:00
Senghan Bright
1929fc49df feat: add checkhealth function 2021-08-04 08:53:02 +02:00
Simon Hauser
5173a42d4a
chore: move to plenary.path (#24) 2021-07-14 19:54:33 +02:00
Senghan Bright
721300e3d6
fix: map <S-Tab> to menu previous entry (#19) 2021-04-17 13:16:55 +02:00
Senghan Bright
555f170098
feat: add CWD filter (#18) 2021-04-17 12:32:29 +02:00
elianiva
926fbde059
fix: move vim.fn.nvim_feedkeys to vim.api.nvim_feedkeys (#15) 2021-03-10 20:38:25 +01:00
Simon Hauser
8b584bd88f
fix: new action interface (#12) 2021-02-22 18:48:41 +01:00
JINNOUCHI Yasushi
ffa2027102
Refactor callback (#9)
* Fix tabs

* Detect the filter faster
2021-02-10 12:39:28 +01:00
JINNOUCHI Yasushi
237ece9bfb
Disable unneeded overriding mappings (#7) 2021-02-10 12:14:26 +01:00
Senghan Bright
3f6025c78a fix empty listing on windows. 2021-02-10 12:07:27 +01:00
Senghan Bright
7afdd3c32c
Feature: filtered workspaces
* draft implementation of tags/filters

* .

* add filtering:

- extended substring sorter to have modes:
- when current string is prefixed by `:foo`, results are tag_names that
come from tags/workspaces table. (if `:foo ` token is incomplete it is
ignored)
- when a complete workspace tag is matched ':foobar:', results are
indexed_files filtered by if their parent_dir is a descendant of the
workspace_dir
- a recursive scan_dir() result is added to the  :foobar: filter
results; any non-indexed_files are given a score of zero, and are
alphabetically sorted below the indexed_results

- tab completion for tab_names in insert mode`:foo|` state: cycles
through available options

* add completion file

* use attach_mappings for <CR> map

* stop completion being enabled multiple times

* improve keys

* improve completion cancellation

* add dynamic `lsp` tag

* add dynamic `lsp` tag

* fix empty lsp workspaces

* remove hardcoded workspaces and allow config from ext_config

* add filter highlight and some fixes

* .

* add workspace filters to readme

* wip LSP workspace filter

* merge ignore_patterns fix

* change LSP_ROOT tagname to LSP

* fix setting default values

* .

* update readme with filter instructions

* remove debug message

* improve relative paths

* improve relative paths

* WIP dynamic column sizes

* WIP filter_column_width

* fix keymaps

* .

* feat: persistent filters

* refactor config creation

* fix: filter directory column autosize

* improve LSP workspace paths

* .

* remove workspace filter output

* cache persistent filter results

* fix cached results

* .

* remove results cache; sorting is the expensive part

* respect ignore patterns for non-indexed files.

* return table on on_input_filter_cb
2021-01-28 22:45:04 +01:00
Senghan Bright
a770d59b92 use vim.startswith instead of utils string function 2021-01-20 12:17:45 +01:00
Senghan Bright
098edfc941 make relative dir setting compatible with tail_path 2021-01-19 08:35:39 +01:00
Senghan Bright
867f0d714d show dot-slash relative dir indicator 2021-01-19 08:20:07 +01:00
Senghan Bright
610febf90c fix relative dir 2021-01-19 08:07:31 +01:00
Senghan Bright
84443967fc only call os_home once; conditionally replace homedir 2021-01-19 05:39:25 +01:00
Senghan Bright
304a6bf887 shorten paths relative to user homedir 2021-01-19 05:15:40 +01:00
Senghan Bright
bbb81a6a58 remove wip commits 2021-01-18 21:32:03 +01:00
Senghan Bright
9bbbec1435 add in frecency_utils require 2021-01-18 21:08:38 +01:00
Senghan Bright
8ceaedc4ca remove substr_matcher and use the upstreamed version
https://github.com/nvim-telescope/telescope.nvim/pull/443
2021-01-18 18:02:28 +01:00
Senghan Bright
4652f6c325 use extensions ignore_patterns instead of telescope default 2021-01-17 20:51:11 +01:00
Senghan Bright
e8266b0b94 allow scores and ignore_patterns to be configurable. 2021-01-17 19:48:19 +01:00
Senghan Bright
f2802ba34c add previewer 2021-01-17 16:57:03 +01:00
Senghan Bright
50869b5f55 automatically remove stale entries from db 2021-01-17 16:51:43 +01:00
Senghan Bright
dc37ed8dd0 improve substr matcher 2021-01-17 12:59:20 +01:00
Senghan Bright
df1fc3bb8b make vim.* functions local to display loop 2021-01-17 12:19:03 +01:00
Senghan Bright
c81fad2c1d use Telescope namespace hl for bufloaded 2021-01-17 12:14:56 +01:00