Ching Pei Yang
56dd5f3f11
lib/binds: update lzn bind functions
2024-11-11 01:23:07 +01:00
Ching Pei Yang
21fcace3ed
treewide: implement lazy loading via lz.n for selected plugins ( #407 )
...
* 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
diniamo
7dbd1cd8d1
treewide: rewrite autocompletion module and related stuff ( #404 )
...
* modules/completion: rewrite
* treewide: remove vsnip, add luasnip
* nvim-cmp: add default sorting
* nvim-cmp: load after luasnip
* lib: fix docs for mergelessListOf
* docs: add changelog entires for rewrite
* deprecations: add rewrite deprecations
* nvim-cmp: clarify in format description
* docs: fix option reference in release notes
* treewide: remove reduant `// {default = false;}`s
* luasnip: add missing `{option}` for option reference
* deprecations: add entry for vsnip
* nvim-autopairs: use multiline string
* nvim-dap: use outer attribute
2024-10-09 17:50:34 +00:00
ef413736e9
Merge branch 'main' into v0.7
2024-10-07 00:40:13 +00:00
Ching Pei Yang
e77632e4eb
lib: remove pointless type restriction ( #408 )
Set up binary cache / cachix (default) (push) Has been cancelled
Set up binary cache / cachix (maximal) (push) Has been cancelled
Set up binary cache / cachix (nix) (push) Has been cancelled
Validate flake & check formatting / Validate Flake (push) Has been cancelled
Validate flake & check formatting / Formatting via Alejandra (push) Has been cancelled
2024-10-06 23:19:39 +00:00
Charlie Root
bdf777dc8a
feature: add base16 support ( #389 )
...
* modules: add base16 Theming support
theme/theme.nix: fix formatting
supported-themes.nix: formatting
clean up base16-colors.nix
theme: fix plugin setup, change base16 flake input
* theme/theme.nix: fix formatting
* types/theme.nix: add check regex matching
types/theme.nix: fixed regex matching
* lib/types: rename custom.nix to types.nix, mov theme.nix into types.nix
* plugins/theme: apply requested changes
types/types.nix: remove unneeded inherit
theme/theme.nix: remove commented inherit
* theme/theme.nix: fix up base16 helper func
Co-authored-by: diniamo <55629891+diniamo@users.noreply.github.com>
* theme/theme.nix: move listToAttrs inheriting, fix base16-colors declaration
* theme/theme.nix: add documentation to vim.theme.name
* release-notes/rl-0.7.md: add changelog entry for base16
* theme/theme.nix: fix documentation rendering
---------
Co-authored-by: diniamo <55629891+diniamo@users.noreply.github.com>
2024-10-05 16:47:33 +03:00
Gerg-L
57be605ed4
lib.neovimConfiguration: deprecated extraModules and configuration ( #377 )
...
Set up binary cache / cachix (default) (push) Has been cancelled
Set up binary cache / cachix (maximal) (push) Has been cancelled
Set up binary cache / cachix (nix) (push) Has been cancelled
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
Validate flake & check formatting / Validate Flake (push) Has been cancelled
Validate flake & check formatting / Formatting via Alejandra (push) Has been cancelled
Build and deploy documentation / Check latest commit (push) Has been cancelled
Build and deploy documentation / publish (push) Has been cancelled
* lib.neovimConfiguration: deprecated extraModules and configuration
* docs: various fixes
2024-09-22 22:52:10 +03:00
Ching Pei Yang
b499151527
treewide: standardize border type ( #341 )
...
* ui: allow custom listOf str border type
* lib: extract shared borderType
* remove TODO
* allow ["|" "HighlightGroup"] for border char
* docs: update rl notes
---------
Co-authored-by: raf <raf@notashelf.dev>
2024-09-13 19:34:21 +03: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
7cb428520b
utility/images: add image.nvim
2024-02-26 11:46:13 +03:00
bf1118eb28
lib: start moving top-level binds to binds
2024-02-26 08:08:33 +03:00