Commit Graph
298 Commits
Author SHA1 Message Date
Senghan BrightandGitHub c01b7ad024 Merge pull request #246 from parmort/rework-help-preview
[RFC] Fix help_tags previewer
2020-11-16 18:02:32 +01:00
TJ DeVriesandGitHub 985856946e feat: Allow overriding actions from mappings (#248) 2020-11-16 10:58:30 -05:00
Nolan ProchnauandGitHub f9f83004b6 Delete more debug things 2020-11-16 10:37:08 -05:00
Senghan BrightandGitHub ad7280e0b9 fix: use vim.lsp.diagnostic instead of deprecated util function. (#244) 2020-11-15 15:54:16 -05:00
Nolan ProchnauandGitHub 50a87e502c Delete debug output 2020-11-15 14:33:22 -05:00
Nolan Prochnau 30aa3904ce Refactor to make logic less intense 2020-11-15 13:39:46 -05:00
Nolan Prochnau 8eecc9c9dc Manually search through tags
Probably slower, but the builtin `taglist()` only looks at the first
file in 'tags', not ideal for this application. This can probably be
cleaned up a little.
2020-11-15 13:26:30 -05:00
Nolan Prochnau 1495cbec5a Have plugin tags previewed
Still doesn't update for multiple files, but the first file in the
taglist is shown, so that's a start?
2020-11-15 10:54:33 -05:00
YIQUNandGitHub 0ccd69f5a9 fix lsp_code_action error when no code action available (#243)
the results variable can be nil when there's no code action available,

check for nil results before checking the length
2020-11-15 08:41:58 -05:00
tami5andGitHub 3c4a88efe4 Merge pull request #230 from parmort/rework-helptags
Rework helptags builtin, including helps tags from installed plugins
2020-11-15 09:53:03 +03:00
Carlos HernandezandGitHub 3c2dea3ea5 feat: Add built-in to search keymaps (#191)
* Add built-in to search keymaps

* Re-factor maps for cleaner codes

Rather than use function to return a results table for various key maps.
Assign results the key maps table itself. This makes for cleaner code.

* Keymaps: escape termcodes using built-in util

* Rename builtin.maps to builtin.keymaps
2020-11-14 14:38:21 -05:00
Anirudh Haritas MuraliandGitHub 24057365da Fix git files in non-git directories (#239)
0 is not a false value in Lua. Compare to 1 to check if it is a git
	directory. Fixed error syntax.
2020-11-13 15:20:52 -05:00
Simon HauserandGitHub 76e7fe8cb0 fix: Multiple Previewer fixes (#225)
Fixes previews for files beginning with ~/
Previewer will now show directories
Fix if clause with vim.fn.executable
2020-11-13 15:07:12 -05:00
TJ DeVries 9fad317d05 fix: #236 2020-11-13 14:56:57 -05:00
TJ DeVries 3e58e1ab7d fix: Update for org 2020-11-13 10:31:34 -05:00
Simon HauserandGitHub ba52c70a60 fix: selection_strategies row and follow (#218) 2020-11-13 10:20:09 -05:00
tami5andGitHub 64aae0abd8 feat: Add c-v, c-x, c-t to help_tags (#229) 2020-11-13 10:14:40 -05:00
Nolan ProchnauandGitHub 522c2faca1 Add documentation of the help_tags builtin 2020-11-10 09:33:51 -05:00
Nolan Prochnau 1678d7cb13 Rename and simplify make_entry function 2020-11-09 22:18:36 -05:00
Nolan Prochnau 6667fd36b1 Remove hardcoded tags 2020-11-09 22:06:37 -05:00
Nolan Prochnau 48820cb1a0 Grab helptags from all paths defined in rtp 2020-11-09 22:05:02 -05:00
Simon HauserandGitHub d8befe2437 Cat will no longer display binary files (#224) 2020-11-05 19:53:57 -05:00
RaphaelandGitHub 1f3110bf54 Feat: convert options if it is table type in lua (#220)
* support custom list type commands

* update  command usage
2020-11-03 08:04:55 -05:00
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
TJ DeVries 855d818a5d fix: #211 2020-11-02 17:07:32 -05:00
aba433c522 feat: Actions can now be summed up and center action (#204)
Closes: #182 

* Actions can now be summed up and center action

* fix: Make some complicated changes for metatable

* Update documentation

Co-authored-by: TJ DeVries <devries.timothyj@gmail.com>
2020-11-02 17:00:23 -05:00
RaphaelandGitHub 54ef9d90d5 rewrite command of telescope (#197)
* rewrite command of telescope

* add complete support

* add comment

* rewrite get builtin list

* Update README.md

* use vim.tbl_keys function

* rewrite complete-list
2020-11-01 11:08:54 -05:00
TJ DeVries 37c4f1b355 fix: Update documentation about setting custom maps for a picker 2020-10-30 18:36:34 -04:00
TJ DeVries a37e4699c4 feat: Closes #205 2020-10-30 18:31:06 -04:00
TJ DeVries 656f316aee nit: this is a temporary change 2020-10-30 18:01:27 -04:00
Simon HauserandGitHub 78cf7ebd7f Fix find_command for find_files when using find executable (#199)
Closes: #193
2020-10-28 03:55:49 -04:00
Spencer GilbertandGitHub 87d99bd4d7 feat: Get BAT_THEME var from environment (#200)
Closes: #196
2020-10-28 03:53:08 -04:00
TJ DeVries a3afb35614 feat: Added some docs & validation 2020-10-27 23:33:49 -04:00
TJ DeVries b76babb225 fix: attempt to fix problem for tami, hopefully no more error 2020-10-27 22:35:55 -04:00
Jan ŠiprandGitHub 631167bc55 Fix error message (#198) 2020-10-27 11:52:23 -04:00
TJ DeVries 113a516c63 feat: Add ability to turn off devicon colors 2020-10-25 08:19:09 -04:00
TJ DeVries 477261e5c0 feat: Improve filtering ideas for sorters. 2020-10-25 08:09:07 -04:00
Simon ZengandGitHub 59ef37ded4 Add telescopes provider (#168)
Amendment: replace the old `builtin`
2020-10-24 23:00:22 -04:00
TJ DeVries 5aa20f1f54 feat: turn on matching colors by default, since people do not know about it 2020-10-24 22:59:01 -04:00
TJ DeVries a8e7807086 feat: Use colors from nvim-devicons 2020-10-24 22:55:45 -04:00
7eda4e80f9 feat: Add a sorter using the fzy algorithm (#184)
* Add a sorter using the fzy algorithm

* Reformat fzy.lua

Also, update author attribution.

* Remove constansts from fzy module

Replace a few of the useful ones with getter functions that make it
clear they're not modifiable.

* Change names of fzy constant getters

* fixup: some small nit picks

Co-authored-by: TJ DeVries <devries.timothyj@gmail.com>
2020-10-20 20:14:07 -04:00
TJ DeVries 14f834b754 fix: trim spaces from prompt string 2020-10-20 19:57:59 -04:00
Bastien RivièreandGitHub b98509b4ad fix: use results_height and results_width from config (#171) 2020-10-19 22:54:35 -04:00
TJ DeVries f95fe484f7 feat: Add ability to configure default sorters 2020-10-19 22:46:36 -04:00
Malcolm RamsayandGitHub 4cfab37541 Ensure git_files uses the git root directory as cwd (#180)
* fix: Ensure git_files uses the git root directory as cwd

This sets the cwd option of the git_files builtin to use the root of the
git directory when the cwd option doesn't already exist. When git lists
files, it is relative to the root of the git directory, rather than the
current working directory. This caused problems when using git_files in
a subdirectory of the git root (see #174).

This commit fixes the issue by always setting the cwd as the root of the
git directory.

* ref: Use neovim's system caller for command

This removes the need for an additional lua function to extract the shell
response, making use of inbuilt vim functionality.
2020-10-19 14:06:51 -04:00
Dave LageandGitHub 3cd163c9d0 docs: Remove coming soon language. 2020-10-19 11:12:04 -04:00
Dave LageandGitHub b01ad81b9c docs: Remove Optional from Table of Contents 2020-10-18 14:36:38 -04:00
Dave LageandGitHub ad172e0c03 docs: Add Table of Contents 2020-10-18 14:35:15 -04:00
Alvaro MuñozandGitHub d493a76058 refactor: prompt->prompt_title (#169)
* refactor: prompt->prompt_title ; prompt_prefix->prompt_text

* undo prompt_prefix rename

* undo prompt_prefix rename
2020-10-17 17:26:14 -04:00
TJ DeVries 5a7a3147a4 fix: Use entry maker for marks 2020-10-15 22:30:08 -04:00