Commit Graph
48 Commits
Author SHA1 Message Date
Gaetan Lepage bbbbfa2774 modules/autocmd: factor out autocmd-helpers 2023-11-14 23:23:30 +01:00
traxys 0b87e5b70c plugin/persistence: init + tests (#645) 2023-10-16 23:54:41 +02:00
Gaetan Lepage 69b3a13532 modules/keymaps: keymaps option should not accept str mappings 2023-10-16 11:08:28 +02:00
Gaetan Lepage 7f29aade86 modules/keymaps: remove possibility to add a keymap without an action 2023-10-16 11:08:28 +02:00
traxys 0a31f39447 plugins/flash: init + tests (#625) 2023-10-15 17:31:03 +02:00
municorn 934bf7e2e3 fix(helpers): use "__unkeyed" prefix instead of "@" in toLuaObject (#632) 2023-10-09 15:50:21 +02:00
Gaetan Lepage 418bf5da17 modules/keymaps: factor out helper functions for use in plugins 2023-10-03 14:18:33 +02:00
Gaetan Lepage 574fb73258 modules/keymaps: refactor + new syntax 2023-10-02 15:23:54 +02:00
Gaetan Lepage 11b22bab05 lib/option-warnings: deprecate useless option-warnings 2023-09-26 22:48:36 +02:00
traxys 4b3d019eee lib: Use mkOptionType for rawType (#556)
This allows the type to be rendered as `raw lua code` instead of
`submodule` in the documentation.
2023-08-28 13:32:08 +02:00
Gaetan Lepage ee2e15b58b helpers: add "__emptyString" special attr name 2023-08-28 09:50:49 +02:00
Gaetan Lepage d0cbfe92b3 helpers: add defaultNullOpts.mkPositiveInt and mkUnsignedInt 2023-08-25 15:34:55 +02:00
Gaetan Lepage 24350879b1 lib/helpers: remove useless ifNonNull 2023-08-23 11:12:50 +02:00
Gaetan Lepage 36a6ab4ba7 helpers: add highlightType and defaultNullOpts.mkHighlight 2023-08-10 15:27:29 +02:00
Antonín ŘíhaandGaétan Lepage 0d2a436255 plugins/chadtree: init + test (#475)
* plugins/chadtre: init + test

* Update tests/test-sources/plugins/filetrees/chadtree.nix

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

* Removed with helpers

* Update tests/test-sources/plugins/filetrees/chadtree.nix

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

* Update plugins/filetrees/chadtree.nix

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

* retrigger checks

* Update tests/test-sources/plugins/filetrees/chadtree.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-07-12 22:03:09 +02:00
Antonín Říha 27bb28f23e plugins/diffview: init + test (#457) 2023-07-06 09:01:07 +02:00
WolbyteandGaétan Lepage 01a45fd033 helpers.defaultNullOpts.mkBorder: Improve indentation & formatting
Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com>
2023-06-26 14:01:18 +02:00
Wolbyte 600cd12057 helpers.defaultNullOpts: add mkBorder 2023-06-26 14:01:18 +02:00
Tanish2002 efdcbe225f perform some statix linting and fixes 2023-05-22 23:00:53 +02:00
Alexander Nortung 3600698aba Added test for template and fixed check export for lib (#361) 2023-05-15 11:04:52 +02:00
Gaétan Lepage bd81037c5f modules/keymaps: fix bug in keymaps generation (#300) 2023-04-04 18:34:05 +02:00
Gaétan Lepage 35c56b62a1 helpers/lib: toLuaObject ignore empty attrs (#312) 2023-04-03 11:25:37 +02:00
Gaétan Lepage 58b6c74e2f helpers: add globalPrefix to mkPlugin (#284) 2023-03-24 08:18:45 +01:00
Gaétan Lepage db5061b4db tests/plugins: refactor (#235) 2023-03-22 07:42:02 +01:00
traxys ff063b27bd plugins/noice-nvim: init + tests (#272) 2023-03-18 20:27:31 +01:00
traxys bf042c5809 tests: Fix netman tests by including docker (#267)
Netman tries to call 'docker -v' and it hangs neovim if the docker
command is not found. This adds the docker binary to the derivation
running checks
2023-03-17 13:43:17 +01:00
traxys f5f33b5390 tests: Allow to skip running neovim (#260)
Some plugins don't really play nicely with being launched in a headless
sandboxed environment. This adds the pseudo option 'tests.dontRun' to
avoid running those tests
2023-03-16 09:13:43 +01:00
Gaétan Lepage c3821e9924 helpers/keymap: fix noremap bug (#257) 2023-03-15 00:37:49 +01:00
traxys b3ca52110f maps: Add the remap option (#256) 2023-03-14 23:44:14 +01:00
Gaétan Lepage 8b21fd5872 lib/helpers: fix typo in mkModeMaps (#238) 2023-03-11 00:25:51 +01:00
Gaétan Lepage 0bd07ee091 helpers: add mkMaps and mkModeMaps (#236) 2023-03-10 13:00:52 +01:00
Gaétan Lepage f0649334a4 lib/helpers: mkIfNonNull', ifNonNull' and ifNonNull (#230) 2023-03-10 12:06:32 +01:00
Gaétan Lepage 16db74996c helpers: typo (mkCompositeOptions -> mkCompositeOption) (#226) 2023-03-07 15:53:22 +00:00
Gaétan Lepage f3ec786baa helpers: add mkCompositeOptions (#223) 2023-03-06 23:45:38 +01:00
Alexander Nortung 2258eb8df8 misc: added flake template (#219)
* Added simple flake template

* Added readme to template

* Updated readme to show how to use the template

* Formatting

* removed unused file from template

* Fixed template url and pkgs

* Formatting
2023-03-03 09:18:52 +00:00
Pedro Alves 92867386c7 helpers: fix toLuaObject ignoring empty objects (#213) 2023-02-28 18:20:13 +00:00
Gaétan Lepage c9abc97ee5 lib/option-warnings: add mkRemovedOption (#209) 2023-02-28 14:26:01 +00:00
Gaétan Lepage a1b410192e lib/helpers: syntax change (#188) 2023-02-23 16:10:28 +00:00
Gaétan Lepage 67f5db9cfd modules/keymaps: fix bug in keymaps generation (#184) 2023-02-23 10:18:36 +01:00
Gaétan Lepage a15c0543a4 modules/keymaps: bind lua function calls (#178) 2023-02-22 23:01:27 +01:00
Gaétan Lepage 264de8cefb added formatter + reformat existing codebase (#175) 2023-02-20 10:42:13 +00:00
Pedro Alves 8d41514bbe docs: fix errors 2023-02-04 14:55:06 +00:00
traxys 247e3da2fe gitmessenger: init plugin (#154) 2023-02-01 16:14:22 +00:00
Gaétan Lepage c73bef16ab helpers: add mkPackageOption + refactoring (#144) (#150) 2023-01-25 18:46:49 +00:00
Pedro Alves 2d54272177 Revert "helpers: add mkPackageOption + refactoring (#144)" (#149)
This reverts commit b724085447.
2023-01-25 00:03:26 +00:00
Gaétan Lepage b724085447 helpers: add mkPackageOption + refactoring (#144) 2023-01-24 23:59:06 +00:00
traxys b9a5c9c2b5 gitsigns: use nullable options (#148)
* helpers: Correctly print bool values as true/false

* helpers: Add helpers to make nullable enums with default values

* gitsigns: Refactor to use nullable options
2023-01-24 23:55:51 +00:00
Alexander NortungandPedro Alves 63c256dc3d core: show warnings for deprecated or changed options (#129)
* moved helpers to lib folder

* Created proxy file for helpers.nix

* wrappers: removed code duplication

* null-ls: fix wrong name of variable

* added warnings module

* Added assertions

* bufferline: deprecated option

* nvim-tree: renamed options

* Fixed mkRenamedOption

* Bufferline: added new options

* Fixed deprecated option

Co-authored-by: Pedro Alves <pta2002@pta2002.com>
2023-01-24 01:28:01 +00:00