Commit graph

176 commits

Author SHA1 Message Date
Pei Yang Ching
cb191adaba lazy: move lz.n submodules out of lib 2024-08-25 00:28:47 +02:00
Pei Yang Ching
cb99286189 lib.binds: update lzn util functions 2024-08-24 15:03:34 +02:00
Pei Yang Ching
945b9e6500 lazy: use similar API to nvf keymaps 2024-08-24 15:03:34 +02:00
Ching Pei Yang
c992135d11 lz.n: add missing PluginSpec options 2024-08-24 15:03:34 +02:00
Ching Pei Yang
d64b4b827a add TODO 2024-08-24 15:03:34 +02:00
Ching Pei Yang
9c1c2056f2 lib: allow luaInline in lz.n map action 2024-08-24 15:03:34 +02:00
Ching Pei Yang
608f8e6536 lib: add mkSetLuaBinding 2024-08-24 15:03:34 +02:00
Ching Pei Yang
7c28651f51 lib: add mkLznBinding 2024-08-24 15:03:34 +02:00
Ching Pei Yang
eef3e773bc lib: add mkLznBinding 2024-08-24 15:00:56 +02:00
Ching Pei Yang
a46502b939 lib: change lz.n spec "inlineLua" types to str 2024-08-24 15:00:56 +02:00
Ching Pei Yang
1226269143 lib: add lznKeySpec example 2024-08-24 15:00:56 +02:00
Ching Pei Yang
0e3cc7f53c remove unused 2024-08-24 15:00:56 +02:00
Pei Yang Ching
024732e8b2 lib: fix lz.n map type 2024-08-24 15:00:56 +02:00
Ching Pei Yang
96244e0a2c lib: add lz.n KeySpec 2024-08-24 15:00:56 +02:00
Pei Yang Ching
f68472a78b lazy: add setupOpts support 2024-08-24 15:00:56 +02:00
Ching Pei Yang
bb49f63e71 lib: add lznPluginTableType 2024-08-24 15:00:56 +02:00
Ching Pei Yang
9817e31e10 lib: export lznPluginType 2024-08-24 15:00:56 +02:00
Pei Yang Ching
d70951305d lib: add basic lz.n plugin spec type 2024-08-24 15:00:56 +02:00
diniamo
f9789432f9
treewide: make the entire generated config lua based (#333)
* modules: switch to gerg's neovim-wrapper

* modules: use initViml instead of writing the file

* treewide: make the entire generated config lua based

* docs: remove mentions of configRC

* plugins/treesitter: remove vim.cmd hack

* treewide: move resolveDag to lib

* modules/wrapper(rc): fix typo

* treewide: migrate to pluginRC for correct DAG order

The "new" DAG order is as follows:
- (luaConfigPre)
- globalsScript
- basic
- theme
- pluginConfigs
- extraPluginConfigs
- mappings
- (luaConfigPost)

* plugins/theme: fix theme DAG place

* plugins/theme: fix fixed theme DAG place

* modules/wrapper(rc): add removed option module for configRC

* docs: add dag-entries chapter, add release note entry

* fix: formatting CI

* languages/nix: add missing `local`

* docs: fix page link

* docs: add mention of breaking changes at the start of the release notes

* plugins/neo-tree: convert to pluginRC

* modules/wrapper(rc): add back entryAnywhere

* modules/wrapper(rc): expose pluginRC

* apply raf patch

---------

Co-authored-by: NotAShelf <raf@notashelf.dev>
2024-07-20 08:30:48 +00:00
diniamo
32d231395f
plugins/visuals(indent-blankline): move to setupOpts (#329)
* plugins/visuals(indent-blankline): move to setupOpts

* configuration: match indentblankline part with changes
2024-07-12 15:47:33 +00:00
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