Commit Graph
193 Commits
Author SHA1 Message Date
Gaetan Lepage 3c174e874c helpers/vim-plugin/mkVimPlugin: refactor 2024-02-10 17:53:41 +01:00
Gaetan Lepage b3c9e566aa plugins/emmet: remove uselessly strict typing 2024-02-09 11:25:50 +01:00
Gaetan Lepage 2294a12b0b keymaps: use 'action.__raw' instead of 'lua = true' internally 2024-02-03 18:12:25 +01:00
Gaetan Lepage 90fbde275c plugins/autoclose: fixes 2024-02-03 13:12:46 +01:00
garaiza-93 7eefcfa5ee plugins/autoclose: init + tests (#994) 2024-02-03 12:33:10 +01:00
Gaetan Lepage e2c3459d1d lib/helpers: extraOptionsOptions -> neovim-plugin.extraOptionsOptions 2024-01-28 23:39:14 +01:00
Gaetan Lepage 889144c0b1 plugins/hmts: move source file and test from 'utils' to 'languages/treesitter' 2024-01-26 16:00:53 +01:00
Gabriel Arazas 6b0f03e4a1 plugins: clean up module descriptions
Only for the `enable` option though.
2024-01-26 15:43:47 +01:00
Gaetan Lepage a68ee73947 helpers/vim-plugin: mkPlugin -> mkVimPlugin 2024-01-25 15:19:26 +01:00
Gaetan Lepage 8f90372ee5 helpers: move mkPlugin and mkDefaultOpt to helpers.vim-plugin 2024-01-25 15:19:26 +01:00
Gaetan Lepage 85ee07abde plugins/rest: init 2024-01-24 16:02:07 +01:00
Gaetan Lepage 82b7d70dfd plugins/clipboard-image: init 2024-01-24 15:51:37 +01:00
Gaetan Lepage 90847146d6 plugins/yanky: fix wrong definition of setupOptions 2024-01-24 11:22:21 +01:00
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: https://github.com/chrisgrieser/nvim-spider/blob/86236bfc573ae45193bf0eb663be8a7184458281/README.md?plain=1#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 MajidandGaétan Lepage 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