File tree Expand file tree Collapse file tree 2 files changed +81
-0
lines changed
tests/test-sources/plugins/by-name/helpview Expand file tree Collapse file tree 2 files changed +81
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ lib ,
3+ ...
4+ } :
5+ let
6+ inherit ( lib . nixvim ) defaultNullOpts ;
7+ inherit ( lib ) types ;
8+ in
9+ lib . nixvim . neovim-plugin . mkNeovimPlugin {
10+ name = "helpview" ;
11+ originalName = "helpview.nvim" ;
12+ package = "helpview-nvim" ;
13+
14+ maintainers = [ lib . maintainers . khaneliman ] ;
15+
16+ description = ''
17+ Decorations for vimdoc/help files in Neovim
18+
19+ Supports a vast amount of rendering customization.
20+ Refer to the plugin's [documentation](https://github.com/OXY2DEV/helpview.nvim/wiki) for more details.
21+ '' ;
22+
23+ settingsOptions = {
24+ buf_ignore = defaultNullOpts . mkListOf types . str [ ] ''
25+ Buftypes to disable helpview-nvim.
26+ '' ;
27+
28+ mode =
29+ defaultNullOpts . mkListOf types . str
30+ [
31+ "n"
32+ "c"
33+ ]
34+ ''
35+ Modes where preview is enabled.
36+ '' ;
37+
38+ hybrid_modes = defaultNullOpts . mkListOf types . str null ''
39+ Modes where hybrid mode is enabled.
40+ '' ;
41+
42+ callback = {
43+ on_enable = defaultNullOpts . mkLuaFn null ''
44+ Action to perform when markview is enabled.
45+ '' ;
46+
47+ on_disable = defaultNullOpts . mkLuaFn null ''
48+ Action to perform when markview is disabled.
49+ '' ;
50+
51+ on_mode_change = defaultNullOpts . mkLuaFn null ''
52+ Action to perform when mode is changed, while the plugin is enabled.
53+ '' ;
54+ } ;
55+ } ;
56+ }
Original file line number Diff line number Diff line change 1+ {
2+ empty = {
3+ plugins . helpview . enable = true ;
4+ } ;
5+
6+ defaults = {
7+ plugins . helpview = {
8+ enable = true ;
9+
10+ settings = {
11+ buf_ignore = null ;
12+ mode = [
13+ "n"
14+ "c"
15+ ] ;
16+ hybrid_modes = null ;
17+ callback = {
18+ on_enable = null ;
19+ on_disable = null ;
20+ on_mode_change = null ;
21+ } ;
22+ } ;
23+ } ;
24+ } ;
25+ }
You can’t perform that action at this time.
0 commit comments