Simon Hauser
79644ab677
chore: use stylua for formatting ( #1040 )
...
* chore: stylua job and config
* reformat with stylua
2021-07-23 11:42:37 -04:00
JINNOUCHI Yasushi
0c1bc129da
chore: use plenary.strings and remove strings functions from utils ( #690 )
...
Co-authored-by: Simon Hauser <Simon-Hauser@outlook.de >
2021-06-14 20:47:33 +02:00
TJ DeVries
0b2c801978
feat: buf highlights for current buffer fuzzy find ( #732 )
...
* feat: Add buffer highlights from treesitter
* fix: Handle not having tree sitter in some buffers
* fixup
* fixup
* fixup: move back to old node
2021-04-06 19:59:42 -04:00
elianiva
d37dc88eab
fix: proper multibytes chars alignment ( #560 )
...
I am 100% did not spoil anything, I swear
2021-02-26 20:17:47 +07:00
JINNOUCHI Yasushi
1ca1e7ccba
fix: Multi byte truncate for displayer ( #464 )
...
This is needed for calling strdisplaywidth() from Lua loop.
See https://github.com/nvim-telescope/telescope.nvim/issues/414
See a1ed941a78/src/nvim/eval/funcs.c (L9845-L9858)
Co-authored-by: Simon Hauser <Simon-Hauser@outlook.de >
2021-01-31 10:55:17 +01:00
Simon Hauser
2488e31df8
Feat: displayer hl_chars and TelescopeResults hlgroups ( #349 )
2020-12-19 21:13:05 +01:00
Simon Hauser
f078d149a1
Update autocmd, highlights and help_tags previewers ( #332 )
...
Also make vim buffer line configurable
2020-12-17 15:58:38 +01:00
Simon Hauser
141dc6d55e
ci: Add luacheck ci job ( #317 )
...
* Add luacheck ci job
* Fix most of the linting issues
* fixup: lint
Co-authored-by: TJ DeVries <devries.timothyj@gmail.com >
2020-12-09 15:46:41 -05:00
Simon Hauser
486ab56776
Feat: Displayer now supports highlights for separator and elements ( #304 )
...
Separator Example: When creating the displayer
```lua
local displayer = entry_display.create {
separator = " ",
separator_hl = 'Visual', -- New
items = {
{ width = opts.bufnr_width },
{ width = 4 },
{ remaining = true },
},
}
```
Elements Example: When submitting data
```lua
local hl_group = x == y then 'Normal' or 'Visual'
return displayer {
entry.bufnr,
{ entry.indicator, hl_group },
display_bufname .. ":" .. entry.lnum,
}
```
2020-12-03 08:41:10 +01:00
Simon Hauser
eaa7011f84
feat: Add tags ( #219 )
2020-11-16 15:17:13 -05:00
Senghan Bright
051aefdb8c
feat: v1 options menu ( #133 )
...
Still has a bunch of improvements that can be done, but wanted to merge in some of the related changes.
* options parser
* wip: vimoptions finder
* feat: pre-populate ex-command line with `:set foo=`
* use options current value when populating command line
* fix: use result.raw_value to store original option value
* .
* options: Continue work on option finder
* [WIP]: Tue 27 Oct 2020 10:34:09 PM EDT
* [WIP]: Mon 02 Nov 2020 08:20:13 PM EST
* [WIP]: Mon 02 Nov 2020 09:04:23 PM EST
Co-authored-by: TJ DeVries <devries.timothyj@gmail.com >
2020-11-02 21:05:10 -05:00