Commit graph

83 commits

Author SHA1 Message Date
Gerg-L
23e50a8eb7
fix: noBuildPlug naming 2025-05-17 12:41:46 -04:00
Gerg-L
9feb71594d
refactor: nuke legacyPackages and overlays
rework blink-cmp package
2025-05-04 23:20:32 -04:00
Gerg-L
c5b72f124f
chore: update mnw
Flake lock file updates:

• Updated input 'mnw':
    'github:Gerg-L/mnw/2a1678ba8e4807bd855dd0da94ea2bef5bca733d?narHash=sha256-X32sM3RQ3X2y6PzfNnX3rhUAlhuITdDOdfSrwZXjlsQ%3D' (2025-05-03)
  → 'github:Gerg-L/mnw/7b85a1922b0c5d78c03c4e53c82330715d1bf22b?narHash=sha256-g1XBeVvnM6P0QVxbjCEXyNl0aGd3YSf/hsVagUHB3qw%3D' (2025-05-03)
2025-05-04 02:10:06 -04:00
dda89a2d9c
wrapper/options: fix description for enableLuaLoader
Some checks are pending
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
Treewide Checks / Validate flake (push) Waiting to run
Treewide Checks / Check formatting (push) Waiting to run
Treewide Checks / Check source tree for typos (push) Waiting to run
Treewide Checks / Validate documentation builds (push) Waiting to run
Treewide Checks / Validate hyperlinks in documentation sources (push) Waiting to run
Treewide Checks / Validate Editorconfig conformance (push) Waiting to run
Build and deploy documentation / Check latest commit (push) Waiting to run
Build and deploy documentation / publish (push) Blocked by required conditions
2025-05-03 04:01:04 +03:00
Ching Pei Yang
db3a35a116 rc: do not set options via luaConfigPre 2025-04-18 00:33:46 +02:00
13b2f7a96d
wrapper/build: disable checks in flutter-tools-patched
Some checks are pending
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
Treewide Checks / Validate flake (push) Waiting to run
Treewide Checks / Check formatting (push) Waiting to run
Treewide Checks / Check source tree for typos (push) Waiting to run
Treewide Checks / Validate documentation builds (push) Waiting to run
Treewide Checks / Validate hyperlinks in documentation sources (push) Waiting to run
Treewide Checks / Validate Editorconfig conformance (push) Waiting to run
Build and deploy documentation / Check latest commit (push) Waiting to run
Build and deploy documentation / publish (push) Blocked by required conditions
2025-04-01 11:16:41 +03:00
Ching Pei Yang
e2d10e8fb2 lazy: create LazyFile user event 2025-03-23 11:09:51 +01:00
Ching Pei Yang
58021beb1c lazy: fix incomplete event type 2025-03-23 11:09:51 +01:00
Gerg-L
a297acc368
flake: update mnw (#723) 2025-03-18 09:51:20 +00:00
Ching Pei Yang
392f91ef99
lazy/lz.n: fix default un-lazy plugins 2025-02-25 12:48:05 +01:00
MaxMur
4aac51ec19
languages/flutter: Update pin name for match (#658) 2025-02-21 13:29:45 +00:00
Gerg-L
63c032cf87
flake: fix using blink-cmp package (#632) 2025-02-13 03:18:02 +00:00
8adc4c352a
treewide: Use nixpkgs fetchers for npins
plugins: switch from neodev to lazydev
2025-02-10 22:33:36 -05:00
Ching Pei Yang
8a069a6835
blink: move package into legacyPackage 2025-02-06 19:26:21 +08:00
Ching Pei Yang
2dde21e19c
flake: add and package blink.cmp 2025-02-06 19:26:11 +08:00
ab3a68fe1a
lib: remove toVimBool 2025-01-10 17:02:29 +03:00
3825793549
various: address diniamo's review comments 2025-01-10 17:02:20 +03:00
8448a6ca0f
wrapper/rc: change vim.options.mouse to a string type
As the mouse option in neovim allows combining those values.
2025-01-10 10:36:01 +03:00
raf
dab409685d
Merge branch 'main' into more-option-stuff 2025-01-10 10:08:34 +03:00
7dbe7a08b3
wrapper/build: disable failing require hook checks for flutter-tools 2025-01-08 21:13:09 +03:00
356f92053c
neovim/init: merge conditionals in options set
Some checks failed
Check for typos in the source tree / check-typos (push) Has been cancelled
2025-01-07 06:12:13 +03:00
raf
b704a28a12
Merge branch 'main' into more-option-stuff 2025-01-07 05:47:59 +03:00
5749739e4b
wrapper/rc: clean up option documentation
Some checks failed
Check for typos in the source tree / check-typos (push) Has been cancelled
2025-01-04 16:08:53 +03:00
diniamo
af0eed84e0 wrapper/build: improve noBuildPlug 2025-01-02 07:18:31 +01:00
Ching Pei Yang
26398b6b14 wrapper: add built package as option 2025-01-02 04:12:04 +03:00
Ching Pei Yang
f9d1684b5f wrapper: rename build dir to environemnt 2025-01-02 04:12:04 +03:00
diniamo
ed69816f68 wrapper/lazy: add beforeSetup option
Useful for avoiding a million require calls in setupOpts.
2024-12-20 10:43:36 +01:00
a0a57757a0
wrapper/rc: explicitly add tabstop & shiftwidth to vim.options
Some checks failed
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
Build and deploy documentation / Check latest commit (push) Has been cancelled
Check for typos in the source tree / check-typos (push) Has been cancelled
Build and deploy documentation / publish (push) Has been cancelled
Defaults are taken from Neovim's :help tags for those options to avoid intrusive/confusing behaviour.
2024-12-12 20:16:27 +03:00
66005a51c3
wrappr/rc: allow strings in vim.options.signcolumn
Some checks failed
Check for typos in the source tree / check-typos (push) Has been cancelled
2024-12-11 00:08:48 +03:00
07f50e84eb
modules/neovim: deprecate vim.showSignColumn
Prefer the type-safe `vim.options` equivalent.
2024-12-11 00:01:51 +03:00
0650aa31ac
modules/neovim: deprecate vim.enableEditorconfig option
Deprecate shorthand EditorConfig toggle, and encourage the more powerful `vim.globals` option.
2024-12-11 00:01:49 +03:00
c3a4686fa1
wrapper/rc: use mkOption in enableLuaLoader description
`mkEnableOption` seems to be clobbering the markdown syntax.
2024-12-10 23:35:57 +03:00
Ching Pei Yang
745da4539e
keymaps: fix null key problems 2024-12-05 00:09:40 +01:00
a6a06f4e72
modules/{neovim,wrapper}: move Vim options to vim.options defaults 2024-12-01 10:09:13 +03:00
864ee05f57
wrapper/rc: set vim.options and vim.globals to freeform submodules 2024-12-01 09:39:52 +03:00
Ching Pei Yang
ba14b3538e
wrapper: use freeform types for vim.globals 2024-11-30 23:36:51 +01:00
raf
29b7c415a9
Merge pull request #474 from diniamo/run-nvim
Some checks are pending
Check for typos in the source tree / check-typos (push) Waiting to run
runner/run-nvim: init
2024-11-30 12:31:24 +03:00
diniamo
71de14149d init/basic: deprecate vim.leaderKey
in favour of `vim.globals.mapleader` and `vim.globals.maplocalleader`

tmp

Co-authored-by: raf <raf@notashelf.dev>
2024-11-30 10:29:35 +01:00
raf
4fd0ac1750
Merge branch 'v0.7' into typos-and-friends
Some checks failed
Check for typos in the source tree / check-typos (push) Has been cancelled
2024-11-29 12:09:43 +03:00
Ching Pei Yang
fee1b46924
lazy: add assertions against common problems (#476)
* lazy: allow null package

* lazy: add assertions for common pitfalls

* lazy: pass plugin name to custom load function

* lazy: format description

Co-authored-by: raf <raf@notashelf.dev>

---------

Co-authored-by: raf <raf@notashelf.dev>
2024-11-29 00:16:17 +01:00
c2de643f19
treewide: find and fix typos 2024-11-26 10:36:39 +03:00
Ching Pei Yang
1d2d4cd088 lazy: wrap beforeAll in lua function 2024-11-22 22:37:05 +03:00
Ching Pei Yang
2df52f6ec4 lazy: remove unused imports 2024-11-15 09:40:06 +03:00
Ching Pei Yang
a79827f1f3 lazy: add key.mode example 2024-11-15 09:40:06 +03:00
Ching Pei Yang
22cfec78db lazy: re-order options for consistency 2024-11-15 09:40:06 +03:00
Ching Pei Yang
0b0bbfd348 lazy: add missing load() wrapper 2024-11-15 09:40:06 +03:00
Ching Pei Yang
2aad0fb838 lazy: remove defaults for keys 2024-11-15 09:40:06 +03:00
Ching Pei Yang
12b650fea7 lazy: remove redundant submodule 2024-11-11 01:50:11 +03:00
Ching Pei Yang
dfdad4c2ce
lazy: update lazy.plugins default 2024-11-08 19:03:01 +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