Commit graph

1388 commits

Author SHA1 Message Date
Ching Pei Yang
51035c5468
Merge 477f2fb8c7 into e40cce5653 2024-08-23 12:34:43 +00:00
Ching Pei Yang
477f2fb8c7 flake: update lzn-auto-require 2024-08-23 14:34:25 +02:00
Ching Pei Yang
7bace58ab4 lz.n: add missing PluginSpec options 2024-08-23 14:34:25 +02:00
Ching Pei Yang
ca86aaa3af add TODO 2024-08-23 14:34:25 +02:00
Ching Pei Yang
c991b2adea lib: allow luaInline in lz.n map action 2024-08-23 14:34:25 +02:00
Ching Pei Yang
6d42de8aba flake: update lzn-auto-require 2024-08-23 14:34:25 +02:00
Ching Pei Yang
39ebfbcd98 fixup! wrapper: use lzn-auto-require loader 2024-08-23 14:34:25 +02:00
Ching Pei Yang
0daad3e51a lib: add mkSetLuaBinding 2024-08-23 14:34:25 +02:00
Ching Pei Yang
7075872810 wrapper: use lzn-auto-require loader 2024-08-23 14:34:25 +02:00
Ching Pei Yang
4e13acfac3 flake: add plugin lzn-auto-require 2024-08-23 14:33:39 +02:00
Ching Pei Yang
3a88caeda6 lz.n: generate less code 2024-08-23 14:33:39 +02:00
Ching Pei Yang
4c230a0460 lz.n: wrap lua code in function 2024-08-23 14:33:39 +02:00
Ching Pei Yang
cfaa2e3e77 lib: add mkLznBinding 2024-08-23 14:33:39 +02:00
Ching Pei Yang
217079b546 nvim-tree: load nvim-tree if openOnSetup 2024-08-23 14:33:39 +02:00
Ching Pei Yang
6fe0103209 nvim-tree: move to lz.n keymaps 2024-08-23 14:33:39 +02:00
Ching Pei Yang
6d2d9cd60e lib: add mkLznBinding 2024-08-23 14:33:39 +02:00
Ching Pei Yang
b1cc8bb27b lib: change lz.n spec "inlineLua" types to str 2024-08-23 14:33:39 +02:00
Ching Pei Yang
90dd876c53 lz.n: missing type check 2024-08-23 14:33:39 +02:00
Ching Pei Yang
146fcf25e6 lib: add lznKeySpec example 2024-08-23 14:33:39 +02:00
Ching Pei Yang
5eadc2937d lz.n: process key maps 2024-08-23 14:33:39 +02:00
Ching Pei Yang
f683cd36e0 remove unused 2024-08-23 14:33:39 +02:00
Pei Yang Ching
bd6c228e5c lib: fix lz.n map type 2024-08-23 14:33:39 +02:00
Ching Pei Yang
d660aae9be lib: add lz.n KeySpec 2024-08-23 14:33:39 +02:00
Pei Yang Ching
4014ab0a01 nvim-tree: use lazy 2024-08-23 14:33:39 +02:00
Pei Yang Ching
659c4b5ca2 lazy: add setupOpts support 2024-08-23 14:33:39 +02:00
Pei Yang Ching
23c6f319cd fix: broken optPlugins 2024-08-23 14:33:39 +02:00
Pei Yang Ching
57828912bb switch to other hacky array-table syntax 2024-08-23 14:33:39 +02:00
Pei Yang Ching
56a3d45ac7 wrap lazy init code in function 2024-08-23 14:33:39 +02:00
Ching Pei Yang
5745fd8103 flake: update lz.n 2024-08-23 14:33:39 +02:00
Ching Pei Yang
5a045d2ea0 lib: add lznPluginTableType 2024-08-23 14:33:39 +02:00
Ching Pei Yang
7648cb8c7e lib: export lznPluginType 2024-08-23 14:33:39 +02:00
Ching Pei Yang
6e3292f2c4 lz.n: load lz.n 2024-08-23 14:33:39 +02:00
Ching Pei Yang
7abd0f8626 lz.n: add basic lazy.plugins option 2024-08-23 14:33:39 +02:00
Pei Yang Ching
3800a1c016 lib: add basic lz.n plugin spec type 2024-08-23 14:33:39 +02:00
Pei Yang Ching
6cd3363942 add lazy module skeleton 2024-08-23 14:33:39 +02:00
Pei Yang Ching
6d7d5ee190 flake: add lz.n plugin 2024-08-23 14:33:39 +02:00
Pei Yang Ching
b6c1a7145e maps: fix missing description 2024-08-23 14:33:39 +02:00
Ching Pei Yang
b2eae85e79 remove unused 2024-08-23 14:33:39 +02:00
Pei Yang Ching
feccaf477a cleanup unused import 2024-08-23 14:33:32 +02:00
Pei Yang Ching
aa040ab538 remove unneeded pipe 2024-08-23 14:33:16 +02:00
Pei Yang Ching
71727e5378 keymaps: update example 2024-08-23 14:26:32 +02:00
Pei Yang Ching
34b462a744 keymaps: use listOf mapOption instead 2024-08-23 14:17:24 +02:00
Pei Yang Ching
fd4ddbdd39 maps: fix bad mode names 2024-08-18 15:05:11 +02:00
Pei Yang Ching
b8c8dc2484 maps: allow same key on multiple mode 2024-08-18 14:43:38 +02:00
Ching Pei Yang
e40cce5653
fix: map descriptions (#358)
* remove unused

* maps: fix missing description
2024-08-17 13:08:47 +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
raf
3ca7e3b841
Merge branch 'main' into v0.7 2024-08-12 00:10:03 +00:00
Gerg-L
7d824d6711
modules: fix build (#353)
Some checks failed
Set up binary cache / cachix (default) (push) Waiting to run
Set up binary cache / cachix (maximal) (push) Waiting to run
Set up binary cache / cachix (nix) (push) Waiting to run
Validate flake & check formatting / Validate Flake (push) Waiting to run
Validate flake & check formatting / Formatting via Alejandra (push) Waiting to run
Validate flake & check documentation / Validate Flake Documentation (docs) (push) Has been cancelled
Validate flake & check documentation / Validate Flake Documentation (docs-html) (push) Has been cancelled
Validate flake & check documentation / Validate Flake Documentation (docs-json) (push) Has been cancelled
Validate flake & check documentation / Validate Flake Documentation (docs-manpages) (push) Has been cancelled
Build and deploy documentation / publish (push) Has been cancelled
* flake.lock: lock

* remove ussage of mapAttrsFlatten

* flake.lock: update mnw

* modules/default.nix makeNeovimConfig -> mnw

* modules/default.nix use buildVimPlugin (sad)

dont build when possible
2024-08-12 00:08:53 +00: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
de20ff2c51
style: improve modules/default.nix code, rename helper scripts (#351)
Co-authored-by: raf <raf@notashelf.dev>
2024-08-11 21:10:55 +00:00