Commit Graph

1198 Commits

Author SHA1 Message Date
fdschmidt93
4449f709c3 fix(finder): don't trigger twice w/ inital_mode="insert" (#1886) 2022-04-27 12:33:49 +02:00
Maximilian Schmidt
6a54433038 docs: fix typo in reference to vim.lsp.buf.code_action (#1883) 2022-04-26 08:54:04 +02:00
Simon Hauser
2b8c7b1ec7 fix: prompt now has always buftype prompt
fix #1882
2022-04-26 08:49:16 +02:00
Simon Hauser
e7e90466de break: remove lsp code actions (#1866)
see :help telescope.changelog-1866 for more information
2022-04-25 22:52:00 +02:00
Simon Hauser
5045d7e5e7 feat: switch to telescope.lua (#1873)
Co-authored-by: Christian Clason <christian.clason@uni-due.de>
2022-04-25 22:34:42 +02:00
Simon Hauser
fd9e1e1674 fix(help_tags): exclude invalid help-tag that errors
fix #1858
2022-04-25 22:29:53 +02:00
Simon Hauser
fce74f509d ci: fix docgen after tjdevries/tree-sitter-lua/pull/48 2022-04-25 22:24:14 +02:00
fdschmidt93
8b02088743 fix(which_key): get full path & handle table assignment of funcrefs (#1875) 2022-04-22 23:40:39 +02:00
Simon Hauser
d743d70292 chore: use of require "health" over vim.fn["health#*"] (#1868) 2022-04-22 16:25:32 +02:00
Dave Lage
697ee7aa70 feat: lua autocmd (#1707) 2022-04-22 16:20:59 +02:00
kylo252
cc1a3440f9 fix: fix keep insert when going from telescope window to telescope window (#1600)
Also fixes `initial_mode`

Co-authored-by: Simon Hauser <Simon-Hauser@outlook.de>
2022-04-22 16:13:32 +02:00
Simon Hauser
5a58b1f535 break: bump minimum required neovim version to 0.7 (#1851) 2022-04-22 16:08:56 +02:00
fdschmidt93
d88094fbfd feat: show assigned function in actions.which_key (#1871) nvim-0.6 2022-04-22 15:52:22 +02:00
fdschmidt93
92019d5053 fix: extra finder loop on refresh w/ reset prompt (#1860) 2022-04-20 20:34:39 +02:00
Antoine Bertin
6e7ed1b963 feat: add default hl group for devicons (#1849) 2022-04-18 14:05:57 +02:00
rowario
32505ece72 feat: added trim option to make_entry.gen_from_quickfix (#1838) 2022-04-18 09:23:07 +02:00
Simon Hauser
831f76a809 docs: add module prefix (#1847) 2022-04-18 08:21:00 +02:00
Simon Hauser
66c3e2a351 fix: error if telescope is being opened from command-line window
This is impossible see `:help E11`
Close #1810
2022-04-17 16:32:47 +02:00
Simon Hauser
c8ef91a052 fix: displayer when tabs are used and ts is != 1 (#1845) 2022-04-17 15:59:46 +02:00
Simon Hauser
a5be929142 docs: document more actions and add introduction to actions (#1829) 2022-04-17 14:47:13 +02:00
wongxy
b7ae91c82b fix(builtin.colorscheme): also restore &background (#1835) 2022-04-10 15:24:47 +02:00
Simon Hauser
762d49f607 feat(lsp_references): include current line option
close: #1821
2022-04-09 13:17:57 +02:00
Joshua Cao
8af0d384d2 fix: save position into jumplist before 'edit' action (#1234)
currently enabled for some builtins. You can manually enable it by adding `push_cursor_on_edit = true` to the builtin options. But feel free to open a PR if you find a builtin that needs this option enabled.
2022-04-08 20:09:58 +02:00
Michael Benford
317371d37c feat: global configuration of results_title and prompt_title (#1817) 2022-04-08 18:17:54 +02:00
Simon Hauser
6e7ee38292 chore: reformat with stylua 0.13 2022-04-03 13:33:33 +02:00
Simon Hauser
d38ad438f3 fix: action replace/enhance if the replaced/enhanced action as combined (#1814) 2022-03-31 18:42:38 +02:00
Simon Hauser
b83d6d4711 fix (treesitter): kind column
fix #1811
2022-03-30 21:49:33 +02:00
Dhruv Manilawala
5a93a6f005 fix: typo for notify log level (#1813) 2022-03-30 21:43:32 +02:00
Dhruv Manilawala
4eedf1599e fix: add %s to notify message of git checkout action (#1812) 2022-03-30 17:12:46 +02:00
ibhagwan
cf2d6d3428 fix (tags|btags): escape all special characters (#1806) 2022-03-26 10:29:34 +01:00
Simon Hauser
40c1e88904 chore: fix lint errors from latest ci run 2022-03-26 10:25:47 +01:00
Mathijs Bakker
503db70a6a fix: typo in a LSP error message (#1805) 2022-03-24 20:59:41 +01:00
Waldson Patrício
1a72a92b64 feat: enable individual options for mappings (#890)
Co-authored-by: Simon Hauser <Simon-Hauser@outlook.de>
2022-03-20 21:34:07 +01:00
Jonathan Birk
6a43634f5f doc: help for select_{default,tab,vertical,horizontal} (#1801) 2022-03-20 20:08:54 +01:00
Suvansh Kumar
8c7ac1df9d docs: fix typo in defaults.history section (#1797) 2022-03-20 11:34:44 +01:00
Dylan Byars
70b3e38730 docs: fix typo in builtin.pickers section (#1792) 2022-03-20 11:31:41 +01:00
Luke Kershaw
f8a67765f5 fix: default layout_config to {} on cycle_layout actions (#1796) 2022-03-20 11:26:51 +01:00
Ole
a36a813d5d docs: fix path in developers file (#1789) 2022-03-14 10:54:48 +01:00
Simon Hauser
df303e12e0 hotfix: scrolling should work correctly again 2022-03-13 20:21:14 +01:00
Simon Hauser
2532b98d67 fix: selection strategy madness if its not set to reset (#1559)
* fix: selection strategy madness when its not row

* fix: selection_strategy row
2022-03-13 20:04:32 +01:00
Simon Hauser
9f0dd2e402 fix: action mt again (#1487)
actions should be concatinable again
2022-03-13 19:22:16 +01:00
tami5
ef7b6ada6d feat: improve UX with vim.notify (#1763)
* fix(notify): don't report request on new line

* ref(notify): update message format

* ref(msgs): always quote values + decrease duplication

* fix(ci): undefined variables

* ref(actions): temporary silent actions.__index errors

* cleanup

* revert: panic effort, we continue to use error for those

Co-authored-by: Simon Hauser <Simon-Hauser@outlook.de>
2022-03-13 18:11:27 +01:00
Simon Hauser
75b5730432 chore: delete unused functions (#1788)
* chore: delete unused functions

* chore: remove unused file

No one needs this WIP file as well. We already have all these pickers
implemented in a better way
2022-03-13 07:31:37 +01:00
Sean Mackesey
1e4d5e59df feat(diagnostics): additional filter options (#1610)
- root_dir. Useful to browse only project-scoped diagnostics.
- buflisted status. Useful to exclude diagnostics from unlisted buffers, which are created by language servers that analyze the entire project/workspace (e.g. sumneko-lua).
2022-03-12 16:49:06 +01:00
i3Cheese
6b3728876f fix(find_files): follow with unix find command (#1787) 2022-03-12 16:11:37 +01:00
Simon Hauser
2d0b4a3243 fix: disable signcolumn in telescope windows (#1781) 2022-03-11 15:34:39 +01:00
tami5
ddb9e56160 feat(lsp): ignore_symbols option (#1745)
Co-authored-by: Simon Hauser <Simon-Hauser@outlook.de>
2022-03-11 14:41:48 +01:00
Fabio Manganiello
c5bf83dc61 fix: allow Number type should be allowed for option keys (#1782)
* Number type should be allowed for option keys

Some extension (e.g. `dap`) use integer numbers for their selector
options instead of strings. Before this commit, the interface for these
plugins breaks when using `ui-select` with a stack trace like the
following:

Error detected while processing function StartDebugger:
line   33:
E5108: Error executing lua .../telescope.nvim/lua/telescope/pickers.lua:1359: Should be string, found: number
stack traceback:
        [C]: in function 'assert'
        .../.vim/bundle/telescope.nvim/lua/telescope/pickers.lua:1359: in function 'new'
        ...e-ui-select.nvim/lua/telescope/_extensions/ui-select.lua:22: in function 'pick_one'
        .../nvim-dap/lua/dap/ui.lua:32: in function 'pick_if_many'
        .../nvim-dap/lua/dap.lua:225: in function 'select_config_and_run'
        .../nvim-dap/lua/dap.lua:551: in function 'continue'
        [string ":lua"]:1: in main chunk

* style

Co-authored-by: Simon Hauser <Simon-Hauser@outlook.de>
2022-03-11 12:49:55 +01:00
tami5
1c4cd6cdaa feat(lsp_references): expose include_declaration option (default still true) (#1449) 2022-03-11 12:46:29 +01:00
Tom
d331433ed8 fix(grep): make filename parser non-greedy (#1785)
To protect against content variation including colon / number
combinations
2022-03-11 10:28:32 +01:00