Commit graph

156 commits

Author SHA1 Message Date
diniamo
901363d1ac
treewide: refactor custom lib, merge lists in hm/nixos module (#323)
* treewide: refactor custom lib, merge lists in hm/nixos module

* lib/types(custom): clarify anythingConcatLists code

---------

Co-authored-by: raf <raf@notashelf.dev>
2024-07-11 22:49:44 +00:00
diniamo
82d67cbc66
lib/types: expose pluginType (#322) 2024-07-10 21:58:37 +02:00
Gerg-L
8d5f23035d
treewide: cleanup (#324)
* statix, deadnix, alejandra

* _file

* _module.args

* concatStringsSep "\n" -> concatLines
concatStringsSep "\n" map -> concatMapStringsSep "\n"

* mkShell nativeBuildInputs -> packages
2024-07-08 21:57:58 +00:00
Frothy
68ca227a87 lib: remove alias lib.warn 2024-05-21 07:08:17 -04:00
Frothy
ac20dfbdd4 lib: add deprecation warning for __empty 2024-05-21 06:51:56 -04:00
Ching Pei Yang
af72dc105d lib: remove unused __empty special case in toLuaObject 2024-05-18 14:52:40 +02:00
Ching Pei Yang
8aa3a23e97 lib: do not filter out empty attrs in toLuaObject 2024-05-12 03:17:04 +02:00
Ching Pei Yang
0c4f7a544d lib: fix crash on non-attrset arg 2024-04-27 16:09:27 +02:00
5fa1ee5c2f
Merge pull request #265 from NotAShelf/rename
treewide: rename **neovim-flake** to **nvf**
2024-04-27 13:04:59 +00:00
97a64abeff
treewide: clean up references to neovim-flake 2024-04-27 15:51:22 +03:00
79f0d87ad2
Merge pull request #264 from horriblename/no-str-to-luainline
Remove str to luaInline coercion
2024-04-27 11:32:46 +00:00
Ching Pei Yang
500652d75e types/luaInline: do not coerce strings into luaInline 2024-04-27 02:12:35 +02:00
b614dc6b41
lib/lists: init; add listContainsValue
Helps us validate lists that contain a bunch of values and see if it contains a desired list of values
2024-04-23 16:17:09 +03:00
4997865547
types/plugins: inherit example in pluginsOpt 2024-04-20 18:12:34 +03:00
f3817fb4b2
Merge pull request #254 from horriblename/fix-bad-import
Add rename warnings for nvimTree.setupOpts.*
2024-04-20 14:02:41 +00:00
82499551f3
Merge pull request #257 from horriblename/docs-setupOpts
docs: more detail in setupOpts + migration guide
2024-04-20 13:58:30 +00:00
NotAShelf
433525525d
types/plugins: align mkPluginSetupOption description 2024-04-20 13:48:15 +00:00
Ching Pei Yang
f5270d30a9 fixup! refactor: extract function to lib 2024-04-20 15:15:56 +02:00
Ching Pei Yang
b682148337 docs: format text 2024-04-20 15:09:24 +02:00
Ching Pei Yang
b38886d25d refactor: extract function to lib 2024-04-20 14:59:46 +02:00
Ching Pei Yang
21aa2096e6 docs: explain setupOpts 2024-04-20 02:24:02 +02:00
rycee
f8d564c595
lib: add functions to create DAGs from lists 2024-04-18 21:30:40 +03:00
d2d40362f4
lib/lua: move wrapLuaConfig to lib & structure arguments 2024-04-17 03:00:27 +03:00
cb362a7905
modules/core: move mkSection functions to lib/dag 2024-04-14 14:49:45 +03:00
6011ec2bab
lib: get rid of the redundant let in block 2024-04-14 14:20:15 +03:00
88cf62fbc8
modules: add prefix to plugin builder 2024-04-09 09:55:45 +03:00
859b03dfde
flake: autodiscover plugin inputs 2024-04-08 03:28:49 +03:00
51e28d415a
lib: move global functions to extended lib 2024-04-08 01:36:59 +03:00
a12ba5689a
lib: move all binding related functions to lib/binds 2024-04-07 18:31:06 +03:00
7c730a78e5
treewide: begin restructuring the module tree 2024-04-07 17:16:13 +03:00
Ching Pei Yang
2d9c1b34c6 cleanup: remove references to nvim-compe 2024-04-04 18:11:29 +00:00
Ching Pei Yang
77d3cd5e0c lib: switch to mkLuaInline 2024-04-04 18:03:29 +00:00
Ching Pei Yang
47acf325d6 dev: add custom type rawLua 2024-04-04 18:03:29 +00:00
db0df5c211
flake: update plugin inputs 2024-04-03 21:13:19 +03:00
Frothy
974bfcc78e treewide: make lib calls explicit 2024-03-23 20:31:33 -04:00
d3f6446541
lib: add pushDownDefault to binds 2024-03-12 03:48:53 +03:00
Frothy
a738083c2f Merge remote-tracking branch 'upstream/v0.6' into which-key-categories 2024-02-26 13:28:37 -05:00
Frothy
a32f13b636 lib: fix trying to call an attrset 2024-02-26 06:51:55 -05:00
7cb428520b
utility/images: add image.nvim 2024-02-26 11:46:13 +03:00
bf1118eb28
lib: start moving top-level binds to binds 2024-02-26 08:08:33 +03:00
460ba8c7b6
lib: deprecate unused nmd lib extension 2024-02-26 08:08:29 +03:00
54a6e28e18
flake: move home-manager module to flake-parts root 2024-02-26 07:18:12 +03:00
Frothy
4716fd731f treewide: rename function defaultAttributes to pushDownDefault 2024-02-25 22:52:21 -05:00
Frothy
f19a5dd3ed lib: add function defaultAttributes 2024-02-25 11:54:01 -05:00
Ching Pei Yang
a57e89dece
fix: throw error when converting unknown object to lua 2024-02-17 21:55:07 +01:00
Ching Pei Yang
40b985c066
fix: bug where toLuaObject converts null to "" 2024-02-17 16:44:41 +01:00
Ching Pei Yang
95566f10fb
fix: expToLua convert null to nil 2024-02-17 16:44:05 +01:00
Elijah M. Immer
14cbc0bcb7 Theme: add rose-pine
Simply added the rose-pine input and added it as a theme.
2024-02-13 13:00:34 -08:00
1bc9ec96c1
lib: drop deprecated booleans lib
somehow slipped checks because lazy eval
2024-02-13 22:32:27 +03:00
Donnerinoern
e8acabee78 Theme: Added Gruvbox 2024-01-18 11:41:26 +01:00