Commit graph

31 commits

Author SHA1 Message Date
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
Ching Pei Yang
b39b84490f
Docs/map rewrite (#403)
* doc: fix formatting

* docs: update keymaps section
2024-10-06 14:03:21 +00:00
raf
ab9a7c1600
modules/wrapper: add vim.options (#386)
* wrapper/rc: add `vim.options`

Translates an attribute set of values into `vim.o` values in a key-value format.

* docs: document addition of optionsScript

* wrapper/rc: don't filter null values in {options,global}Script

* wrapper/rc: add examples to vim.options & vim.globals; wording
2024-09-28 21:28:17 +03:00
TheSunCat
b9dcbec29c
docs: fix typo in custom-plugins.md (#373) 2024-09-13 20:01:33 +03:00
diniamo
67abc51902
treewide: remove the theme section from the DAG order dependance (#369)
* treewide: remove the theme section from the DAG order dependance

* docs/dag-entries: correct theme entry note
2024-09-05 18:06:24 +00: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
Yoni Firroloni
1061c920be
docs: add quirk about using nodejs (#298)
* doc: add quircks about nodejs

* doc: make shorter sentences
2024-05-23 01:32:12 +00:00
9bbdb8d48a
docs/manual: add plugins page
This should be helpful for listing known plugin behaviour where the behaviour is undesirable, but also unfixable
2024-05-23 03:27:23 +03:00
e0790f2bdb
docs: remove remaining references to elixir & vim-tidal related pkgs 2024-05-06 23:43:35 +03:00
Ching Pei Yang
053ca39e10
docs: fix typo 2024-04-27 17:09:18 +02:00
40979a6d6a
docs: clean up remaining mentions of neovim-flake 2024-04-27 16:04:09 +03:00
227f80ac9d
docs: rename all instances of neovim-flake to nvf 2024-04-27 15:44:37 +03:00
Ching Pei Yang
3709b72382
fix: typo 2024-04-18 23:12:07 +02:00
93b6dbc422
docs: include DAGs section in configuring chapter 2024-04-18 22:04:01 +03:00
2d08f3ad39
docs: filter source by markdown 2024-04-18 21:07:19 +03:00
4beab0341f
docs: restructure documentation 2024-04-18 20:03:11 +03:00
534b837dab
docs: 0.6 release notes; update developer documentation 2024-04-14 15:36:23 +03:00
Ching Pei Yang
2be8db54d5 docs: developer docs on setupOpts 2024-04-06 20:33:31 +00:00
413eab8cfa
docs/manual: convert release notes to markdown 2024-01-03 02:13:41 +03:00
e360a1c16c
docs: refactor 2023-12-09 22:03:58 +03:00
f27ab70202
docs: update release notes & contributing guidelines 2023-11-06 11:24:33 +03:00
Yoni FIRROLONI
4161589b56 languages/php: init 2023-10-10 12:12:57 +02:00
0c848869cf
docs/manual: add more details to existing documentation pages 2023-10-03 22:06:26 +03:00
96c568f99b
docs: fix rebase errors 2023-10-01 18:36:56 +03:00
90d172ae9d
docs/hacking: add missing URL macro 2023-10-01 18:29:35 +03:00
1463d2444a
docs/hacking: add testing section 2023-10-01 18:29:30 +03:00
ff2102be96
docs/hacking: add contributing guidelines 2023-10-01 18:28:53 +03:00
Ching Pei Yang
cd778b6ddc doc: add custom LSP command doc to manual 2023-09-23 03:26:41 +02:00
c9509d5b09
docs: document custom package usage 2023-08-02 09:53:07 +03:00
4dfd36e157
docs: document extraPlugins usage and add missing documentation entries 2023-07-28 12:30:15 +03:00
NotAShelf
294b712c15
docs: clean up documentation directory 2023-06-06 03:01:44 +03:00