Charlie Root
a07e113f3a
theme/supported-themes.nix: fix themes
...
Make all themes work by adding `...` to every theme attrset.
2024-11-12 13:16:35 +03: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
3299facbaa
Merge branch 'main' into v0.7
2024-10-05 13:48:20 +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
diniamo
108cfd8383
themes/catppuccin: enable navic integration ( #395 )
2024-10-02 19:21:45 +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
Ching Pei Yang
473ebea4cf
theme: fix broken function signatures ( #364 )
2024-08-24 12:12:20 +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
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
diniamo
bb2a78272b
themes/catppuccin: set term colors
2024-06-25 19:19:58 +02:00
diniamo
d6cd853520
modules/theme: fix dag location
2024-06-16 13:46:20 +02:00
Frothy
08547724e4
modules/theme: use inherited optionalString
2024-05-25 20:37:51 +03:00
Frothy
fc4e471490
theme: add minimal transparency support for oxocarbon
2024-05-23 10:28:04 -04:00
5246cf50de
plugins/theme: enable ts-context support for Catppuccin
2024-04-25 01:52:19 +03:00
7c730a78e5
treewide: begin restructuring the module tree
2024-04-07 17:16:13 +03:00