Commit Graph

447 Commits

Author SHA1 Message Date
JINNOUCHI Yasushi
1ca1e7ccba fix: Multi byte truncate for displayer (#464)
This is needed for calling strdisplaywidth() from Lua loop.

See https://github.com/nvim-telescope/telescope.nvim/issues/414
See a1ed941a78/src/nvim/eval/funcs.c (L9845-L9858)

Co-authored-by: Simon Hauser <Simon-Hauser@outlook.de>
2021-01-31 10:55:17 +01:00
TJ DeVries
4e0dfa2e70 fix: dont error if the previewer is not able to set at the current time 2021-01-30 22:57:36 -05:00
elianiva
b1fb172b7f fix: no TS highlight if it gets loaded after Telescope (#479) 2021-01-30 23:34:05 +07:00
Corentin Brunel
2a5db2f4f1 fix: git branches previewer add nil check to cend (#478)
Co-authored-by: Corentin Brunel <cbrunel@localhost.localdomain>
2021-01-30 10:16:17 +01:00
Senghan Bright
9d4670c748 feat: allow a callback to be called on on_lines update (for filtering tags from query text) (#455)
* allow a callback to be called on on_lines update

* .

* remove unused _filter_marker var

* nit: Move to table and implement 'close'

Co-authored-by: TJ DeVries <devries.timothyj@gmail.com>
2021-01-28 16:39:05 -05:00
anott03
5995a8be8f Undo #465 (#469)
We have broke all extension that do some sort of goto_file_selection:replace

Problem described here: https://github.com/nvim-telescope/telescope.nvim/pull/465#issuecomment-767831897
Possible solution: https://github.com/nvim-telescope/telescope.nvim/pull/465#issuecomment-767808213
2021-01-27 17:22:11 +01:00
anott03
ccbb7f5638 fix: move to actions.select as default action (#465) 2021-01-25 19:20:01 +01:00
JINNOUCHI Yasushi
5bf9e14f10 feat: support different languages for help_tags if helpfiles are available in other languages (#430)
" use helplang and show en help when it is not found.
:Telescope help_tags

" use helplang, but do not show en help when it is not found.
:Telescope help_tags fallback=false

" ignore helplang and show help from specified langs.
" when helps cannot be found, show en help.
:Telescope help_tags lang=ja,ru

" ignore helplang and show help from specified langs only.
:Telescope help_tags lang=ja,ru fallback=false
2021-01-25 19:17:40 +01:00
Alvaro Muñoz
951ede2a70 fix: allow previewer win customization (#460) 2021-01-24 23:53:58 +01:00
elianiva
099910dcd9 fix: escape filename for previewer and action (#456) 2021-01-23 19:35:29 +07:00
Simon Hauser
223ec81774 feat: add vim buffer directory viewer using plenary scandir.ls_async (#421)
feat: git_status (??) now shows file or directory
fix: attempt to index field 'state' (a nil value)
2021-01-22 21:03:39 +01:00
Simon Hauser
36ff7d5078 fix: fnameescape in from_entry (#454)
if entry.path is nil vim.fn.fnameescape will return null which results
in all other option no longer be checked
2021-01-22 20:11:01 +01:00
elianiva
f94909bc84 fix: escape filename before opening it (#453) 2021-01-22 16:03:39 +07:00
tami5
a81f316712 grep_string/live_grep support multiple dirs (#448)
+ overwriting vimgrep_argumnets
2021-01-20 15:50:13 +03:00
relnod
36783845e4 feat: add ignore_current_buffer opt to builtin buffers (#444) 2021-01-19 18:33:18 +01:00
Simon Hauser
d75d9ae428 fix: error message too many open files (#432)
and buffer previewer still "erroring" out for builtin.buffers
2021-01-19 18:28:47 +01:00
Senghan Bright
7d4d3462e9 Substring matcher (#443)
* add substr_matcher

* correct function name

* use util.split function and remove unused opts
2021-01-18 17:53:52 +01:00
wordhou
7e241aa0a4 feat: Add option to set initial_mode (#442) 2021-01-17 23:09:23 -05:00
Raphael
c2039ca78d improve conver_user_opts function readable (#441) 2021-01-17 17:34:58 +08:00
Massimo Redaelli
9f58834d04 feat: allow to list files in git submodules (#329)
Co-authored-by: Simon Hauser <Simon-Hauser@outlook.de>
2021-01-16 12:07:21 +01:00
Raphael
c50c69ac00 support convert custom command arg (#439)
* support convert custom command arg

* format code

* remove unused variable
2021-01-16 18:55:36 +08:00
Simon Hauser
00e898a1f9 fix: preview for unnamed buffers (#434) 2021-01-15 16:42:26 +01:00
Simon Hauser
e08a5b1331 feat: show git log for remote branches (#428) 2021-01-15 09:27:46 +01:00
Simon Hauser
5701255097 fix #426 (#427) 2021-01-12 22:26:12 +01:00
Simon Hauser
6461b07454 fix #385 (#422) 2021-01-12 17:20:02 +01:00
JINNOUCHI Yasushi
95264ada79 fix: git_branch only remove remotes/origin part (#423) 2021-01-12 09:06:16 +01:00
TJ DeVries
4ca523232e feat: only_search_text (#419) 2021-01-11 16:32:53 -05:00
Simon Hauser
5592d709c6 refactor file_maker signature and fix scrolling (#412) 2021-01-11 21:10:42 +01:00
Simon Hauser
07f8f3d340 fix: previewer windows fix (#371) 2021-01-11 21:02:24 +01:00
TJ DeVries
8783bea06e feat: quickfix (#293)
* feat: quickfix (not implemented)

* [WIP]: Wed 09 Dec 2020 11:11:30 PM EST

* somewhat working linked list impl

* getting closer

* might be working

* might be working for real

* works and implemented basic example

* dont forget to close prompt

* fix descending and add more tests

* test fixes

* fix test

* more logging

* Fix some more tests

* Fix logging messing up tests

* fix: lint

* fix: multi select stuffs
2021-01-11 13:29:37 -05:00
JINNOUCHI Yasushi
cc6749a5aa fix: use valid paths for term_previewer vimgrep and qflist (#402) 2021-01-09 12:06:11 +01:00
Raphael
77d6a74d1e fix: custom extensions opts for commands (#404) 2021-01-08 06:00:45 +03:00
Raphael
a089c67483 refactor telescope command (#398)
* refactor telescope command

* addd telescope default options support

* fix variable name wrong

* convert command line string to lua type

* add comment.

* update readme for use theme in commandline

* enhance complete in commandline

* enhance complete in commandline

* enhance covert commandline options
2021-01-08 01:47:46 +01:00
Senghan Bright
1d6195ff64 fix: remove quotes from spell suggestions (#400) 2021-01-06 15:16:46 +01:00
Senghan Bright
dda5b44b94 Spell suggestions (#399)
* feat: spell suggest picker

* set correct window title

* add entry to readme
2021-01-06 14:57:14 +01:00
JINNOUCHI Yasushi
402c2ea5fa add devicons to oldfiles picker (#397) 2021-01-06 06:20:59 +03:00
Mike
d2ba51c6ca fix: handle directories in windows with dir (term_previewer) (#395) 2021-01-05 20:11:36 +01:00
oberblastmeister
f750159203 feat: add actions.get_current_line (#391) 2021-01-05 08:50:44 +01:00
Cedric M'Passi
9503603f88 feat: Add highlight to builtin.git_status (#388) 2021-01-04 23:04:58 +01:00
Simon Hauser
313ce9d0b6 fix: live_grep will now accept cwd (#390) 2021-01-04 22:01:03 +01:00
Senghan Bright
71ea4130a2 Fix missing global (#384)
* add selected command to cmd-history

* make N_ function global

* fix vimoptions description resolution and add color
2021-01-04 08:02:11 +01:00
Senghan Bright
6a403ddf98 add selected command to cmd-history (#383) 2021-01-04 07:09:55 +01:00
Simon Hauser
4691863f43 fix: termopen previewer for powershell (#382) 2021-01-03 20:27:23 +01:00
elianiva
88ebcaab10 fix: escape chars instead of resetting the prompt (#379) 2021-01-03 15:07:37 +01:00
elianiva
c3806f46b9 fix: live_grep throws an error if you insert \ (#378) 2021-01-03 11:59:16 +01:00
Alvaro Muñoz
f15af583eb fix: make sure preview buffer is valid before writing to it (#376) 2021-01-01 20:42:36 +01:00
Simon Hauser
a0b37473a9 fix: tags now work with hasktags (#375) 2020-12-31 16:17:09 +01:00
Simon Hauser
686d560fa5 fix: has ts (#374) 2020-12-31 11:50:39 +01:00
fffed
d72f73feeb fix: add ts_parsers.ft_to_lang to detect lang (#373)
Add detection of a proper buffer language by `ts_parsers.ft_to_lang` as `ts_parsers.has_parser` works with `language` but not with `filetype`
https://github.com/nvim-treesitter/nvim-treesitter/issues/796
2020-12-30 22:24:45 +01:00
Alvaro Muñoz
e0705b5d4a feat: append mode for previewers.utils.job_maker (#372) 2020-12-30 00:56:12 +01:00