Commit graph

2491 commits

Author SHA1 Message Date
Austin Horstman
2ea7009e61
tests/none-ls: re-enable clojure 2024-09-26 11:09:59 -05:00
Austin Horstman
1e28932840
tests/lsp: re-enable ols 2024-09-26 11:05:48 -05:00
Austin Horstman
803bded988
tests/lsp: re-enable omnisharp 2024-09-26 11:05:48 -05:00
Austin Horstman
5e8f822af5
flake-modules/dev: treefmt re-enable taplo linux 2024-09-26 11:05:48 -05:00
Austin Horstman
3510cade90
tests/lint: re-enable clojure 2024-09-26 10:51:31 -05:00
Austin Horstman
59ae79ce79
tests/lsp: re-enable taplo 2024-09-26 10:50:11 -05:00
Austin Horstman
3f17f500b3
lib/maintainers: remove duplicate entry 2024-09-26 10:45:23 -05:00
Austin Horstman
ac14f62e22
tests/none-ls: re-enable prisma_format 2024-09-26 10:44:35 -05:00
Austin Horstman
07a65fbd3c
tests/lsp: re-enable prismals 2024-09-26 10:44:28 -05:00
github-actions[bot]
6e1f3a504d flake.lock: Update
Flake lock file updates:

• Updated input 'home-manager':
    'github:nix-community/home-manager/04213d1ce4221f5d9b40bcee30706ce9a91d148d' (2024-09-22)
  → 'github:nix-community/home-manager/c124568e1054a62c20fbe036155cc99237633327' (2024-09-26)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/9357f4f23713673f310988025d9dc261c20e70c6' (2024-09-21)
  → 'github:NixOS/nixpkgs/30439d93eb8b19861ccbe3e581abf97bdc91b093' (2024-09-23)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/ee41a466c2255a3abe6bc50fc6be927cdee57a9f' (2024-09-19)
  → 'github:numtide/treefmt-nix/1bff2ba6ec22bc90e9ad3f7e94cca0d37870afa3' (2024-09-25)
2024-09-26 15:36:50 +00:00
Matt Sturgeon
2ab8751b8b
modules/output: add build.initSource option
Allows access to the init "source" file even when
`performance.byteCompileLua` is enabled.
2024-09-26 06:31:57 +01:00
Matt Sturgeon
692e39311e
modules/{output,files,test}: move outputs to build scope
Move the following output options into `build`:
- finalPackage -> package
- printInitPackage
- initPath -> initFile
- filesPlugin -> extraFiles
- test.derivation -> test
2024-09-26 06:31:57 +01:00
Matt Sturgeon
7bda0f1ce4
modules/output: don't remove "site" dir when impureRtp is disabled
This is required for storing the state of several things, such as spell
files.
2024-09-25 18:43:32 +01:00
Matt Sturgeon
11924e1593
modules/output: add impureRtp option
Instead of assuming `wrapRc` implies we don't want impurities, configure
this separately.
2024-09-25 18:43:32 +01:00
Matt Sturgeon
fb7cda2868
modules/output: refactor wrapRc default
Set default to `true`, with a low priority. Home-manager's wrapper sets
its own default using `mkOptionDefault`.

Clarify using `defaultText`.
2024-09-25 18:43:10 +01:00
Matt Sturgeon
a8f678da24
wrappers: explicitly set _file for wrapper modules
This won't be detected automatically, since the modules are all returned
from function calls instead of being path references.
2024-09-25 16:22:25 +01:00
Matt Sturgeon
b3a90d737d
modules/files: don't set shorthandOnlyDefinesConfig 2024-09-24 19:17:44 +01:00
Matt Sturgeon
5b55858fe3
wrappers: use (evalModules {}).type for nixvim submodule 2024-09-24 19:17:44 +01:00
Matt Sturgeon
8f991cc8bc
wrappers/shared: only propagate files when nixvim is enabled 2024-09-24 14:59:41 +01:00
Matt Sturgeon
87509bac1f
wrappers: move assertion propagation to _shared.nix 2024-09-24 14:59:41 +01:00
Matt Sturgeon
6da94195c2
modules/misc: include assertions and meta modules in the repo
Based on the modules we previously imported from NixOS.

This will allow us to drop the `defaultPkgs` specialArg and avoids
needing the proposed `pkgsPath` specialArg.
2024-09-24 12:49:28 +01:00
Đỗ Quang Minh
901346e38b plugins/luasnip: fix extend_filetypes -> filetype_extend 2024-09-24 03:44:26 +00:00
Matt Sturgeon
e64c511811
tests/package-options: allow option defaults to throw
This is often an intended behaviour, so just assume any option whose
default throws is not a package-type option
2024-09-24 03:27:48 +01:00
Austin Horstman
a75c2235d9
plugins/rest: v3 migration 2024-09-23 20:58:02 -05:00
github-actions[bot]
78816c0c9c
flake.lock: Update
Flake lock file updates:

• Updated input 'home-manager':
    'github:nix-community/home-manager/14929f7089268481d86b83ed31ffd88713dcd415' (2024-09-21)
  → 'github:nix-community/home-manager/04213d1ce4221f5d9b40bcee30706ce9a91d148d' (2024-09-22)
• Updated input 'nix-darwin':
    'github:lnl7/nix-darwin/c03f85fa42d68d1056ca1740f3113b04f3addff2' (2024-09-19)
  → 'github:lnl7/nix-darwin/bd7d1e3912d40f799c5c0f7e5820ec950f1e0b3d' (2024-09-22)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/c04d5652cfa9742b1d519688f65d1bbccea9eb7e' (2024-09-19)
  → 'github:NixOS/nixpkgs/9357f4f23713673f310988025d9dc261c20e70c6' (2024-09-21)
• Updated input 'nuschtosSearch':
    'github:NuschtOS/search/7733a39a1321057172d87e6251ded7cdeb67171e' (2024-09-20)
  → 'github:NuschtOS/search/3b7dd61b365ca45380707453758a45f2e9977be3' (2024-09-22)
• Updated input 'nuschtosSearch/flake-utils':
    'github:numtide/flake-utils/b1d9ab70662946ef0850d488da1c9019f3a9752a' (2024-03-11)
  → 'github:numtide/flake-utils/c1dfcf08411b08f6b8615f7d8971a2bfa81d5e8a' (2024-09-17)
2024-09-23 20:21:53 -05:00
refaelsh
9bcba520c8
plugins/otter: remove cmp source registration
Co-authored-by: Matt Sturgeon <matt@sturgeon.me.uk>
2024-09-24 02:15:08 +01:00
Matt Sturgeon
47364df496
lib/types/pluginLuaConfig: use lib.optional instead of lib.mkIf
This may slightly increase performance by reducing work done by the
module system.
2024-09-23 20:08:52 +01:00
Austin Horstman
a9345dcfc3
plugins/markview: mode -> modes 2024-09-22 19:20:33 -05:00
Austin Horstman
b473bdc5ae
treewide: consolidate iconsPackage removal and warning 2024-09-22 13:54:31 -05:00
Austin Horstman
38a183564b
plugins/telescope: iconsPackage -> icons provider options 2024-09-22 13:49:43 -05:00
Austin Horstman
5ff98645ce
plugins/lspsaga: iconsPackage -> icons provider options 2024-09-22 13:48:03 -05:00
Austin Horstman
254b15d066
plugins/nvim-tree: iconsPackage -> icons provider options 2024-09-22 13:48:03 -05:00
Austin Horstman
e23bd5475c
plugins/neo-tree: iconsPackage -> icons provider options 2024-09-22 13:47:23 -05:00
Austin Horstman
2e281c43e0
plugins/trouble: iconsPackage -> icons provider options 2024-09-22 13:46:15 -05:00
Austin Horstman
b2929765ab
plugins/alpha: iconsPackage -> icons provider options 2024-09-22 13:45:14 -05:00
Austin Horstman
7a3423ae18
plugins/diffview: iconsPackage -> icons provider options 2024-09-22 13:45:14 -05:00
Austin Horstman
cf13d60cd6
plugins/fzf-lua: iconsPackage -> icons provider options 2024-09-22 13:44:12 -05:00
Austin Horstman
59a9652aee
plugins/bufferline: iconsPackage -> icons provider options 2024-09-22 13:44:12 -05:00
Austin Horstman
2cf80fd66f
plugins/barbar: iconsPackage -> icons provider options 2024-09-22 13:43:08 -05:00
Austin Horstman
23a903f13c
plugins/chadtree: iconsPackage -> icons provider options 2024-09-22 13:22:43 -05:00
Matt Sturgeon
81ae3febd2
lib: throw when deprecated builders are used on a lib without pkgs
Previously the deprecated builders would warn when used on a lib _with_
`pkgs`, but were simply not present on a lib _without_ `pkgs`.

Now, they are always present, but will throw when evaluated on a lib
_without_ `pkgs`.
2024-09-22 18:18:05 +01:00
Matt Sturgeon
1116ae6332
docs: use evalNixvim helper 2024-09-22 18:18:05 +01:00
Matt Sturgeon
191b0a9502
treewide: avoid passing pkgs to our lib
In the two places where our "helpers" lib is exclusively internal
(flake module args and building the docs), we no longer supply `pkgs`.

In the other 4 locations, we now note why we still do in a comment.
2024-09-22 18:18:05 +01:00
Matt Sturgeon
76df09619d
lib/types/pluginLuaConfig: only merge pre and post when defined
- Have them default to `null`
- Only merge them into `content` when non-null
- Mention this in `content`'s description
2024-09-22 17:49:41 +01:00
Quentin Boyer
d2f9e011d9 lib/neovim-plugin: Add lua configuration scoped to the plugin
This commit adds a `plugins.<name>.luaConfig` section controlling the
plugin specific configuration.

The section contains the internal `init` option, containing the plugin's
initialization code.

It also contains the public `pre` and `post` options, that allow to add
code before & after the `init` section

Finally, it contains the `final` option, being the concatenation of the
three previous options.
2024-09-22 16:15:27 +00:00
Austin Horstman
2bc6a94992
plugins/lsp/ts_ls: add pluginDefault filetypes 2024-09-21 15:33:31 -05:00
Austin Horstman
a8ab73432a
plugins/lsp/volar: add ts-ls integration 2024-09-21 15:32:58 -05:00
github-actions[bot]
384f97cf50 flake.lock: Update
Flake lock file updates:

• Updated input 'home-manager':
    'github:nix-community/home-manager/0b052dd8119005c6ba819db48bcc657e48f401b7' (2024-09-20)
  → 'github:nix-community/home-manager/14929f7089268481d86b83ed31ffd88713dcd415' (2024-09-21)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/395c52d142ec1df377acd67db6d4a22950b02a98' (2024-09-18)
  → 'github:NixOS/nixpkgs/c04d5652cfa9742b1d519688f65d1bbccea9eb7e' (2024-09-19)
2024-09-21 16:09:17 +00:00
Austin Horstman
2f09998b65
plugins/otter: add autoActivate 2024-09-20 19:56:35 -05:00
github-actions[bot]
3211ce356b flake.lock: Update
Flake lock file updates:

• Updated input 'git-hooks':
    'github:cachix/git-hooks.nix/7570de7b9b504cfe92025dd1be797bf546f66528' (2024-09-05)
  → 'github:cachix/git-hooks.nix/4e743a6920eab45e8ba0fbe49dc459f1423a4b74' (2024-09-19)
• Updated input 'home-manager':
    'github:nix-community/home-manager/e524c57b1fa55d6ca9d8354c6ce1e538d2a1f47f' (2024-09-14)
  → 'github:nix-community/home-manager/0b052dd8119005c6ba819db48bcc657e48f401b7' (2024-09-20)
• Updated input 'nix-darwin':
    'github:lnl7/nix-darwin/21fe31f26473c180390cfa81e3ea81aca0204c80' (2024-09-13)
  → 'github:lnl7/nix-darwin/c03f85fa42d68d1056ca1740f3113b04f3addff2' (2024-09-19)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/345c263f2f53a3710abe117f28a5cb86d0ba4059' (2024-09-13)
  → 'github:NixOS/nixpkgs/395c52d142ec1df377acd67db6d4a22950b02a98' (2024-09-18)
• Updated input 'nuschtosSearch':
    'github:NuschtOS/search/97d34b70deed4878fcb2449ac89dab717d72efa1' (2024-09-15)
  → 'github:NuschtOS/search/7733a39a1321057172d87e6251ded7cdeb67171e' (2024-09-20)
• Updated input 'treefmt-nix':
    'github:numtide/treefmt-nix/9fb342d14b69aefdf46187f6bb80a4a0d97007cd' (2024-09-02)
  → 'github:numtide/treefmt-nix/ee41a466c2255a3abe6bc50fc6be927cdee57a9f' (2024-09-19)
2024-09-20 15:37:08 +00:00