Steven Arcangeli
d886a1bb0b
feat: pass items to get_config for vim.ui.select
2022-07-31 08:12:18 -07:00
Steven Arcangeli
d98769dfc2
Merge pull request #51 from stevearc/stevearc-keymaps
...
config options for setting keymaps
2022-07-28 21:32:51 -07:00
Github Actions
34220dce61
[docgen] Update README.md
...
skip-checks: true
2022-07-29 04:27:24 +00:00
Steven Arcangeli
b1c08146ee
feat: expose mappings to user via config
2022-07-28 21:27:06 -07:00
Steven Arcangeli
4466fd9836
ci: don't run duplicate tests on pull requests
2022-07-28 08:03:31 -07:00
Steven Arcangeli
99a6c531b2
ci: only run tests on nvim 0.7 and up
2022-07-28 08:00:51 -07:00
Steven Arcangeli
47b95c1eab
refactor!: use newer APIs for setting keymaps and autocmds
...
BREAKING CHANGE: This drops support for Neovim versions earlier than
0.7. For earlier versions of Neovim, use the nvim-0.5 branch.
2022-07-28 07:54:40 -07:00
Steven Arcangeli
5915d56f89
doc: dropping support for Neovim < 0.7
2022-07-28 07:36:18 -07:00
Github Actions
e9d0de4470
[docgen] Update README.md
...
skip-checks: true
2022-07-21 05:49:20 +00:00
Steven Arcangeli
9795bd71c9
Merge pull request #49 from mbenford/start-in-normal-mode
...
Add start_in_insert option
2022-07-20 22:49:07 -07:00
Michael Benford
28cb494b61
feat(input): add start_in_insert option
...
Add a new option, start_in_insert, that defaults to true and controls
whether the input will start in insert or normal mode.
2022-07-20 17:26:40 -03:00
Steven Arcangeli
1e60c07ae9
format: apply new stylua formatting
2022-07-14 23:37:29 +00:00
Steven Arcangeli
fb4637995e
feat(input): support cancelreturn
2022-07-14 00:27:59 -07:00
Steven Arcangeli
af179837e1
doc: add a section to the README about highlight groups
2022-06-07 19:05:24 -07:00
Steven Arcangeli
d394a2591c
fix: bad nui parameter in last commit ( #45 )
2022-06-07 08:04:09 -07:00
Github Actions
55ce0400b2
[docgen] Update README.md
...
skip-checks: true
2022-06-05 02:11:05 +00:00
Steven Arcangeli
a59218e110
feat(select)(nui): add more configuration options
2022-06-04 19:10:47 -07:00
Steven Arcangeli
1706d00209
Merge pull request #44 from Weypare/original-select
...
fix(select): use original vim.ui.select if enabled is false
2022-06-01 08:29:56 -07:00
Andrey Avramenko
4bd4167a77
fix(select): use original vim.ui.select if enabled is false
2022-06-01 17:59:28 +03:00
Steven Arcangeli
9bb33efe9c
ci: run tests on neovim 0.7.0
2022-05-30 16:25:11 -07:00
Github Actions
89dd7a5a5d
[docgen] Update README.md
...
skip-checks: true
2022-05-30 23:25:05 +00:00
Steven Arcangeli
0087ad7f7d
Merge pull request #41 from axieax/trim-prompt-colon
...
feat: trim trailing colon from prompt
2022-05-30 16:24:55 -07:00
Andrew
59cd93b994
feat: trim trailing colon from prompt
2022-05-30 12:24:52 +10:00
Steven Arcangeli
b2406a0ea7
fix: telescope codeaction properly columnates and indexes client name ( #6 )
2022-05-29 18:48:25 -07:00
Steven Arcangeli
e3b31d45bc
feat: customize the code action UI for telescope ( #6 )
2022-05-26 22:09:34 -07:00
Steven Arcangeli
e607dd99ae
feat: enable telescope customization for vim.ui.select caller
2022-05-26 19:45:28 -07:00
Steven Arcangeli
55e4ceae81
Merge pull request #39 from lervag/patch-1
...
Use fzf#wrap to respect user option
2022-05-10 20:12:31 -07:00
Karl Yngve Lervåg
dec32938b8
Use fzf#wrap to respect user option
...
`fzf.vim` provides both `fzf#run` and `fzf#wrap`. The latter function is used to force `fzf#run` to respect user options defined in e.g. `g:fzf_layout`. I believe it is better to use this so that dressings fzf behaviour respects user options.
See `:help fzf#wrap` for more details.
2022-05-10 22:15:36 +02:00
Steven Arcangeli
a476efd3f3
fix(input): disable mini completion ( #38 )
2022-05-01 13:50:30 -07:00
Steven Arcangeli
f68a91a281
fix: stack overflow in telescope ( #36 )
2022-04-22 21:51:20 -07:00
Github Actions
cad08fac5e
[docgen] Update README.md
...
skip-checks: true
2022-03-31 15:40:47 +00:00
Steven Arcangeli
2f8a001ae5
fix(input): change the default_prompt to Input:
...
The unicode arrow makes sense when using the prompt buffer, but not so
much if the prompt is going to be a window title instead.
2022-03-31 08:24:47 -07:00
Steven Arcangeli
e14e35a9d4
fix!: drop specialized text highlight groups ( #30 )
...
Removing DressingInputText and DressingSelectText highlight groups that
were added for #8 . I added them before I learned about winhighlight, and
it turns out that winhighlight is the better way to do this. Previously
I was using `nvim_buf_add_highlight` to directly add the highlight
group, but that has multiple downsides (can't highlight bg of regions
with no text, overrides other relevate highlight groups e.g.
CursorLine). None of that is needed because Neovim will be setting the
highlight group of this text to NormalFloat, and if the user wants to
customize it we already expose an easy option in config to do
`winhighlight = "NormalFloat:MyCustomHighlightGroup"`.
2022-03-29 20:11:57 -07:00
Steven Arcangeli
31f12fff6e
feat: allow get_config to modify enabled ( #29 )
2022-03-23 18:46:21 -07:00
Steven Arcangeli
8c42b8f854
fix(input): set nowrap on window ( #28 )
2022-03-22 22:38:58 -07:00
Github Actions
65f73d57ce
[docgen] Update README.md
...
skip-checks: true
2022-03-23 05:10:45 +00:00
Steven Arcangeli
079e5d7df8
feat(input): option prompt_align ( #27 )
2022-03-22 22:10:16 -07:00
Steven Arcangeli
96552c9199
fix: hide deprecation notice when option not used ( #26 )
2022-03-17 10:01:53 -07:00
Steven Arcangeli
01afd7b01f
fix: apply filetype option after setting keymaps ( #25 )
2022-03-17 09:40:49 -07:00
Github Actions
e05b473205
[docgen] Update README.md
...
skip-checks: true
2022-03-17 04:04:55 +00:00
Steven Arcangeli
4542292854
refactor!: deprecate telescope 'theme' option
...
Pass the theme options in directly now. For example:
```lua
require('dressing').setup({
select = {
telescope = require('telescope.themes').get_ivy({})
}
})
```
2022-03-16 21:03:17 -07:00
Steven Arcangeli
c9e7f4f4cd
lint: fix lint errors
2022-03-16 20:48:49 -07:00
Steven Arcangeli
e7139cf971
ci: run actions on ubuntu 20.04
2022-03-16 20:46:12 -07:00
Steven Arcangeli
a566ab5dd1
Merge pull request #24 from tami5/feat/select/override_telescope_config
...
feat(select): override telescope config
2022-03-16 20:45:06 -07:00
tami5
4f36284caa
style: format
2022-03-14 21:50:14 +03:00
tami5
dbceda6303
fix: skipping config.theme when it's a table
2022-03-14 21:50:13 +03:00
Steven Arcangeli
6006de7279
github: add bug report and pull request template
2022-03-14 11:48:32 -07:00
tami5
d1063d4e47
Merge branch 'master' into feat/select/override_telescope_config
2022-03-14 04:39:23 +03:00
tami5
43f325b654
feat(select): override telescope config
...
Support passing extra telescope configurations as well as custom theme
function + backward compatibility for current state. So hopefully no
breaking changes.
2022-03-14 04:32:28 +03:00
Github Actions
b36b69c6a5
[docgen] Update README.md
...
skip-checks: true
2022-03-02 17:32:22 +00:00