Commit Graph

1064 Commits

Author SHA1 Message Date
Simon Hauser
8746347ac4 fix: previewer if cwd is not curr dir (#2084)
path needs to be expanded for filereadable and isdirectory
2022-08-10 21:47:37 +02:00
Fabian David Schmidt
8f80e82108 fix(previewer): regression on live_grep (#2119) 2022-08-09 13:02:21 +02:00
Fabian David Schmidt
787db424e3 fix(buffer_previewer): bypass path validation for terminal buffers (#2117) 2022-08-09 11:45:06 +02:00
TJ DeVries
4725867ec6 fix: restore testing framework to actually work (#2070)
after refactor to some new asynchronous items for finders,
the tests stopped actually doing anything.

now they do things again.
2022-08-04 16:00:30 -04:00
chmnchiang
75a5e50653 fix(resolve): Check val not nil in resolve funcs (#2097)
We did not check `val ~= nil` in the resolve functions, so config like
`{ nil, max = 30 }` will throw a nil error. Also, if the config is `{
padding = _ }`, the logic relies on the function handling the padding is
iterated before the one handling min/max in the map, which is not always
guaranteed.

Fix the bug by adding nil check in the function handling min/max. Close
2022-08-01 18:13:06 +02:00
Christoph Blessing
2e05e63cdf fix: error due to concatenating table to string (#2108)
This commit fixes a bug that lead to an error because we tried to
concatenate a table (`err`) to a string. Now we concatenate
`err.message` (a string) to the string.
2022-08-01 18:06:28 +02:00
steven
b5833a682c fix: move the moon behind show_moon option and update documentation (#2072) (#2079) 2022-07-22 18:16:17 +02:00
Simon Hauser
737f8cd6b5 fix: Telescope command lsp_definition call (and potentially more) (#2086) 2022-07-22 17:52:41 +02:00
Nicholas Hoffman
bb8db6eda2 fix(which_key): mode width options typo (#2078) 2022-07-21 08:22:51 +02:00
Fabian David Schmidt
8c56301720 fix(which_key): only get telescope mappings (#2090) 2022-07-19 21:43:31 +02:00
Simon Hauser
6bddc38c25 fix: push history on refine (#2074) 2022-07-16 09:56:33 +02:00
Simon Hauser
b79cd6c88b release: telescope 0.1.0 (#2067) 0.1.0 2022-07-12 16:02:44 +02:00
Simon Hauser
2d4ef4d6e5 docs: extension bundling (#2068) 2022-07-12 15:48:10 +02:00
Simon Hauser
5acb9474a0 fix: cursor theme for nvim 0.7 (#2069) 2022-07-12 15:47:39 +02:00
Simon Hauser
5f25375191 chore: remove deprecated functions / messages (#2063) 2022-07-12 13:24:23 +02:00
Simon Hauser
7485b06d58 fix: cursor theme if winbar is set (#2066) 2022-07-12 13:21:19 +02:00
Simon Hauser
ac38730da1 docs: mappings documentation overhaul (#2065)
Co-authored-by: TJ DeVries <devries.timothyj@gmail.com>
2022-07-12 11:52:57 +02:00
Simon Hauser
4ab56d215a perf: limit scrolling size (#2059) 2022-07-12 09:46:51 +02:00
Simon Hauser
361482c599 docs: add module names to fix gO (#2064) 2022-07-12 09:46:30 +02:00
Simon Hauser
10a3310546 fix: from_entry escape and validation (#2058) 2022-07-10 21:28:22 +02:00
Simon Hauser
524c4eb7fb fix: more autocmds desc fixes (#2049) 2022-07-07 22:38:28 +02:00
Gregory Anders
7df6662394 fix: also map <C-/> for which-key (#2051)
Some terminals send Ctrl + / as <C-/>, not <C-_>. Map both to the
which_key action to cover these cases.
2022-07-07 22:19:35 +02:00
Simon Hauser
a36500c7ee fix: live_grep search_dirs and grep_open_files opts
fix #2048
2022-07-07 19:16:13 +02:00
Simon Hauser
ddf60d2bbe fix: grep_string search= jump to line
fix #2047
2022-07-07 19:08:46 +02:00
Simon Hauser
9b3afe51c4 fix: autocmd, show desc if available (#2046) 2022-07-07 16:45:32 +02:00
Simon Hauser
f838695459 chore: reformat with stylua 0.14.0 2022-07-07 08:27:46 +02:00
Simon Hauser
8fe2dde656 docs: add missing opts docs for lsp builtins 2022-07-06 20:45:40 +02:00
Simon Hauser
30f2a367f2 feat(grep_string): invert_match for search="", removing empty lines (#2040) 2022-07-06 20:38:51 +02:00
Charles Moscofian
b44e657986 fix(path_display): allow function on path_display (#2043) 2022-07-06 08:29:15 +02:00
Simon Hauser
02cf3e4070 feat: grep_open_files for builtin.grep_string (#2039) 2022-07-06 08:26:22 +02:00
Charles Moscofian
6ea106329a fix: path_display hidden for make_entry.gen_from_quickfix (#2038) 2022-07-04 21:38:10 +02:00
Simon Hauser
2b1da47deb chore: make to_fuzzy_refine configurable (#2034) 2022-07-03 21:39:24 +02:00
Fabian David Schmidt
f8047b8bc9 fix(from_entry): treat directories as valid paths (#2035) 2022-07-03 20:26:45 +02:00
Tyler Wardhaugh
4afd1be74a docs: fix typos/grammar in PR#1945 changelog (#2033) 2022-07-03 13:25:19 +02:00
Simon Hauser
7df95f9b20 Merge pull request #1945 from nvim-telescope/dev
full changelog `:help telescope.changelog-1945`
2022-07-01 23:29:24 +02:00
Simon Hauser
e778abfdb4 docs: changelog for dev branch, 1945 2022-07-01 23:20:07 +02:00
marcel
5dd4b52910 break: cleanup preview.treesitter language setting (#1612)
this follows nvim-treesitter more closely but enable can also be a table
of enabled languages

The config now looks like this:
```lua
defaults = {
  preview = {
    treesitter = {
      enable = false,
      -- or
      enable = { "c" },
      -- disable can be set if enable isn't set
      disable = { "perl", "javascript" },
    },
  },
},
```
2022-07-01 22:58:05 +02:00
Simon Hauser
0621c1c6ba break: prefix internal files and add deprecation messages (#2032) 2022-07-01 22:20:12 +02:00
Turiiya
bf1a25dbfe feat: search_file option for builtin fd command (#2029) 2022-07-01 22:10:31 +02:00
Simon Hauser
75deb22aa8 fix: crash in tags on enter for no results and random crash in previewer 2022-07-01 19:18:30 +02:00
Simon Hauser
21eea92e72 fix: autocommands regression 2022-07-01 18:58:13 +02:00
Fabian David Schmidt
ef9137d85c feat: refine with new_table 2022-07-01 18:13:25 +02:00
julianf
a0a038170d docs: make_entry and entry_display 2022-07-01 16:59:10 +02:00
TJ DeVries
8f56fede21 feat: Add entry_index for entry_makers
cleanup
2022-07-01 16:58:42 +02:00
xiaxi
1aa74b231c fix: filereadable should check for 1 or 0 (#2030) 2022-07-01 11:37:58 +02:00
Simon Hauser
546947d442 fix: spell_suggest if cursor is at last char of word
fix #1977
2022-06-30 14:57:33 +02:00
Simon Hauser
a50352eb24 docs: document limitation of action
close #1994
2022-06-30 14:37:02 +02:00
Simon Hauser
1ba967f84e fix: truncate for builtin.buffers
fix #2022
2022-06-30 14:29:57 +02:00
Simon Hauser
4ef490defa fix: Inconsistent Color highlighting inside Git File Diff Preview
fix #1098
2022-06-30 14:01:52 +02:00
Simon Hauser
d1f3e12a35 feat: add min max boundary to width, hight resolver (#2002) 2022-06-30 14:01:52 +02:00