Senghan Bright
28abd7fb53
fix results count padding ( #348 )
2020-12-18 20:43:59 +01:00
Senghan Bright
68c5870345
Add more colour ( #346 )
...
* add colour to buffers finder
* new display function for LSP workspace/doc symbols
* add more hl_groups and opts paramter
* use make_display() for man_pages finder.
* use make_display for registers finder and add color
* don't use quickfix make_entry() for builtin finder
* make_entry() for builtin finder
* remove debug output
* revert change to internal.builtin finder
* fix_spacing
2020-12-18 15:41:55 +01:00
Simon Hauser
e5155a4aa3
Fix builtin.builtin again and add TelescopePreviewMatch hlgroup ( #342 )
2020-12-17 16:58:48 +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
e5233f39c5
Fix: Use plenary.filetype.detect and remove own filetype detect ( #326 )
...
requires newest plenary.nvim version or you will have a bad day
2020-12-17 09:27:11 +01:00
Anirudh Haritas Murali
b5ff9de13d
feat: add search_dirs opt to builtin.find_files to search from multiple dirs ( #237 )
2020-12-17 00:01:49 +03:00
Senghan Bright
205790285b
fix: don't error when no hidden buffers are available ( #341 )
2020-12-16 21:36:50 +01:00
eth3lbert
af8d990c2c
fix: typo ( #339 )
2020-12-15 09:26:05 +01:00
TJ DeVries
dfeebffd93
fix: Checks for next server on buffer
2020-12-14 11:41:16 -05:00
Senghan Bright
9a97982fc7
change quickfix make_entry to use column displayer ( #331 )
...
* change quickfix make_entry to use column displayer
* fix: don't convert filename to empty string
2020-12-13 17:25:25 +01:00
Christopher Laidler
7b5411ce54
Fix: typo ( #333 )
2020-12-13 11:49:14 +01:00
Simon Hauser
6e6fbbc49e
Fix: scroller for descending ( #327 )
2020-12-11 16:48:14 +01:00
TJ DeVries
f3609abd7f
refactor: Move scroller into own testable module
2020-12-10 23:31:28 -05:00
TJ DeVries
b74c4b3efd
Revert "fix: cycle scroll when num_results is small ( #316 )"
...
I didn't test this cause I'm noob. It's my fault not tami's
This reverts commit d9bf9181bc .
2020-12-10 23:01:41 -05:00
aca
d9bf9181bc
fix: cycle scroll when num_results is small ( #316 )
2020-12-10 22:52:30 -05:00
Alessandro Martini
62b8655f15
fix: fix non escaped bat theme ( #319 )
...
When a bat theme contained spaces it would crash the bat previewer as
described in #318 .
2020-12-10 22:46:39 -05:00
Simon Hauser
df6b762b31
Feat: symbols json picker ( #303 )
2020-12-10 09:22:46 +01:00
Simon Hauser
a12d38bac3
Fix: filetype guesser ( #321 )
2020-12-10 09:15:44 +01:00
TJ DeVries
2dd02f74b3
fix: Don't require ts at mod level
2020-12-09 23:14:21 -05:00
TJ DeVries
8ae1f7f94b
feat: make ci green
2020-12-09 15:56:27 -05:00
Simon Hauser
d67eb599fb
ci: Pipeline Tests ( #315 )
2020-12-09 15:48:55 -05: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
c276db06e2
Feat: Opt in vim buffers for previewers ( #298 )
...
Enable with:
require('telescope').setup {
defaults = {
file_previewer = previewers.vim_buffer_cat.new,
grep_previewer = previewers.vim_buffer_vimgrep.new,
qflist_previewer = previewers.vim_buffer_qflist.new,
}
}
2020-12-09 16:58:22 +01:00
TJ DeVries
d1c15dc265
feat: Force delete buffers
2020-12-07 14:24:21 -05:00
Julian Berman
863a0d42c9
fix: Set and unset report to what's needed when deleting buffers. ( #282 )
...
Fixes #105 .
2020-12-03 14:23:19 -05:00
Simon Hauser
2e5ee9d43e
Fix file_ingore_patterns for tags and lsp ( #309 )
...
closes #299
authored by: @Conni2461
2020-12-03 15:50:27 +03: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
Mike Hartington
424b98df15
fix: add back filetypedetect on edit ( #283 )
...
* add back filetypedetect on edit
* chore(): apply feedback
2020-12-03 00:37:07 -05:00
tamago324
f2b483edc5
Fix to pass opts to pickers ( #301 )
...
builtins were not passing `opts` correctly, but now do.
2020-12-02 23:54:09 -05:00
Senghan Bright
8546fdf610
new builtin - autocommands ( #302 )
...
* feat: new builtin - Autocommands finder
* fix: remove decorators to avoid confusion.
* make preview split same hl-group as border
* use highlight instead of marker character for preview selection hl
2020-12-02 00:27:54 +01:00
TJ DeVries
8d97b2dbdd
fix: abstract and remove param
2020-12-01 12:47:43 -05:00
tami5
f3caae5dda
fix: builtin runner insert issue ( #266 )
...
closes #262 , adds new parameter to action.close. Users know can have more control over the mode after action.close is called.
2020-12-01 14:03:14 +03:00
Simon Hauser
7dd79bf2ef
Fix builtin.builtin for lsp and git modules ( #300 )
2020-11-28 22:11:46 +01:00
Simon Hauser
7514137e2a
Remove less from default termopen_env ( #295 )
2020-11-28 13:33:19 +01:00
windwp
16f11b6c27
feat: add lsp range code actions ( #297 )
...
https://github.com/neovim/neovim/pull/12962
authored by: @windwp
2020-11-28 09:16:17 +03:00
Cedric M'Passi
6edbd1db5f
feat: Make tab toggle between git add and git restore in builtin.git_status() ( #289 )
...
Very useful functionality to use git_status for. Now users can add a file or restore it by <tab>
authored by: @cempassi
2020-11-27 14:15:02 +03:00
Simon Hauser
4a8ea7763e
Refactor builtin ( #287 )
2020-11-26 08:16:58 +01:00
Julian Berman
0f9fd84a97
fix: Use noremap when mapping. ( #286 )
...
Previously, if e.g. : was remapped, Telescope would be unclosable with
its mappings (<Esc>).
(Do the same for ensuring we :silent)
2020-11-24 15:29:46 -05:00
TJ DeVries
75311f2c04
feat: highlighter only
2020-11-23 12:30:09 -05:00
Simon Hauser
863328a96d
feat: Buffers rework (indicators and sorting) ( #208 )
2020-11-23 10:11:46 -05:00
TJ DeVries
2ac0582c06
feat: v0.1 of extensions ( #278 )
2020-11-23 09:29:10 -05:00
Senghan Bright
124655608f
Register finder ( #275 )
...
builtin: Registers finder. view and edit vim registers.
2020-11-23 11:07:53 +01:00
Simon Hauser
874139ee0b
Various previewer fixes ( #260 )
...
- Set env vars for previewer with set_env({ key = value } fix #228 )
- Set pager for git previewes (default is GIT_PAGER=less so users can scroll see #253 )
- Use less for people who don't have bat but less installed
- Reset less env to only '-RS' because '-X' will break scrolling(fix #253 , thanks @eth3lbert)
- Scrolling for buffer previewer(thanks @tami5 for helping)
- Also new function to create buffer previewers (which has scrolling by default). Used for tags and help_tags previewer.
- Add new setting set_env to readme
2020-11-22 10:57:31 +01:00
Simon Hauser
d153c006e7
feat: Add highlights builtin ( #267 )
2020-11-21 21:33:27 -05:00
Simon Hauser
929a30378c
Feat: Add filetypes builtin ( #263 )
2020-11-19 18:59:44 +01:00
YIQUN
319e8ed892
Fix: cwd detection of builtin.git_ ( #264 )
2020-11-19 09:03:08 +01:00
YIQUN
e16712f22e
Fix: set_opts_cwd function will only call git once ( #256 )
2020-11-17 11:35:06 +01:00
YIQUN
5863e49773
Fix: check if opts.cwd is a git directory, not opts ( #252 )
2020-11-17 08:21:58 +01:00
Simon Hauser
749c86557e
Update attach_mappings to use new actions api ( #249 )
2020-11-16 21:48:45 +01:00
Simon Hauser
57a7769845
Fix #250 ( #251 )
2020-11-16 15:43:31 -05:00