Commit Graph
185 Commits
Author SHA1 Message Date
Simon HauserandGitHub 60a4ce080f fix: dont change highlights when using current_buffer_fuzzy_find (#1524)
this happens if parsers are installed but highlight is set to false.
So parsing the buffer with treesitter will automatically apply them to
the buffer but because treesitter highlighting is disabled it will
change the buffer. Its stupid and i dont know why you want parser
installed but highlighting disabled but whatever.

We just dont calculate highlights for people who have highlight set
to false
2021-12-03 14:46:53 +01:00
Simon HauserandGitHub 4b3efd2341 fix: lsp_workspace_symbols (#1535) 2021-12-02 18:00:26 +01:00
Chinmay DalalandGitHub 7462999202 fix: make lsp_* async (#1506) 2021-12-02 07:51:13 +01:00
Luke KershawandGitHub e9743620ce fix: use string.format on builtin.resume error message (#1465) 2021-11-18 19:44:16 +01:00
fdschmidt93andGitHub e77926a258 chore: reformat files.lua after stylua update (#1456) 2021-11-15 20:03:14 +01:00
klausweissandGitHub b2f16c788e fix: LSP code actions not working for some language servers (#1381) 2021-11-13 14:11:08 +01:00
Pranav RaoandGitHub 3309526566 feat(worktrees): added support for bare repo git operations (#1370) 2021-11-13 14:09:47 +01:00
fdschmidt93andGitHub 97842abb03 fix: revert buffers previewer (#1400)
* Reverts #1120 many issues arise (mru, highlighting, settings inheritance, ...) when previewing actual buffers
2021-11-04 07:55:32 +01:00
Julian FrickerandGitHub 6a8fbb53e0 breaking: bump nvim version requirement to 0.5.1 (#1406) 2021-11-04 07:20:17 +01:00
Denis CornehlandGitHub 99a3988d6e fix: buitin.tags broke when tags-file was in wildignore (#1387)
regression from
6f829bf6bc333809dd97e532dbc88a7fcf297b02
https://github.com/nvim-telescope/telescope.nvim/pull/1122
2021-10-28 12:34:46 +02:00
Simon HauserandGitHub f31ef36293 fix: opts.git_command for files, commits, bcommits (#1374) 2021-10-24 08:30:31 +02:00
A. SchuelerandGitHub 09b0d87b9f fix: Exclude unlisted lsp buffers in oldfiles picker (#1219)
Files opened by LSPs are listed with a trailing `line 0` instead of a date like files opened by the user.
Use this behavior to filter out buffers that should not be displayed in oldfiles.
2021-10-24 08:22:56 +02:00
Rafael DelboniandGitHub b5c63c6329 fix: Bug with nil action error (#1340)
only affects 0.5.1
2021-10-12 23:17:42 +02:00
fdschmidt93andGitHub c19eae901c feat: filtering for dynamic workspace symbols (#1336)
* enable `symbols` filtering opt for builtin.dynamic_workspace_symbols
2021-10-12 18:48:55 +02:00
fdschmidt93andGitHub 45051df61b fix: loclist can have non current buf entries (#1333) 2021-10-12 14:42:41 +02:00
Patrick ZieglerandGitHub ba41f0eeb1 fix: alias cwd_only and only_cwd option for buffers and oldfiles (#1316)
* Alias cwd_only and only_cwd option for builtins

Fixes #1199
Closes #1275
2021-10-09 15:40:08 +02:00
Simon HauserandGitHub ec6c13fc09 fix: code action for rust analyzer (#1311) 2021-10-07 13:49:14 +02:00
Jonas StrittmatterandGitHub 4e629cdea1 fix: show error message when nothing is selected (#1289)
* fix: always show error message when nothing is selected

This continues the fixes done in 4816a27d76 (ref #1283)

* Use correct variable name (selection) and add one more nil check

* Fix indentation
2021-09-27 20:45:27 +01:00
Simon HauserandGitHub 4816a27d76 fix: print error mesage and dont close telescope if nothing is selected (#1285) 2021-09-26 12:59:24 +02:00
Rafael A. MadrizandGitHub f6480b0ecb fix: help_tags if file_ignore_patterns = { "doc" } is set (#1279) 2021-09-22 18:07:48 +02:00
Jose AlvarezandGitHub a005e58a48 fix(lsp): check if action.command.arguments is nil (#1274) 2021-09-22 08:37:45 +02:00
Javier LopezandGitHub ca05f8955c fix(builtin): internal.help_tags not finding all tags (#1258)
After changes on &rtp in neovim/neovim it's neccessary to use
`nvim_get_runtime_file` to actually find all the runtime files.
2021-09-19 10:26:00 +02:00
Anthony NicholsandGitHub 5f0ccf1346 feat: support <pattern> for git-for-each-ref (git_branches) (#1248) 2021-09-16 11:58:59 +02:00
Simon Hauser 5131df7df1 docs: rewrite readme and add missing config values + builtin opts 2021-09-16 11:12:12 +02:00
aaffa84ebb feat: Remove version field if zero from codeaction calls (#738)
should fix code actions for jdtls

Co-authored-by: TJ DeVries <devries.timothyj@gmail.com>
2021-09-15 18:31:51 +02:00
Chase ColmanandGitHub 978366ba46 fix: add no more flags delimiter for ripgrep (#1217)
This matches the behavior of fzf, if a user needs to pass additional
arguments they can use additional_args or change vimgrep_arguments.
2021-09-12 11:37:04 +02:00
RodrigoddandGitHub d022ccaf11 feat: lsp type definitions (#1224) 2021-09-12 11:36:28 +02:00
thibthib18andGitHub b4d6eb9a23 feat: git merge branch action (#1220) 2021-09-10 08:50:58 +02:00
Dhruv ManilawalaandGitHub 0cb1026b9e perf: load builtin submodules when a picker is invoked (#1191)
* Defer requiring submodules to when a builtin picker is actually invoked
2021-09-09 17:28:25 +02:00
Dheepak KrishnamurthyandGitHub 288f243387 Add word to prompt title for grep string (#1184) 2021-09-09 09:43:59 -04:00
TJ DeVries 162cf7b534 fix(lsp): Handle new signature for lsp handlers 2021-09-05 21:07:41 -04:00
79c2ded6a8 fix(picker): incorrect git stash picker command (#1195)
* fix: should not use git log command in git stash picker

* Update lua/telescope/builtin/git.lua

Co-authored-by: tami5 <65782666+tami5@users.noreply.github.com>
2021-09-02 06:06:05 +03:00
fdschmidt93andGitHub 5d37c3ea08 feat: allow caching and resuming picker (#1051)
* expose `cache_picker` in telescope.setup to configure caching, see `:h telescope.defaults.cache_picker`
* add builtin.resume and builtin.pickers picker
2021-09-01 18:17:18 +02:00
Logan ConnollyandGitHub b0c04c62b5 feat: add utility for fetching buffer directory (#902) 2021-09-01 16:52:45 +02:00
TJ DeVriesandGitHub 4d691fdc23 fix: Should not block on git commands (#1176) 2021-09-01 16:15:37 +02:00
Dhruv ManilawalaandGitHub e6838a6289 fix(ts-highlighting): get hl name from the capture (#1166)
After this commit (https://github.com/neovim/neovim/commit/2460f0a7028550ea2d87492a4e8b95914fdba7b1), the `hl_cache` variable
stores the hl_ID instead of the group name.

Another way to get the hl name which is adopted from the method used
here `_get_hl_from_capture`:

    ```lua
    local hl = vim.treesitter.highlighter.hl_map[query.captures[id]]
    ```

But, as the method covers another case, we can directly use it.

I've also added the type guard so that, in the future, it does not
explode like it does now.

fixes: #1151
2021-08-25 22:21:17 +02:00
Aiden ScandellaandGitHub f45c170f28 fix(pickers): attach_mappings on builtins.buffers needs return (#1155) 2021-08-23 19:07:57 +02:00
fdschmidt93andGitHub 79dc995f82 fix: (terminal) buffer previewer (#1120)
Use existing buffers for buffer previewer to allow previewing special buffer types
2021-08-23 15:27:11 +02:00
tami5andGitHub 03c2b8f6bb refactor(pickers): remove additional fileopen (#1154)
unfinished work from #1122
2021-08-23 10:17:59 +03:00
Emilia SimmonsandGitHub d8eeb0e4ac pickers(*): Add support for &tags (#1122) 2021-08-23 01:02:09 +03:00
Simon Hauser 8381a215e0 hotfix: should have been there but wasnt
ref: https://github.com/nvim-telescope/telescope.nvim/issues/1145#issuecomment-903161099
2021-08-21 21:13:09 +02:00
Simon HauserandGitHub 1c276f5539 fix(pickers): config mappings (#1147)
This happens because we removed our packed deepcopy. So i refactored
this part to not do a deepcopy
2021-08-21 21:02:38 +03:00
Simon HauserandGitHub 364d795d22 fix: some improvements for telescope.symbols if run in insert mode (#1117)
- keep insert if run in insert mode
- also look in `.local/share/nvim/telescope/symbols/*.json` for symbols
  can be overriden with `symbol_path`
2021-08-21 16:48:19 +02:00
TJ DeVriesandGitHub a97af306c4 feat(performance): Major performance improvements using async v2 from @oberblastmeister (#987)
* start: Working w/ async jobs

* short circuit to using bad finder if you pass writer.
2021-08-20 11:11:24 -04:00
Jan SteinkeandGitHub 615efe666b Allow range parameters on command parser (#1123) 2021-08-19 19:11:22 +02:00
James TrewandGitHub f039f60a99 chore: separate commit date & time in git_branches (#1111) 2021-08-12 15:30:10 +02:00
Marten TripandGitHub 06e55d3b3a fix: builtin list_or_jump now handles non list replies from the server (#1101)
fix for servers such as zls and clojure_lsp
2021-08-11 20:03:31 +02:00
Simon HauserandGitHub 2c573b9d12 fix: picker config (#1094) 2021-08-09 21:28:16 +02:00
Simon Hauser e7362e9996 chore: reformat docs after tree-sitter-lua changes 2021-08-04 22:41:18 +02:00
zeertzjqandGitHub d7cdfcbeb6 feat: add option jump_type to lsp_definitions and lsp_implementations (#1077) 2021-08-04 22:33:13 +02:00