Commit graph

180 commits

Author SHA1 Message Date
Gaetan Lepage
7801be57d6 plugins/alpha: fix example (for buttons) 2024-01-18 13:26:51 +01:00
Gaetan Lepage
ec00c47ddf plugins/alpha: fix example 2024-01-16 16:54:32 +01:00
Gaetan Lepage
e6f1af2767 plugins/marks: init 2024-01-16 16:54:22 +01:00
Gaetan Lepage
9e04eb3c3c plugins/alpha: refactor 2024-01-14 22:47:37 +01:00
Gaetan Lepage
c29a33d38a plugins/instant: switch to mkPlugin 2024-01-14 22:35:27 +01:00
Gaetan Lepage
9eea1486bc plugins/undotree: switch to mkPlugin 2024-01-14 22:35:27 +01:00
Peter Tonner
f85f26878f
misc: correct molten image provider options (#915)
* misc: correct molten image provider options

* fix: update formatting
2024-01-07 00:02:54 +01:00
Gaetan Lepage
a1f8b437b3 plugins/ollama: use new mkNullOrStr 2024-01-06 19:52:52 +01:00
Gaetan Lepage
bd6a6776dd plugins/obsidian: init 2024-01-06 19:52:52 +01:00
Gaetan Lepage
55745158c2 plugins/ollama: init 2024-01-06 16:45:17 +01:00
vincent.cui
1f1065df1e plugins/comment-nvim: add {pre,post}Hook options 2024-01-05 15:49:41 +01:00
traxys
8aa4b7e4ce
helpers: Add option helpers for types that are either a lua str or a value (#876)
Those types needed the following code in apply:

if builtins.isString value
then mkRaw value
else value

This commit avoids this boilerplate, and clarifies that the `str` is lua
code in the documentation.
2024-01-02 00:30:10 +01:00
traxys
8b8a1c0f4b
fix: Remove missed mentions of rawType (#875) 2024-01-02 00:26:41 +01:00
Gaetan Lepage
f88ff0a82e helpers: borderType -> nixvimTypes.border 2024-01-01 23:55:27 +01:00
traxys
af41ea2d80
helpers: move rawType to helpers.nixvimTypes (#871)
This is done in preparation of adding new (lua) types to help the
documentation.
2024-01-01 23:33:53 +01:00
traxys
abd1c4007a
helpers: Add mkLua,mkLuaFn (defaultNullOpts or not) (#866)
This makes it such that defaultNullOpts.mkStr never represents a lua
string, easing documenting where a string is a lua string vs lua code.
2024-01-01 20:28:55 +01:00
traxys
1d8e7906c9
plugins: Introduce helpers.defaultNullOpts.mkLuaFn (#855)
This allows to avoid calling `mkRaw` on lua functions, as they will get
applied automatically.

This could also help in the future to refactor the use of Lua code to
make it more user-friendly.
2023-12-29 15:24:42 +01:00
traxys
5d49b9b66d
plugin/illuminate: Avoid using mkAttrsOf with submodules (#853)
This confuses the documentation, as mentioned in the function
definition.
2023-12-29 11:52:05 +01:00
Gaetan Lepage
3b9fa101fb plugins/illuminate: fix filetypeOverrides option 2023-12-29 11:16:15 +01:00
Gaetan Lepage
61013ca4ab plugins/startup: init 2023-12-28 18:06:05 +01:00
Gaetan Lepage
dbcd314708 plugins: use LogLevel where possible 2023-12-22 14:48:15 +01:00
Gaetan Lepage
86508ced91 plugins/yanky: init 2023-12-22 14:47:12 +01:00
Kasper Seweryn
13f22b5083
plugins/wildmenu: Fix renderer (#812) 2023-12-13 21:27:53 +01:00
Gaetan Lepage
d8cffe2ead plugins: remove mkCompositeOptions from implementation 2023-12-13 10:39:28 +01:00
Phie Ash
7fbb9240de
plugins/which-key: add key group support for registrations (#802)
* plugins/which-key: add registration support for key groups

Modified the type of registration to support registration of key groups with "groupkey" = { name = "name";};.

* plugins/which-key: relax the restrition on the type of registrations and more tests have been added

* plugins/which-key: add more tests for groups within groups
2023-12-11 15:12:56 +01:00
Haseeb Majid
dc14748fe7 fix: typo in mini module example 2023-12-09 11:34:30 +01:00
Gaetan Lepage
ad5feeba7b plugins/project-nvim: add option descriptions and tests 2023-11-28 10:49:19 +01:00
Gaetan Lepage
19f39c3b1b plugins: swith to the new behaviour of mkRaw 2023-11-23 11:39:41 +01:00
Maximilian Ehlers
440c449c0a
plugin/magma-nvim: fix option (#712)
Adds missing letter in option validation. Description is okay
2023-11-17 17:58:24 +01:00
Gaetan Lepage
9b10a38b5c plugins/molten: init + test 2023-11-16 22:22:18 +01:00
Gaetan Lepage
b6724702b4 misc: refactor imports, prefer adding helpers to args rather than importing it 2023-11-06 16:33:39 +01:00
traxys
e45be89f12
plugins/todo-comments: Allow to pass keymap options (#599)
This re-uses the keymap options defined in the keymaps module to allow
to define the options of todo-comments key mappings.

Fixes #598
Co-authored-by: gaetan@glepage.com
2023-11-06 15:53:26 +01:00
NAHO
1e91231e86 fix(plugins/utils/spider): 'ge' mapping not working
Reference: 86236bfc57/README.md (L119-L124)
2023-11-04 23:27:47 +01:00
Zach Coyle
1aecd4c203 plugins/harpoon: fix busted keybind 2023-11-04 10:16:51 +01:00
Haseeb Majid
8fb5fc43fe
plugins/refactoring: init + test (#676) 2023-10-31 10:20:00 +01:00
Gaetan Lepage
2f06f921e0 plugins/indent-blankline: update options 2023-10-23 11:08:34 +02:00
Haseeb Majid
0094f82d35
plugins/harpoon: fix telescope integration (#656)
* fix harpoon

* fix telescope harpoon

* fix telescope harpoon

* Update plugins/utils/harpoon.nix

Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com>

---------

Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com>
2023-10-21 11:40:49 +02:00
Haseeb Majid
d560fc6183
plugins/harpoon: allow to enable the telescope extension (#624) 2023-10-18 18:20:03 +02:00
Haseeb Majid
0ece949f98
plugins/nix-develop: init + tests (#644) 2023-10-18 10:19:46 +02:00
traxys
0b87e5b70c
plugin/persistence: init + tests (#645) 2023-10-16 23:54:41 +02:00
Haseeb Majid
0de47ebf77
plugin/hmts: init + tests (#646) 2023-10-15 17:32:16 +02:00
traxys
0a31f39447
plugins/flash: init + tests (#625) 2023-10-15 17:31:03 +02:00
Haseeb Majid
bab56daddb
plugins/better-escape: init + tests (#626)
* adding better escape

* fixing formatting

* fixing tests

* fixing comments from pr

* fixing comments from pr

* Update tests/test-sources/plugins/utils/better-escape.nix

Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com>

* Update plugins/utils/better-escape.nix

Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com>

* Update plugins/utils/better-escape.nix

Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com>

* Update plugins/utils/better-escape.nix

Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com>

* Update plugins/utils/better-escape.nix

Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com>

* Update plugins/utils/better-escape.nix

Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com>

* fixing comments from pr

---------

Co-authored-by: Haseeb Majid <haseeb.majid@imaginecurve.com>
Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com>
2023-10-13 23:47:44 +02:00
Gaetan Lepage
752f0481ce plugins/wilder: update options and add missing ones 2023-10-11 12:53:19 +02:00
Gaetan Lepage
b483c752c2 plugins: wilder-nvim -> wilder 2023-10-11 12:53:19 +02:00
municorn
934bf7e2e3
fix(helpers): use "__unkeyed" prefix instead of "@" in toLuaObject (#632) 2023-10-09 15:50:21 +02:00
municorn
3fd743fe80 docs: fix grammar, spelling, and text for enable options 2023-10-09 15:04:57 +02:00
Gaetan Lepage
73f21c063d plugins/harpoon: fix keymaps + test 2023-10-04 14:46:23 +02:00
Gaetan Lepage
418bf5da17 modules/keymaps: factor out helper functions for use in plugins 2023-10-03 14:18:33 +02:00
Haseeb Majid
19680bbfa1
plugins/navbuddy: init + tests (#600)
Co-authored-by: Haseeb Majid <haseeb.majid@imaginecurve.com>
Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com>
2023-10-03 13:21:27 +02:00