From 944327329712eda9eec8a86a972e0abd7ea368e6 Mon Sep 17 00:00:00 2001 From: Etherbloom Date: Sun, 2 Feb 2025 15:02:26 +0100 Subject: [PATCH 01/33] languages/ts: register javascript with prettier formatter (#595) --- modules/plugins/languages/ts.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/plugins/languages/ts.nix b/modules/plugins/languages/ts.nix index 2530d352..50e6d91c 100644 --- a/modules/plugins/languages/ts.nix +++ b/modules/plugins/languages/ts.nix @@ -82,7 +82,7 @@ ls_sources, null_ls.builtins.formatting.prettier.with({ command = "${cfg.format.package}/bin/prettier", - filetypes = { "typescript" }, + filetypes = { "typescript", "javascript" }, }) ) ''; From 90abd270a68f8de59363ff8c63dcc7e7d561f92c Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Tue, 28 Jan 2025 16:17:02 +0300 Subject: [PATCH 02/33] meta: include hacking guidelines in PR template --- .../pull_request_template.md | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/.github/PULL_REQUEST_TEMPLATE/pull_request_template.md b/.github/PULL_REQUEST_TEMPLATE/pull_request_template.md index b2a26919..66fe9c0f 100644 --- a/.github/PULL_REQUEST_TEMPLATE/pull_request_template.md +++ b/.github/PULL_REQUEST_TEMPLATE/pull_request_template.md @@ -7,14 +7,17 @@ or dependency in this section. If your pull request aims to fix an open issue or a please bug, please also link the relevant issue below this line. You may attach an issue to your pull request with `Fixes #` outside this comment, and it will be closed when your pull request is merged. + +A developer package template is provided in flake/develop.nix. If working on a module, you may use +it to test your changes with minimal dependency changes. --> ## Sanity Checking --- From 7b886c98795147464ab69e55d0d19ce4653c773f Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Tue, 28 Jan 2025 16:17:52 +0300 Subject: [PATCH 03/33] docs/options: mention manpages for offline viewing --- docs/manual/options.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/manual/options.md b/docs/manual/options.md index 3b70484f..b386347d 100644 --- a/docs/manual/options.md +++ b/docs/manual/options.md @@ -4,6 +4,10 @@ Below are the module options provided by nvf, in no particular order. Most options will include useful comments, warnings or setup tips on how a module option is meant to be used as well as examples in complex cases. +An offline version of this page is bundled with nvf as a part of the manpages +which you can access with `man 5 nvf`. Please us know if you believe any of the +options below are missing useful examples. +