Commit Graph
1498 Commits
Author SHA1 Message Date
Matt Sturgeon 297aa6d0a2 lib/options: make mkPackageOption use mkNullOrOption' 2024-06-01 14:33:43 +01:00
Matt Sturgeon 1bb4cb9c6c lib/options: add mkAttrsOf' & mkListOf' (etc) 2024-06-01 14:33:43 +01:00
Matt Sturgeon e0b60bac8b lib/options: add mkNullableWithRaw' variant 2024-06-01 14:33:42 +01:00
Matt Sturgeon 84b2b0d90c lib/options: add mkNullable' variant 2024-06-01 14:33:42 +01:00
Matt Sturgeon ed56221499 lib/options: add mkNullOrStrLuaFnOr' variant 2024-06-01 14:33:42 +01:00
Matt Sturgeon 5bcb6184b0 lib/options: add mkNullOrStrLuaOr' variant 2024-06-01 14:33:41 +01:00
Matt Sturgeon 56ee982cb4 lib/options: add mkNullOrLuaFn' variant 2024-06-01 14:33:41 +01:00
Matt Sturgeon 207bfc6e69 lib/options: add mkNullOrLua' variant 2024-06-01 14:33:41 +01:00
Matt Sturgeon 3a151bbf09 lib/options: add mkNullOrStr' variant 2024-06-01 14:33:41 +01:00
Matt Sturgeon 9bf7724b98 lib/options: add mkCompositeOption' variant 2024-06-01 14:33:40 +01:00
Matt Sturgeon fc542329cd lib/options: add mkNullOrOption' variant 2024-06-01 14:33:40 +01:00
Matt Sturgeon 57003fea4e lib/options: inline mkDefaultDesc into mkDesc
And add function documentation.
2024-06-01 14:33:40 +01:00
Gaetan Lepage d15fade62b helpers/toLuaObject: fix rawKey handling 2024-05-31 23:31:11 +02:00
Gaetan Lepage 1bbd58b6b2 plugins/lsp: add ruby-lsp 2024-05-31 22:40:43 +02:00
Gaetan Lepage 0ba2ea5416 helpers: add rawKeysAttrs 2024-05-31 21:53:40 +02:00
Gaetan Lepage 03c5f5eb74 helpers/toLuaObject: add support for raw keys 2024-05-31 21:53:40 +02:00
Matt Sturgeon 29922e13f7 modules/keymaps: fix false-positive lua warning 2024-05-31 20:38:53 +01:00
Sizhe Zhao db32a4ebda flake-modules/wrappers: add default module 2024-06-01 00:01:27 +08:00
Gaetan Lepage fa43854e02 plugins/edgy: init 2024-05-31 11:43:19 +02:00
Gaetan Lepage c95b0a5d79 docs/user-guide/config-examples: add MikaelFangel's config 2024-05-31 10:44:53 +02:00
svl 4e7ff2b427 plugins/git/octo: init 2024-05-31 10:42:46 +02:00
Ismaïl SenhajiandMatt Sturgeon 6ff3493c9b modules/keymaps: doc: add backticks around noremap
Co-authored-by: Matt Sturgeon <matt@sturgeon.me.uk>
2024-05-30 22:27:24 +02:00
Ismaïl Senhaji 6d3d3bd0c2 modules/keymaps: doc: add backticks around special arguments 2024-05-30 22:27:24 +02:00
Gaetan Lepage 25338942a7 docs/user-guide: add configuration examples 2024-05-30 21:32:42 +02:00
Gaetan Lepage da9bd1f2e8 plugins/efmls-configs: add typstyle formatter 2024-05-30 16:56:47 +02:00
Ismaïl Senhaji bea8492e19 modules/keymaps: add "buffer" option to mapConfigOptions 2024-05-30 15:46:30 +02:00
github-actions[bot] 398cc8bfcf flake.lock: Update
Flake lock file updates:

• Updated input 'home-manager':
    'github:nix-community/home-manager/850cb322046ef1a268449cf1ceda5fd24d930b05' (2024-05-23)
  → 'github:nix-community/home-manager/29c69d9a466e41d46fd3a7a9d0591ef9c113c2ae' (2024-05-30)
• Updated input 'nix-darwin':
    'github:lnl7/nix-darwin/0bea8222f6e83247dd13b055d83e64bce02ee532' (2024-05-24)
  → 'github:lnl7/nix-darwin/c0d5b8c54d6828516c97f6be9f2d00c63a363df4' (2024-05-29)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/bfb7a882678e518398ce9a31a881538679f6f092' (2024-05-24)
  → 'github:NixOS/nixpkgs/9ca3f649614213b2aaf5f1e16ec06952fe4c2632' (2024-05-27)
2024-05-30 15:44:18 +02:00
Gaetan Lepage bcfef991f8 flake: add the nix-community binary cache 2024-05-30 15:43:48 +02:00
Matt Sturgeon 51240cef0e lib/options: defaultNullOpts delegate string rendering 2024-05-30 14:27:37 +01:00
Matt Sturgeon ff1ab1700c lib/options: mkEnum quote default if string
As there's only a handful of call-sites to fix, ensure all `mkEnum`
defaults are passed in as the correct type (tree wide) and change
`mkEnum` to now correctly render string-type defaults "quoted" (like
`mkString` does).
2024-05-30 14:27:37 +01:00
ben 993deb227e plugins/lsp-status: init 2024-05-30 14:23:23 +02:00
ben ea69144d60 maintainers: add b3nb5n 2024-05-30 14:23:23 +02:00
Gaetan Lepage 5c8f85dd27 plugins/debugprint: remove deprecated ignore_treesitter option 2024-05-30 14:10:06 +02:00
Nate Smith 2031a09b36 colorschemes/modus: init 2024-05-29 20:52:07 +01:00
Nate Smith 099f9f0f59 maintainers: add nwjsmith 2024-05-29 20:52:07 +01:00
Matt Sturgeon b113bc69ea lib/options: mkStr quote default string 2024-05-29 09:50:03 +01:00
Matt Sturgeon cedc1e4799 lib/options: use code-block for multiline defaults
Detect whether a plugin default is multiline using `hasInfix "\n"`.

Also remove `multiline=false` from the `toPretty` call.
2024-05-29 09:25:55 +01:00
Matt Sturgeon 9b340f8bab modules/keymaps: more verbose lua deprecation
Include the offending definition(s) in the warning.
2024-05-29 09:21:45 +01:00
Gaetan Lepage cf037458dd colorschemes/nightfox: add flavor option 2024-05-29 07:41:21 +02:00
Matt Sturgeon 56d39f54fe plugins/telescope: remove redundant keymapsSilent option 2024-05-28 20:40:45 +01:00
Matt Sturgeon bc0db2751c plugins/telescope: support non-builtin keymaps
Use the `:Telescope` command instead of relying directly on
`require("telescope.builtin")`.
2024-05-28 20:40:29 +01:00
Gaetan Lepage ef63d3477f colorschemes: set the colorscheme as mkDefault to allow for overriding 2024-05-28 21:30:43 +02:00
Matt Sturgeon daa6b0f5cf lib/options: defaultNullOpts support non-string defaults 2024-05-28 20:16:17 +01:00
Gaetan Lepage deafcf44de colorschemes/nightfox: init 2024-05-28 21:01:19 +02:00
Gaetan Lepage a2afa56344 plugins/git-conflict: init 2024-05-27 20:19:30 +02:00
Gaetan Lepage 4175fac0ea keymaps: remove remaining usages of deprecated lua option 2024-05-27 14:57:40 +02:00
Gaetan Lepage 0d745bdacf plugins/trim: init 2024-05-27 13:26:35 +02:00
Gaetan Lepage 1b892d0784 flake: rename pre-commit-hooks to git-hooks 2024-05-27 13:24:07 +02:00
Austin Horstman ba293d3640 plugins/lsp/language-servers/nil_ls: improve settings options 2024-05-26 23:33:17 +02:00
traxys 9697385115 actions: Update both stable & unstable flake.lock 2024-05-26 20:03:51 +02:00