Commit Graph

124 Commits

Author SHA1 Message Date
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
tami5
cf3a1deb9c
follow sqlite new release (#40)
* refactor(sql_wrapper): follow sqlite new release

* update readme
2021-09-01 08:36:12 +03:00
Anshuman Medhi
f8cf92a637
doc(readme): fix packer install instructions (#34)
Co-authored-by: tami5 <65782666+tami5@users.noreply.github.com>
2021-08-22 03:49:34 +03:00
premell
f32d417831
doc(readme): update config example (#33)
remove comma causing error.
2021-08-21 00:52:16 +03:00
Senghan Bright
459041fb42 fix: allow preceeding spaces in filter match pattern 2021-08-05 12:40:16 +02:00
Senghan Bright
31e8158d54 docs: add missing comma in config example 2021-08-04 23:51:59 +02:00
Senghan Bright
a236fccbee docs: add devicons link 2021-08-04 22:01:34 +02:00
Senghan Bright
3da05c8744 docs: fix readme 2021-08-04 20:38:36 +02:00
Senghan Bright
4edeb980e5 docs: fix readme parameter quoting 2021-08-04 20:37:31 +02:00
Senghan Bright
5dc0cb42d8 docs: update README to match recently added config parameters 2021-08-04 20:35:43 +02:00
Senghan Bright
69c3255d31 add disable_devicons parameter to example config. 2021-08-04 20:28:11 +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
f7ee2172da docs: update read me with db_root information. 2021-08-04 10:58:51 +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
f7261e9cb5 chore: Documentation for database validation. 2021-08-04 09:21:48 +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
Senghan Bright
b0ca43d7d6 chore: Add requires "sql.nvim" guard in packer config example 2021-08-04 08:51:37 +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
a5803b6755
Update README.md 2021-02-04 00:02:55 +01:00
Senghan Bright
284699afe1 update readme 2021-02-02 11:43:49 +01:00
Senghan Bright
6db89f20b3 update readme 2021-02-02 11:33:36 +01:00
Senghan Bright
93904dd90f . 2021-02-02 11:28:00 +01:00
Senghan Bright
b2ceef1572 . 2021-02-02 11:27:17 +01:00
Senghan Bright
feb7bcaf06 . 2021-02-02 11:26:32 +01:00
Senghan Bright
7ef31cbaf7 . 2021-02-02 11:26:03 +01:00
Senghan Bright
4ff080c5aa add gif for frecency workspaces 2021-02-02 11:23:30 +01:00
Senghan Bright
668a833a0e
fix sql:open() (#5) 2021-02-01 22:38:03 +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
8b82406c94
Merge pull request #2 from delphinus/hotfix/enable-ignore-patterns
Detect ignore_patterns in validating DB
2021-01-26 10:31:02 +01:00
delphinus
9a2ddaee90 Detect ignore_patterns in validating DB 2021-01-21 17:53:07 +09:00
Senghan Bright
a770d59b92 use vim.startswith instead of utils string function 2021-01-20 12:17:45 +01:00