Commit graph

1383 commits

Author SHA1 Message Date
Ching Pei Yang
cac156bad9 add TODO 2024-08-23 14:26:44 +02:00
Ching Pei Yang
8011b8a675 lib: allow luaInline in lz.n map action 2024-08-23 14:26:44 +02:00
Ching Pei Yang
22f9ca1f6d flake: update lzn-auto-require 2024-08-23 14:26:44 +02:00
Ching Pei Yang
83432a1fb5 fixup! wrapper: use lzn-auto-require loader 2024-08-23 14:26:44 +02:00
Ching Pei Yang
5bf238006e lib: add mkSetLuaBinding 2024-08-23 14:26:44 +02:00
Ching Pei Yang
a5207983e1 wrapper: use lzn-auto-require loader 2024-08-23 14:26:44 +02:00
Ching Pei Yang
b6439bc889 flake: add plugin lzn-auto-require 2024-08-23 14:26:44 +02:00
Ching Pei Yang
0f77675e84 lz.n: generate less code 2024-08-23 14:26:44 +02:00
Ching Pei Yang
369d5a3169 lz.n: wrap lua code in function 2024-08-23 14:26:44 +02:00
Ching Pei Yang
3064acad93 lib: add mkLznBinding 2024-08-23 14:26:44 +02:00
Ching Pei Yang
2d696c99d6 nvim-tree: load nvim-tree if openOnSetup 2024-08-23 14:26:44 +02:00
Ching Pei Yang
14733b8890 nvim-tree: move to lz.n keymaps 2024-08-23 14:26:44 +02:00
Ching Pei Yang
f1676e6936 lib: add mkLznBinding 2024-08-23 14:26:44 +02:00
Ching Pei Yang
9825c65f6c lib: change lz.n spec "inlineLua" types to str 2024-08-23 14:26:44 +02:00
Ching Pei Yang
547f323ab6 lz.n: missing type check 2024-08-23 14:26:44 +02:00
Ching Pei Yang
3b6df3941d lib: add lznKeySpec example 2024-08-23 14:26:44 +02:00
Ching Pei Yang
1928851e7e lz.n: process key maps 2024-08-23 14:26:44 +02:00
Ching Pei Yang
05e18c6631 remove unused 2024-08-23 14:26:44 +02:00
Pei Yang Ching
aba0e3ec9c lib: fix lz.n map type 2024-08-23 14:26:44 +02:00
Ching Pei Yang
65f4fa41f1 lib: add lz.n KeySpec 2024-08-23 14:26:44 +02:00
Pei Yang Ching
3bf022d591 nvim-tree: use lazy 2024-08-23 14:26:44 +02:00
Pei Yang Ching
86e56965c8 lazy: add setupOpts support 2024-08-23 14:26:44 +02:00
Pei Yang Ching
5e7c92d298 fix: broken optPlugins 2024-08-23 14:26:44 +02:00
Pei Yang Ching
4402102657 switch to other hacky array-table syntax 2024-08-23 14:26:44 +02:00
Pei Yang Ching
2ff606a743 wrap lazy init code in function 2024-08-23 14:26:44 +02:00
Ching Pei Yang
6465ee7b41 flake: update lz.n 2024-08-23 14:26:44 +02:00
Ching Pei Yang
c70e9e5eb5 lib: add lznPluginTableType 2024-08-23 14:26:44 +02:00
Ching Pei Yang
67e9f8b8bc lib: export lznPluginType 2024-08-23 14:26:44 +02:00
Ching Pei Yang
cf8ef6afe7 lz.n: load lz.n 2024-08-23 14:26:44 +02:00
Ching Pei Yang
fade02f9c9 lz.n: add basic lazy.plugins option 2024-08-23 14:26:44 +02:00
Pei Yang Ching
e3e0bd0b9b lib: add basic lz.n plugin spec type 2024-08-23 14:26:44 +02:00
Pei Yang Ching
6c7cfca128 add lazy module skeleton 2024-08-23 14:26:44 +02:00
Pei Yang Ching
8f10767543 flake: add lz.n plugin 2024-08-23 14:26:44 +02:00
Pei Yang Ching
f37f90d824 maps: fix missing description 2024-08-23 14:26:44 +02:00
Ching Pei Yang
b268b5c082 remove unused 2024-08-23 14:26:44 +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)
* 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
poz
fd65c83956
plugins/new-file-template: init module (#350)
* plugins/new-file-template: init module

* docs: add release note entry about new-file-template.nvim

* docs: update jacekpoz's link

* plugins/new-file-template: remove _: in default.nix

* plugins/new-file-template: add example for disableSpecific

* plugins/new-file-template: add docs on how to add custom templates

* plugins/new-file-template: fix disableSpecific example

* plugins/new-file-template: improve documentation

* plugins/new-file-template: remove redundant example

* plugins/new-file-template: more compact docs

* plugins/new-file-template: more doc improvements

* plugins/new-file-template: fix formatting issue
2024-08-08 18:45:33 +00:00
773186d93d
flake: update nixpkgs & mnw 2024-07-29 21:06:50 +03:00
Ching Pei Yang
0984e84444
wrapper: fix additionalRuntimePaths lua script (#349) 2024-07-29 14:02:00 +00:00
Gerg-L
21f4e5b9ab
flake.lock: Update (#348)
Flake lock file updates:

• Updated input 'mnw':
    'github:Gerg-L/mnw/4ea225024677e7c3a96080af8624fd3aa5dfa1b6?narHash=sha256-PF/FbgCUZ6mQrKp28G2YoVDlSThBy8AxIT9d2Ju3kTY%3D' (2024-07-20)
  → 'github:Gerg-L/mnw/81e98e83d863d4fad506ed932d432570030cedd3?narHash=sha256-ejkSFN5qHf161CnFq73b2LZlnJzYidBwUEtdx5/hNiY%3D' (2024-07-26)
2024-07-27 04:03:44 +00:00
Gerg-L
589b86d378
fix buildPlug patches, update mnw (#343)
* bald frog (gerg-l)

* modules/default.nix: make patches work on built plugins

* flake.lock: Update

Flake lock file updates:

• Updated input 'mnw':
    'github:Gerg-L/mnw/302b18ddb8498aa9a7e0c01f7026e49d545e6898?narHash=sha256-4Z2FtCuL0lT%2BsM2gb1JMcXOUkeYrWeYZjjs1HuVTlOs%3D' (2024-07-14)
  → 'github:Gerg-L/mnw/4ea225024677e7c3a96080af8624fd3aa5dfa1b6?narHash=sha256-PF/FbgCUZ6mQrKp28G2YoVDlSThBy8AxIT9d2Ju3kTY%3D' (2024-07-20)

---------

Co-authored-by: raf <raf@notashelf.dev>
2024-07-21 15:37:45 +00:00