1
0
Fork 0
mirror of https://github.com/NotAShelf/neovim-flake.git synced 2024-12-25 19:19:48 +01:00
Commit graph

36 commits

Author SHA1 Message Date
diniamo
c4e75c4c1a wrapper: get meta from wrapped neovim package 2024-11-10 15:05:45 +03:00
0ba3ccdab8
modules: add config.vim to built package's passthru
Accessible under `<package>.passthru.neovimConfiguration`
2024-11-08 19:47:01 +03:00
Ching Pei Yang
21fcace3ed
treewide: implement lazy loading via lz.n for selected plugins ()
* flake: add lz.n and lzn-auto-require

* lazy: init module

* lzn-auto-require: add init lua code

* wrapper: fix opt plugin format

* lib.binds: add lz.n variant of bind functions

* telescope: lazy load

* nvim-tree: lazy load

* dapui: lazy load

* trouble: lazy load

* toggleterm: lazy load

* cheatsheet: lazy load

* diffview: lazy load

* icon-picker: lazy load

* leap: lazy load

* fidget: lazy load

* docs: add section on lazy plugins

* lazy: support lazy.enable=false

* comment-nvim: lazy load

* surround-nvim: lazy load

* neo-tree: lazy load

* fixup! lazy: init module

* dap: appease the nix gods (fix statix lint)

* flake.lock: fix merge mistake

* doc: update release note

* fixup! doc: update release note

* neo-tree: fix duplicate neo-tree install

* lazy: use attrsOf for lazy.plugins

* treewide: update lazy.plugins syntax

* docs: update lazy.plugins syntax

* lazy: cleanup

* Update docs/manual/hacking/additional-plugins.md

Co-authored-by: diniamo <55629891+diniamo@users.noreply.github.com>

* formatting nitpick

Co-authored-by: diniamo <55629891+diniamo@users.noreply.github.com>

* typo tee hee :3

Co-authored-by: diniamo <55629891+diniamo@users.noreply.github.com>

* typo tee hee :4

Co-authored-by: diniamo <55629891+diniamo@users.noreply.github.com>

* flake: update lz.n

* lazy: update lz.n plugin spec

* lazy: allow lines in place of str for lua code

* copilot: lazy load

* cmp: lazy load

this moves cmp itself to lazy.plugins but other plugins that call cmp
are not yet lazy so cmp is technically not yet lazy

* luasnip: lazy load

* flake: add rtp.nvim

* cmp: actually lazy load source

* fixup! cmp: actually lazy load source

* format

* docs: fix broken link

* cmp-nvim-lsp: lazy load

* lazy: allow key mode of str type

* cmp: install sourcess via cmp.sourcePlugins

* Update docs/manual/hacking/additional-plugins.md

Co-authored-by: diniamo <55629891+diniamo@users.noreply.github.com>

* lazy: refactor common var

* nvim-dap-ui: add setupOpts

* refactor: re-order plugin and lz.n configs

lazy: make lzn-auto-require togglable

* docs: update dag-entries

* trouble: remove redundant import

* lazy: remove unused module arg

* toggleterm: make lazygit keybind optional

* toggleterm: use toLuaObject for clarity

* surround: rework keymap config

* remove stale FIXME

* lsp: use cmp_nvim_lsp capabilities

* cmp: deduplicate attr key

* theme: ensure themes load before lazy plugins

* doc: update description of `theme` dag entry

* lsp: avoid loading cmp on startup

* doc: update configuration docs on custom plugins

* cmp: skip trigger_load if lazy disabled

* treesitter: remove redundant code

* lsp: mark hack as HACK

* comment: remove redundant plugin

* Squash merge v0.7 into feature/lzn

---------

Co-authored-by: raf <raf@notashelf.dev>
Co-authored-by: diniamo <55629891+diniamo@users.noreply.github.com>
2024-11-04 16:50:50 +01:00
Gerg-L
57be605ed4
lib.neovimConfiguration: deprecated extraModules and configuration ()
* lib.neovimConfiguration: deprecated extraModules and configuration

* docs: various fixes
2024-09-22 22:52:10 +03:00
Gerg-L
7d824d6711
modules: fix build ()
* 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
de20ff2c51
style: improve modules/default.nix code, rename helper scripts ()
Co-authored-by: raf <raf@notashelf.dev>
2024-08-11 21:10:55 +00:00
Gerg-L
589b86d378
fix buildPlug patches, update mnw ()
* 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
2b8d0af2e6
modules: add meta.mainProgram to symlinkJoined Neovim wrapper 2024-07-20 16:55:56 +03:00
raf
8b15271f63
modules: add helper scripts ()
* modules: add helpers to display init.lua and its store path

* docs: update 0.7 release notes

* modules: use writeDashBin for helpers
2024-07-20 13:01:40 +00:00
diniamo
f9789432f9
treewide: make the entire generated config lua based ()
* 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
Frothy
0f17147d52
modules: fix unused src and version attrs in buildPlug ()
* modules: fix unused src and version attrs in buildPlug

* docs: add entry for buildPlug fix
2024-07-16 08:00:50 +00:00
Gerg-L
1426c83ce6
gerg: switch to new repo ()
* gerg: switch to new repo

* modules/default: fix buildPlug
2024-07-14 03:47:21 +00:00
Gerg-L
ce0b361bca
flake.lock: update neovim-wrapper ()
* flake.lock: update neovim-wrapper

* modules/default: half size of plugins
2024-07-13 22:04:10 +00:00
raf
5fab82ba91
modules: switch to gerg's neovim-wrapper ()
* modules: switch to gerg's neovim-wrapper

* Use initViml instead of writeText ()

---------

Co-authored-by: diniamo <55629891+diniamo@users.noreply.github.com>
2024-07-13 15:05:21 +00:00
diniamo
901363d1ac
treewide: refactor custom lib, merge lists in hm/nixos module ()
* 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
Ching Pei Yang
8071bfdb72
Fix typos ()
* fix: typo

* docs: wrong link
2024-07-09 23:37:07 +00:00
1ce25d7ca3
modules: reorder args 2024-05-16 19:11:39 +03:00
50609c731e
wrapper/rc: document vim.globals better 2024-04-21 05:19:51 +03:00
2f4dcafaa3
modules: pass extraPackages to wrapper PATH 2024-04-21 03:21:48 +03:00
7647353c40
modules/wrapper: make all wrapper features configurable
following features have been made configurable `withRuby`, `withNodeJs`, `withPython3` and `python3Packages`
2024-04-21 02:23:07 +03:00
e982955540
modules: add documentation comments to internal variables 2024-04-20 23:42:48 +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
a12ba5689a
lib: move all binding related functions to lib/binds 2024-04-07 18:31:06 +03:00
Frothy
d29934b859 wrapper: migrate to makeNeovimUnstable wrapper 2024-02-29 15:15:47 -05:00
Frothy
35143b7dda wrapper: optionally wrap neovim with extra lua packages 2024-02-17 18:12:54 -05:00
Frothy
4dc7576176 treewide: change modules to use 'inherit (builtins) ... 2023-11-14 00:18:32 -07:00
c1f449137f
treewide: cleanup 2023-11-06 12:33:38 +03:00
jacekpoz
bfb8ada774
fix: stop using deprecated buildVimPluginFrom2Nix 2023-10-03 19:48:09 +02:00
fcaed357f4
feat: customizable neovim package 2023-08-01 17:28:06 +03:00
Ching Pei Yang
b4eaabea95 fix(flutter-tools): bug where dart lsp is not found 2023-06-26 12:31:51 +02:00
NotAShelf
bd61b1375a
feat: assert failing conditions 2023-06-04 09:39:17 +03:00
NotAShelf
222add8edb
dev: inherit hasAttr attrNames from builtins 2023-04-17 20:15:19 +03:00
Mihai Fufezan
c759ae02f5
simplify things 2023-02-10 19:39:31 +02:00
NotAShelf
7db1f6779c
refactor: move lib out of modules 2023-02-06 21:58:23 +03:00
NotAShelf
9c00808863
dev: rebase on a less personalized neovim flake 2023-02-01 22:11:37 +03:00