James Trew and Simon Hauser
588e26ff9f
fix(previewer): improve binary mime type check ( #3083 )
...
* fix(previewer): improve binary mime type check
Problem: mime type for a ts/js file can either return `text/plain` or
`application/javascript` based on the contents of the file.
Previously, this meant `application/javascript` would be considered
"possibly binary". This, in conjunction with how `vim.filetype.match`
does not give a result for a filename that ends in `.ts`, would lead to
a typescript file taking the path of `check_mime_type` and eventually
`mime_hook`.
Solution: Include `application/javascript` as a non-binary file type
during mime type check.
* [docgen] Update doc/telescope.txt
skip-checks: true
---------
Co-authored-by: Github Actions <actions@github>
(cherry picked from commit fac83a556e )
2024-05-20 11:34:02 +02:00
James Trew and Simon Hauser
021a358db9
fix(which_key): close window on mouse click action ( #3053 )
...
* fix(which_key): close window on mouse click action
`nvim_buf_delete` is not allowed during text change or window change.
Window switching with left mouse click was leading to race
condition/error.
* [docgen] Update doc/telescope.txt
skip-checks: true
---------
Co-authored-by: Github Actions <actions@github>
(cherry picked from commit d00d9df48c )
2024-05-20 11:28:38 +02:00
James Trew and Simon Hauser
f9722f7ee4
test(utils): add unit test for transform_path ( #3013 )
...
(cherry picked from commit b22e6f6896 )
2024-05-20 11:13:12 +02:00
James Trew and Simon Hauser
d7d32a3850
fix(utils.path_expand): improve windows support ( #2999 )
...
In order to maintain plenary compatibility (for now, and slightly for
other edgecase reasons), avoid converting backslashes to forward
slashes.
(cherry picked from commit 1e59188575 )
2024-05-20 11:11:14 +02:00
James Trew and Simon Hauser
d5fe96ec8a
fix: expand/normalize paths more selectively ( #2628 )
...
(cherry picked from commit 3b8399c273 )
2024-05-20 11:10:12 +02:00
James Trew and Simon Hauser
332465c706
docs(builtin.colorscheme): add colors option desc ( #2989 )
...
* docs(builtin.colorscheme): add `colors` option desc
* docgen plz
(cherry picked from commit 1fa3b801f0 )
2024-05-20 10:52:19 +02:00
James Trew and Simon Hauser
6312868392
docs(git_status): add missing opt expand_dir ( #2824 )
...
* docs(git_status): add missing opt `expand_dir`
* [docgen] Update doc/telescope.txt
skip-checks: true
---------
Co-authored-by: Github Actions <actions@github>
(cherry picked from commit fa4d663c8c )
2024-03-12 15:16:42 +01:00
Kobu and Simon Hauser
6ee97f1f8b
doc(action_state): improve description of action_state.get_current_line ( #2895 )
...
(cherry picked from commit f1fd99ebfb )
2024-03-06 11:08:56 +01:00
Nghia Le Minh and Simon Hauser
11a3b16487
fix(lsp_dynamic_workspace_symbols): add prefilter as per documentation (after to_fuzzy_refine) ( #2584 )
...
* fix(lsp_dynamic_workspace_symbols): add prefilter as per documentation (after to_fuzzy_refine)
* [docgen] Update doc/telescope.txt
skip-checks: true
* docs grammar
* [docgen] Update doc/telescope.txt
skip-checks: true
---------
Co-authored-by: Github Actions <actions@github>
Co-authored-by: James Trew <j.trew10@gmail.com >
(cherry picked from commit 219584a6ef )
2023-09-05 16:01:35 +02:00
James Trew and Simon Hauser
f97f4a04f7
fix: previewers & entry maker file encoding ( #2430 )
...
(cherry picked from commit c8b65238e8 )
2023-05-24 17:08:36 +02:00
James Trew and Simon Hauser
37fa401040
Revert "chore: simplify vimgrep_arguments args ( #2440 )" ( #2488 )
...
This reverts commit cfe6df6257 .
(cherry picked from commit d77b37f452 )
2023-05-14 21:34:13 +02:00
Andrew Snelling and Simon Hauser
9800a1d107
chore: simplify vimgrep_arguments args ( #2440 )
...
(cherry picked from commit cfe6df6257 )
2023-04-09 17:50:59 +02:00
Pooyan Khanjankhani and Simon Hauser
818ad69723
doc: fix border characters in docs ( #2388 )
...
* chore: Fix border characters in comments
* [docgen] Update doc/telescope.txt
skip-checks: true
---------
Co-authored-by: Github Actions <actions@github>
(cherry picked from commit e504cf03c2 )
2023-04-09 10:23:54 +02:00
Luyu Huang and Simon Hauser
48ece76315
fix: apply jump_type only if the definition file is different from the current file ( #2324 )
...
(cherry picked from commit 5d9658c39d )
2023-02-19 14:12:15 +01:00
Uraza and Simon Hauser
9e55b91b54
docs: add missing documentation for builtin lsp symbols ( #2365 )
...
(cherry picked from commit 5ce991ad23 )
2023-02-19 14:09:55 +01:00
vladislav doster and Simon Hauser
a1bd6866b5
docs: telescope.nvim spelling and grammar fixes ( #2325 )
...
Corrects the following issues:
- article agreement
- spelling
(cherry picked from commit dce1156ca1 )
2023-01-22 10:09:28 +01:00
James Trew and Simon Hauser
0077389133
docs: proof-read edits ( #2311 )
...
(cherry picked from commit 053f2303c4 )
2023-01-22 10:09:23 +01:00
cristiansofronie and Simon Hauser
6a65f24ff6
docs: fix unfinised sentence in docs ( #2335 )
...
(cherry picked from commit ed366bba14 )
2023-01-22 10:09:18 +01:00
Tsakiris Tryfon and Simon Hauser
7408286e67
docs: fix typos/wording ( #2283 )
...
(cherry picked from commit a606bd10c7 )
2023-01-06 14:35:17 +01:00
C.D. MacEachern and Simon Hauser
0b0846fe83
fix(docs): point to correct lua modules ( #2284 )
...
(cherry picked from commit d7d3ea9015 )
2023-01-06 14:35:08 +01:00
ADoyle and Simon Hauser
2bf2d10d19
feat: the parameter "map" of attach_mappings can be list of modes to create mapping on multiple modes ( #2220 )
...
(cherry picked from commit d541e0d6e0 )
2023-01-06 14:30:45 +01:00
Gutyina Gergő and Simon Hauser
6a67ef38bf
feat: allow table as additional args in live grep and grep string ( #2139 )
...
(cherry picked from commit 5c7db4055d )
2023-01-06 14:28:55 +01:00
Antoine Bertin and Simon Hauser
50461b86c0
fix: selected icon highlight with color_devicons to false ( #2187 )
...
(cherry picked from commit 5fadc247c5 )
2023-01-06 14:27:50 +01:00
Sam Rosenthal and Simon Hauser
0b1c41ad80
docs: update for git_files and live_grep ( #2133 )
...
(cherry picked from commit bd9e8a7eac )
2022-09-04 22:01:54 +02:00
Emiel Van Severen and Simon Hauser
0585cd9a8c
fix: typo in docs ( #2100 )
...
(cherry picked from commit e1206cb3e1 )
2022-08-13 11:33:30 +02:00
Nikita Kulakov and Simon Hauser
2df16c0618
docs: fix arguments in mappings table to refelct implementation ( #2111 ) ( #2125 )
...
(cherry picked from commit 36d4571b05 )
2022-08-13 11:07:54 +02:00
steven and Simon Hauser
83c760cbac
fix: move the moon behind show_moon option and update documentation ( #2072 ) ( #2079 )
...
(cherry picked from commit b5833a682c )
2022-07-22 18:22:45 +02:00
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 and GitHub
361482c599
docs: add module names to fix gO ( #2064 )
2022-07-12 09:46:30 +02:00
Simon Hauser
8fe2dde656
docs: add missing opts docs for lsp builtins
2022-07-06 20:45:40 +02:00
Simon Hauser and GitHub
02cf3e4070
feat: grep_open_files for builtin.grep_string ( #2039 )
2022-07-06 08:26:22 +02:00
Simon Hauser and GitHub
2b1da47deb
chore: make to_fuzzy_refine configurable ( #2034 )
2022-07-03 21:39:24 +02:00
Tyler Wardhaugh and GitHub
4afd1be74a
docs: fix typos/grammar in PR#1945 changelog ( #2033 )
2022-07-03 13:25:19 +02:00
Simon Hauser
e778abfdb4
docs: changelog for dev branch, 1945
2022-07-01 23:20:07 +02:00
marcel and GitHub
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
Turiiya and GitHub
bf1a25dbfe
feat: search_file option for builtin fd command ( #2029 )
2022-07-01 22:10:31 +02:00
julianf and Simon Hauser
a0a038170d
docs: make_entry and entry_display
2022-07-01 16:59:10 +02:00
Simon Hauser
a50352eb24
docs: document limitation of action
...
close #1994
2022-06-30 14:37:02 +02:00
Simon Hauser and Simon Hauser
d1f3e12a35
feat: add min max boundary to width, hight resolver ( #2002 )
2022-06-30 14:01:52 +02:00
Anton and Simon Hauser
bef86acb6c
feat(rg): pass multiple globs to rg by default ( #2003 )
2022-06-30 14:01:51 +02:00
Manuel and Simon Hauser
3a72cc8902
feat(builtin.lsp): implement builtin handlers for lsp.(incoming|outgoing)_calls ( #1484 )
...
Fixes #863
2022-06-30 14:01:51 +02:00
Simon Hauser and Simon Hauser
ffcc2221d6
docs: clarify docs around search_dirs and map_entries
2022-06-30 14:01:51 +02:00
Simon Hauser and Simon Hauser
f6efef4c41
feat: find_command can be a function ( #2000 )
2022-06-30 14:01:51 +02:00
838c32d6a8
refactor: make_entry more consistent ( #1410 )
...
drops `ignore_filename`, use `path_display= { "hidden" }`
Co-authored-by: Simon Hauser <Simon-Hauser@outlook.de >
2022-06-30 14:01:50 +02:00
Bjarki Baldursson Harksen and Simon Hauser
6703c957e7
feat: add option use_default_opts to builtin.builtin ( #1996 )
2022-06-30 14:01:50 +02:00
Jeremy Neal and Simon Hauser
8488cd5ac7
feat: no-ignore-parent shorthand option for find_files. ( #1963 )
2022-06-30 14:01:50 +02:00
fdschmidt93 and Simon Hauser
a1aec79cb1
feat: none strategy & control attachment ( #1867 )
2022-06-30 14:01:49 +02:00
Simon Hauser and Simon Hauser
edc6f55ba2
docs: document limitations of file_ignore_patterns and transform_path ( #1955 )
2022-06-30 14:01:49 +02:00
Ben Smith and Simon Hauser
440684edad
break(git_files): change show_untracked default to false ( #842 )
2022-06-30 14:01:48 +02:00
Jose Veiga and GitHub
e2a77a54a3
doc: use correct option name for 'only_sort_text' ( #1995 )
2022-06-12 13:03:12 +02:00