Commit Graph

213 Commits

Author SHA1 Message Date
zbq
3c2e5fb23e feat: add configuration to fix encoding of output of find_command in find_files (#2232) 2022-11-28 22:41:37 +01:00
Xavier Young
4d77743a8e feat(builtin.keymaps): display noremap/buffer indicators and add lhs filter (#2246) 2022-11-27 20:04:07 +01:00
kkharji
5e16fbc8ea feat(picker): command history filter (#2132)
* feat(picker): command history filter

I've recently start using command history. For sometime was a bit annoyed of unrelevant commands
like edit/write and others (most likely only used once)

I've considered using lua patterns, however, logical `or` isn't a thing. Additionally, passing a list of lua patterns and checking each pattern for each command history entry felt tedious.

This PR introduce a new optional function to filter command history items.

For example, in my configurations

~~~lua
local command_history_ignore = vim.regex "edit\\|Move\\|write\\|Write\\|e\\s\\|lua\\sI("
overrides.command_history = minimal {
  prompt_prefix = "CMDHistory> ",
  filter_fn = function(item)
    if #item < 3 then
      return false
    else
      return not command_history_ignore:match_str(item)
    end
  end,
}
~~~

* [docgen] Update doc/telescope.txt
skip-checks: true

Co-authored-by: Github Actions <actions@github>
2022-11-23 17:26:29 +01:00
Gutyina Gergő
cc77713294 feat: add jump_type option for lsp_references (#2218) 2022-11-06 17:43:01 +01:00
ADoyle
d541e0d6e0 feat: the parameter "map" of attach_mappings can be list of modes to create mapping on multiple modes (#2220) 2022-11-06 17:42:29 +01:00
Gutyina Gergő
5c7db4055d feat: allow table as additional args in live grep and grep string (#2139) 2022-10-24 08:44:13 +02:00
Antoine Bertin
5fadc247c5 fix: selected icon highlight with color_devicons to false (#2187) 2022-10-08 09:10:26 +02:00
Sam Rosenthal
bd9e8a7eac docs: update for git_files and live_grep (#2133) 2022-09-04 21:55:54 +02:00
Ryan Koval
2b5060362b feat: added support for tabdrop (#2143) 2022-09-04 21:47:25 +02:00
Emiel Van Severen
e1206cb3e1 fix: typo in docs (#2100) 2022-08-13 11:11:00 +02:00
Nikita Kulakov
36d4571b05 docs: fix arguments in mappings table to refelct implementation (#2111) (#2125) 2022-08-13 11:05:02 +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
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
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
02cf3e4070 feat: grep_open_files for builtin.grep_string (#2039) 2022-07-06 08:26:22 +02:00
Simon Hauser
2b1da47deb chore: make to_fuzzy_refine configurable (#2034) 2022-07-03 21:39:24 +02:00
Tyler Wardhaugh
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
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
bf1a25dbfe feat: search_file option for builtin fd command (#2029) 2022-07-01 22:10:31 +02:00
julianf
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
d1f3e12a35 feat: add min max boundary to width, hight resolver (#2002) 2022-06-30 14:01:52 +02:00
Anton
bef86acb6c feat(rg): pass multiple globs to rg by default (#2003) 2022-06-30 14:01:51 +02:00
Manuel
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
ffcc2221d6 docs: clarify docs around search_dirs and map_entries 2022-06-30 14:01:51 +02:00
Simon Hauser
f6efef4c41 feat: find_command can be a function (#2000) 2022-06-30 14:01:51 +02:00
Yorick Peterse
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
6703c957e7 feat: add option use_default_opts to builtin.builtin (#1996) 2022-06-30 14:01:50 +02:00
Jeremy Neal
8488cd5ac7 feat: no-ignore-parent shorthand option for find_files. (#1963) 2022-06-30 14:01:50 +02:00
fdschmidt93
a1aec79cb1 feat: none strategy & control attachment (#1867) 2022-06-30 14:01:49 +02:00
Simon Hauser
edc6f55ba2 docs: document limitations of file_ignore_patterns and transform_path (#1955) 2022-06-30 14:01:49 +02:00
Ben Smith
440684edad break(git_files): change show_untracked default to false (#842) 2022-06-30 14:01:48 +02:00
Jose Veiga
e2a77a54a3 doc: use correct option name for 'only_sort_text' (#1995) 2022-06-12 13:03:12 +02:00
matt rice
7bc8efd77b docs: reflect behavior of diagnostics bufnr nil (#1879) 2022-05-18 20:10:45 +02:00
TJ DeVries
0b5f1d69d7 feat: Add ability to choose window to edit (#745) 2022-05-15 22:08:16 +02:00
fdschmidt93
795a63ed29 feat(docs): simplified architecture flow chart (#1925)
`:h telescope.nvim` now shows an overview of the telescope architecture
2022-05-09 11:43:22 +02:00
Michael Maves
85d95dfddd fix(builtin.tags): custom filename width (#1842) 2022-05-04 22:13:40 +02:00
kylo252
3f3cba430e feat(live_grep): add glob and type filter shorthand opts (#1695) 2022-05-04 21:57:29 +02:00
fdschmidt93
8d1841bff5 feat: quickfixhistory picker (#1878) 2022-05-04 21:50:15 +02:00
Simon Hauser
544c5ee407 fix: termopen previewer (#1901)
- buffer leaking
- still insert mode on confirm
2022-05-01 09:46:50 +02:00
Austin Ray
557c8b98c5 docs: add 'https://' prefix to smart history link (#1885) 2022-04-30 12:35:34 +02:00
milanglacier
8fe79f9d1d feat: support for builtin.commands to show buffer commands (#1889) 2022-04-30 12:27:16 +02:00
Simon Hauser
1b6909cfb3 docs(smart_path): add negative performance warning (#1899) 2022-04-30 12:10:41 +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
e7e90466de break: remove lsp code actions (#1866)
see :help telescope.changelog-1866 for more information
2022-04-25 22:52:00 +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
Antoine Bertin
6e7ed1b963 feat: add default hl group for devicons (#1849) 2022-04-18 14:05:57 +02:00