Gaetan Lepage
34d56c712e
plugins/barbar: add keymaps.* options for missing actions
...
Co-authored-by: Ismaïl Senhaji <134528+iSma@users.noreply.github.com>
2024-06-03 00:25:46 +02:00
Gaetan Lepage
1c270521ad
plugins/barbar: switch to mkNeovimPlugin + update options
2024-06-03 00:25:46 +02:00
Gaetan Lepage
513b3c76e2
plugins/lsp/nil_ls: refactor options
2024-06-02 23:50:43 +02:00
Matt Sturgeon
f7e009d29e
lib/options: add mkEnum'
argument assertions
2024-06-02 03:18:11 +01:00
Matt Sturgeon
a2443ac0d6
lib/options: add more defaultNullOpts
'variants
...
All `defaultNullOpts` functions now have a prime variant.
2024-06-02 03:18:10 +01:00
Matt Sturgeon
d136c08f3a
plugins: normalise null
plugin-defaults
...
Replaced all instances of `"null"` with `null`, when passing
plugin-defaults to `defaultNullOpts` functions.
2024-06-02 03:18:10 +01:00
Gaetan Lepage
e58380adcd
plugins/lsp/ltex: refactoring of the settings options
2024-06-01 22:44:52 +02:00
Gaetan Lepage
9a9d6c69d8
plugins/copilot-chat: init
2024-06-01 21:11:29 +02:00
Gaetan Lepage
f4ce7dad0e
plugins/lsp/lua-ls: add tests
2024-06-01 19:06:02 +02:00
Gaetan Lepage
7c3ae8c718
plugins/lsp/lua-ls: refactor settings options
2024-06-01 19:06:02 +02:00
Gaetan Lepage
adf7bb1301
plugins/lsp/lua-ls: remove useless if/else for default package
2024-06-01 19:06:02 +02:00
Matt Sturgeon
df3aa86713
lib/keymap-helpers: refactor mkMapOptionSubmodule
...
Make the `key` and `action` options optional, and allow configuring
whether `action` can be a raw type.
2024-06-01 16:19:35 +01:00
Matt Sturgeon
87d6654a9f
lib/options: remove mkStr
assert
...
If a non-string is passed in, it'll be formatted here. This is okay
because `mkDesc` will not re-format anyway.
2024-06-01 15:08:14 +01:00
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 Senhaji
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