Commit graph

168 commits

Author SHA1 Message Date
Ching Pei Yang
7350769edf lib: add lznKeySpec example 2024-08-18 15:07:52 +02:00
Ching Pei Yang
d5b6923f5a remove unused 2024-08-18 15:07:52 +02:00
Pei Yang Ching
86bb6fffdf lib: fix lz.n map type 2024-08-18 15:07:52 +02:00
Ching Pei Yang
bf858feb11 lib: add lz.n KeySpec 2024-08-18 15:07:52 +02:00
Pei Yang Ching
140a2ed660 lazy: add setupOpts support 2024-08-18 15:07:52 +02:00
Ching Pei Yang
a0006ca486 lib: add lznPluginTableType 2024-08-18 15:07:52 +02:00
Ching Pei Yang
de82d9b2c8 lib: export lznPluginType 2024-08-18 15:07:52 +02:00
Pei Yang Ching
ccc871047c lib: add basic lz.n plugin spec type 2024-08-18 15:07:52 +02:00
Ching Pei Yang
2fc7dc798b
Re-add old maps API (#356)
* wrapper: fix wrong import source

* wrapper: fix typo

* Revert "lib/binds: improve code, adjust functions to new api"

This reverts commit 6cb57e1d26.

* mappings: re-add legacy vim.maps API

* mappings: fix wrong submodule syntax

* docs: fix missing section id
2024-08-13 00:27:05 +02:00
diniamo
b71bf75dcd
vim.maps rewrite (#352)
* feat: rewrite vim.maps

* modules/mappings: enable silent by default

* docs: add entry for vim.maps rewrite

* lib/binds: improve code, adjust functions to new api
2024-08-12 00:07:45 +00: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
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