Skip to content
Merged

V0.8 #1018

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
236 commits
Select commit Hold shift + click to select a range
852c378
new options perhaps?
May 15, 2025
bc93d67
Initialize changes for nix
May 20, 2025
1a1569e
Merge branch 'main' of https://github.com/NotAShelf/nvf into language…
May 20, 2025
7ae81ca
simplify and remove unnecessary stuff
May 22, 2025
96f3524
add markdown as well
May 22, 2025
59f89ff
enable lua function calls in cmd definition
May 30, 2025
b00b999
entryAnywhere for lspconfig
May 30, 2025
e08fd4d
do not auto enable lspconfig with lang module
May 30, 2025
385793a
specify lsp configuration in lang module
May 30, 2025
4ca117e
cleanup
Jun 1, 2025
8028b99
Merge branch 'main' of https://github.com/NotAShelf/nvf into language…
Jun 1, 2025
21894cf
cleanup markdown
Jun 2, 2025
8c8d250
move asm to new module type
Jun 2, 2025
0bf6912
asm module overhaul
Jun 2, 2025
72d129f
astro module overhaul
Jun 2, 2025
77ab115
cleanup nix moduke
Jun 2, 2025
52136af
convert bash module
Jun 2, 2025
1381962
convert clojure module
Jun 2, 2025
9021e4d
update cmd spec
Jun 5, 2025
91d78e9
fix bash imports
Jun 5, 2025
aa35ef0
fix clojure imports
Jun 5, 2025
e970eac
convert dart module
Jun 5, 2025
161235d
convert elixir module
Jun 5, 2025
ac54848
convert gleam module
Jun 5, 2025
39efdc7
convert haskell module
Jun 6, 2025
c4bf1b6
convert hcl module
Jun 6, 2025
a45cd32
nvim util
Jun 15, 2025
acf3cca
use new util
Jun 15, 2025
41d7953
convert hcl module
Jun 15, 2025
171d960
add helm and yaml
Jun 15, 2025
e24383e
update haskell-tools
Jun 16, 2025
5436cbf
update astro
Jun 16, 2025
abec738
hacky but working haskell
Jun 16, 2025
c157e71
update todo comment
Jun 26, 2025
0df2afa
implement java module
Jun 26, 2025
64c750d
clean java inherits
Jun 26, 2025
e47f268
convert julia module
Jun 26, 2025
a2f1efd
convert kotlin module
Jun 27, 2025
0894b13
clean kotlin
Jul 1, 2025
7afe867
convert lua module
Jul 1, 2025
1f3b417
convert lua module
Jul 1, 2025
16c7c28
convert nim module
Jul 1, 2025
c743bca
convert lua module
Jul 1, 2025
3210c00
format gleam module
Jul 8, 2025
a0f396a
convert ocaml module
Jul 8, 2025
39da9a8
Merge branch 'main' of https://github.com/NotAShelf/nvf into language…
Jul 8, 2025
2083f7d
format and post merge fixes
Jul 8, 2025
e95f57a
convert odin module
Jul 8, 2025
36146ca
convert php module
Jul 8, 2025
cbd8b66
convert python module
Jul 9, 2025
11bb598
convert r module
Jul 9, 2025
d0e8de0
convert ruby module
Jul 11, 2025
7e4a58b
convert sql module
Jul 11, 2025
632e607
convert svelte module
Jul 11, 2025
3937b2a
convert tailwind module
Jul 11, 2025
76af21e
convert terraform module
Jul 11, 2025
eb60648
remove accidental silly duplication
Jul 11, 2025
510fae6
convert typst module
Jul 11, 2025
ea2094b
convert vala module
Jul 11, 2025
5136574
fmt
Jul 11, 2025
d2f41e2
convert wgsl module
Jul 11, 2025
6292ff4
convert zig module
Jul 11, 2025
a42d6ac
remove accidentally enabled langauges
Jul 14, 2025
e0cd56f
ordering of types
Jul 14, 2025
b094fe2
Merge pull request #913 from sjcobb2022/language-overhaul
NotAShelf Jul 19, 2025
36a1d81
Merge branch 'main' into v0.8
NotAShelf Jul 19, 2025
7400d6f
languages/haskell: add missing comma after hls table
imnotpoz Jul 21, 2025
08991be
Merge pull request #1032 from imnotpoz/commafix
NotAShelf Jul 21, 2025
56dc232
languages/wgsl: make server name match package and binary name
imnotpoz Jul 23, 2025
7cabd47
language/css: migrate to vim.lsp.servers
horriblename Apr 5, 2025
4c83dd5
language/cue: migrate to vim.lsp.servers
horriblename Apr 5, 2025
b4f3429
language/fsharp: migrate to vim.lsp.servers
horriblename Apr 6, 2025
fa3a650
language/csharp: migration to vim.lsp.servers
horriblename Jun 20, 2025
bf4dedb
language/clang: migrate to vim.lsp.servers
horriblename Apr 5, 2025
b8f546b
lib/languages: fix lsp.servers.*.cmd concatenating
horriblename Jun 22, 2025
a2ce78f
language/go: migrate to vim.lsp.servers
horriblename Jun 28, 2025
76c031b
language/ts: migrate to vim.lsp.servers
horriblename Jul 11, 2025
9407a3e
languages: coerce server type to list for compat
horriblename Jul 18, 2025
58cb8ec
Merge pull request #1042 from imnotpoz/wgsl
NotAShelf Jul 26, 2025
a5ba087
languages: add deprecation warning for renamed options
horriblename Jul 18, 2025
153290a
ci: add "edn" to typos
horriblename Jul 23, 2025
6394f82
languages/julia: fix outdated docs
horriblename Jul 24, 2025
b45b763
languages/tailwind: fix use of lspconfig.util
horriblename Jul 29, 2025
69659e0
Merge pull request #962 from horriblename/language-overhaul-part
horriblename Aug 1, 2025
4b99fb6
language/just: init
poseidon-rises Jul 26, 2025
de1f36b
utility/oil-nvim: add oil-git-status support
imnotpoz Jul 22, 2025
1d36250
Merge pull request #1059 from poseidon-rises/language/just
NotAShelf Aug 5, 2025
b88c7bc
Merge pull request #1040 from imnotpoz/oil-git-status
NotAShelf Aug 9, 2025
b64f7d4
startify: fix typo
horriblename Aug 13, 2025
238b86d
languages/csharp: Add roslyn-ls
poseidon-rises Aug 12, 2025
15b9e65
add release notes entry
poseidon-rises Aug 12, 2025
9eb060d
languages/csharp: Replace root_markers with root_dir
poseidon-rises Aug 13, 2025
ebb1e3c
Merge pull request #1074 from poseidon-rises/csharp/roslyn-ls
horriblename Aug 13, 2025
1f68e37
languages/json: init
poseidon-rises Aug 13, 2025
fa10b23
languages/json: remove unessesary multiline
poseidon-rises Aug 13, 2025
f578f82
Merge pull request #1080 from poseidon-rises/languages/json
NotAShelf Aug 13, 2025
dbd395a
languages/json: fix fix failing CI
poseidon-rises Aug 14, 2025
6efced0
languages/json: correct getExe' usage
poseidon-rises Aug 14, 2025
f30d31c
Merge pull request #1085 from poseidon-rises/json/fix-failing-ci
NotAShelf Aug 15, 2025
2ab2669
languages/html: add advanced support
poseidon-rises Aug 13, 2025
3aadd2f
languages/html: remove null_ls usage
poseidon-rises Aug 14, 2025
add8d82
languages/elixir: add HEEx and EEx treesitter grammars
Morsicus Aug 16, 2025
b6ecc7f
languages/html: reorder parameters for consistency
poseidon-rises Aug 17, 2025
80a2944
Merge pull request #1082 from poseidon-rises/html/add-advanced-features
NotAShelf Aug 18, 2025
b7d321f
binds/qmk: init (#1083)
poseidon-rises Aug 20, 2025
ad0844e
Fix broken release notes reference
poseidon-rises Aug 20, 2025
2c43ee3
Merge pull request #1093 from poseidon-rises/release-notes/fix-broken…
NotAShelf Aug 20, 2025
21f4644
languages/qml: init (#1092)
poseidon-rises Aug 21, 2025
e1ad7f4
Merge remote-tracking branch 'origin/main' into v0.8
NotAShelf Aug 21, 2025
085d161
Merge branch 'v0.8' into v0.8
NotAShelf Aug 21, 2025
1f65e58
languages/svelte: fix svelte-language-server not reloading .js/.ts fi…
rice-cracker-dev Aug 21, 2025
18cba4f
languages/svelte: fix svelte-language-server not reloading .js/.ts fi…
NotAShelf Aug 21, 2025
a5ef2d0
docs: fixup release notes from main -> v0.8 merge (#1098)
poseidon-rises Aug 21, 2025
8f28e46
docs: add missing period to release notes
poseidon-rises Aug 21, 2025
8d57ae5
languages/elixir: add HEEx and EEx treesitter grammars (#1088)
NotAShelf Aug 21, 2025
30cca7c
Merge branch 'v0.8' into release-notes/add-period
poseidon-rises Aug 21, 2025
65f7ec5
Merge pull request #1099 from poseidon-rises/release-notes/add-period
NotAShelf Aug 21, 2025
c8bb625
languages/ts: add typescript treesitter grammar
diced Aug 13, 2025
77c6429
docs(rl): add ts treesitter fix entry
diced Aug 13, 2025
d36996c
Merge pull request #1078 from diced/fix-ts
NotAShelf Aug 22, 2025
f119298
docs: fix formatting
horriblename Aug 24, 2025
c390d28
docs: remove outdated mention of null-ls
horriblename Aug 24, 2025
b88773b
docs: Add missing languages to manual
JamyGolden Aug 23, 2025
f1a3090
Merge pull request #1102 from JamyGolden/jamy/chore/add-missing-langu…
NotAShelf Aug 25, 2025
c752aaa
lsp/harper-ls: init
gmvar Aug 22, 2025
fe860f7
docs: remove duplicate release notes entry
poseidon-rises Aug 25, 2025
c7a4e99
Merge pull request #1106 from poseidon-rises/release-notes/remove-dup…
NotAShelf Aug 25, 2025
f6cfc3a
lazy: enabled option accepts luaInline instead of str
derethil Aug 27, 2025
34e42a6
Merge pull request #1110 from derethil/fix/lazy-plugin-enabled
horriblename Aug 27, 2025
a360dd2
update rl notes
Aug 28, 2025
844b4c1
Merge pull request #1114 from sjcobb2022/v0.8
NotAShelf Aug 28, 2025
3f974fb
Merge branch 'v0.8' into lsp/harper-ls
horriblename Aug 30, 2025
d2ceb1b
Merge pull request #1101 from gmvar/lsp/harper-ls
horriblename Aug 30, 2025
8ab27a1
languages/python: add formatter that combines `ruff format` with `ruf…
valterschutz Aug 30, 2025
0d2c3a6
docs: fix markdown formatting (#1117)
horriblename Aug 30, 2025
cf58d88
Merge branch 'main' into v0.8
NotAShelf Aug 31, 2025
5327081
Merge branch 'main' into v0.8
NotAShelf Sep 2, 2025
64f1504
lib/languages: fix typo in server submodule
NotAShelf Sep 3, 2025
8b98f07
wrapper/build: add option examples; put evaluated values in `literalE…
NotAShelf Sep 3, 2025
09e7f44
languages/yaml: fix on_attach by using mkLuaInline
alfarelcynthesis Jul 27, 2025
0246376
Merge branch 'main' into v0.8
NotAShelf Sep 2, 2025
e0827c6
lib/languages: fix typo in server submodule
NotAShelf Sep 3, 2025
ba9ce8b
wrapper/build: add option examples; put evaluated values in `literalE…
NotAShelf Sep 3, 2025
1a05385
Merge branch 'main' into v0.8
horriblename Sep 13, 2025
74d6fe8
languages/markdown: add markdown-oxide server option
alfarelcynthesis Sep 7, 2025
671b6d1
languages/helm: fix yaml-language-server integration
alfarelcynthesis Jul 27, 2025
68ca28a
language/yaml: call default_on_attach in helm version
alfarelcynthesis Sep 6, 2025
6447bdf
Fix yaml-language-server and helm-ls integration (#1125)
horriblename Sep 23, 2025
81559f9
languages/python: fix invalid basedpyright configuration
simon-wg Sep 23, 2025
3f30cef
Merge pull request #1153 from simon-wg/fix-python-lsp
NotAShelf Sep 24, 2025
d26b9dc
autocmds: ensure augroups are set up before autocmds
horriblename Sep 25, 2025
e1fd607
lsp: call default_on_attach in LspAttach autocmd
horriblename Sep 25, 2025
11fd1b7
lib/dag: improve dependency cycle error message
horriblename Sep 25, 2025
c13edf9
treewide: remove usage of default_on_attach outside LspAttach
horriblename Sep 25, 2025
ef508ea
Merge branch 'v0.8' into markdown-oxide
horriblename Sep 25, 2025
8ff302f
Merge pull request #1133 from alfarelcynthesis/markdown-oxide
horriblename Sep 25, 2025
ae1922f
treewide: don't import modules manually
alfarelcynthesis Sep 26, 2025
8593e09
fix: `deadnix --edit` + `statix fix`
alfarelcynthesis Sep 27, 2025
06bc21e
Merge pull request #1161 from alfarelcynthesis/less-import
horriblename Sep 27, 2025
8e9186e
Merge pull request #1162 from alfarelcynthesis/deadnix-run
horriblename Sep 27, 2025
572ea52
docs: update release notes
horriblename Sep 29, 2025
5ff5103
Merge pull request #1156 from horriblename/LspAttach-keybinds
NotAShelf Sep 30, 2025
171410f
Merge branch 'v0.8' into notashelf/push-lnklzrqrwnym
NotAShelf Oct 3, 2025
88dd4cd
Merge pull request #1169 from NotAShelf/notashelf/push-lnklzrqrwnym
NotAShelf Oct 3, 2025
dde524f
languages/typst: fix missing imports
NotAShelf Oct 3, 2025
3ace078
ci: fix typo in typo fix
horriblename Oct 13, 2025
3e48f13
lib: rewrite toLuaObject, deprecate everything else (#1178)
Gerg-L Oct 13, 2025
0982a84
languages/json: fix language server default cmd path in package
alfarelcynthesis Oct 17, 2025
cbf496c
Merge pull request #1192 from alfarelcynthesis/fix-json-langserver-path
NotAShelf Oct 18, 2025
99b003f
languages/rust: move `crates.nvim` dependency to `extensions` modernize
NotAShelf Oct 18, 2025
ea3ee47
Merge pull request #1193 from NotAShelf/notashelf/push-rklptznqyywp
NotAShelf Oct 18, 2025
a2934aa
Merge pull request #1193 from NotAShelf/notashelf/push-rklptznqyywp
NotAShelf Oct 18, 2025
15c26bf
Merge pull request #1202 from NotAShelf/notashelf/push-snpzosspqyxk
NotAShelf Oct 22, 2025
269e22d
hotfix: move mkRename-/RemovedOptionModule inside concatLists list
simon-wg Oct 23, 2025
dad8ece
Merge pull request #1203 from simon-wg/hotfix
NotAShelf Oct 23, 2025
96ba7b6
feat: add mellow.nvim theme plugin with lualine support (#1188)
critical Oct 26, 2025
00498aa
languages/rust: fix completion source option usage
imnotpoz Oct 31, 2025
e6b2d28
Merge pull request #1206 from imnotpoz/v0.8
NotAShelf Oct 31, 2025
9e9be6d
fix(typst): remove typstfmt
c2fc2f Nov 5, 2025
da5c914
Merge pull request #1216 from c2fc2f/main
NotAShelf Nov 5, 2025
227a55c
ci: simplify dependabot config
NotAShelf Nov 6, 2025
aab08f3
ci: update plugins & nixpkgs automatically
NotAShelf Nov 6, 2025
9d5f2f4
notes/orgmode: fixed reference to the grammar package from nixpkgs
Michael-C-Buckley Nov 12, 2025
90be135
languages/vala: add mainProgram attribute to wrapper package
Soliprem Nov 14, 2025
e7955ad
rl: add vala fix entry
Soliprem Nov 14, 2025
10bb103
Merge pull request #1218 from NotAShelf/notashelf/push-oxwuxnlzqysp
NotAShelf Nov 14, 2025
7e0ec5b
Merge branch 'upstream' into v0.8
horriblename Nov 14, 2025
4abd1fe
Merge branch 'v0.8' into vala-fix
Soliprem Nov 14, 2025
cb920c5
Merge pull request #1223 from Soliprem/vala-fix
Soliprem Nov 14, 2025
7432090
Merge branch 'v0.8' into v0.8
Soliprem Nov 14, 2025
25aafc8
Merge pull request #1221 from Michael-C-Buckley/v0.8
NotAShelf Nov 15, 2025
a87439e
languages/html: add emmet LSP (#1212)
valyntyler Nov 16, 2025
d5da1a1
languages/formatters: allow multiple formatters (#1103)
horriblename Nov 16, 2025
c022a9e
treewide: use lib.warn for compatibility (#1228)
horriblename Nov 17, 2025
8236c7b
fix: missing brackets for typst.format.type after treewide formatter …
lackac Nov 17, 2025
f71493a
Merge pull request #1230 from lackac/patch-2
NotAShelf Nov 17, 2025
4cf72b8
fix: enable javascript formatter
valyntyler Nov 19, 2025
7c58bb5
fmt: ts.nix
valyntyler Nov 19, 2025
e2c481a
update changelog
valyntyler Nov 19, 2025
913dd0d
Merge pull request #1234 from valyntyler/ts.format
NotAShelf Nov 19, 2025
f8dc16a
languages/nix: always use conform for formatter (#1236)
horriblename Nov 22, 2025
f40b143
replace phaazon/hop.nvim with smoka7/hop.nvim
KrappRamiro Nov 24, 2025
e32bc41
modules/languages: fix rust crates-nvim completion deprecation (#1247)
Soliprem Nov 26, 2025
6ba7207
languages/astro: fix stdenv warning: move prettier out of `nodePackages`
NotAShelf Nov 26, 2025
353ade5
flake: bump nixpkgs
NotAShelf Nov 26, 2025
e63f8f4
Merge branch 'v0.8' into main
KrappRamiro Nov 26, 2025
b01c8eb
blink-cmp: 1.6.0 -> 1.8.0; fix Darwin build
NotAShelf Nov 26, 2025
8f3c641
avante-nvim: fix Darwin build
NotAShelf Nov 27, 2025
4e4fa62
Merge pull request #1253 from NotAShelf/notashelf/push-uolyvpoluszk
NotAShelf Nov 28, 2025
d5efd7c
Merge pull request #1246 from KrappRamiro/main
NotAShelf Nov 28, 2025
43b4890
ci: fix errors from #1246 (#1255)
ced4rtree Dec 4, 2025
b185886
Merge branch 'main' into v0.8
Soliprem Dec 11, 2025
cc57325
fix formatting
Soliprem Dec 11, 2025
aad1b16
flake: add ndg as an input
NotAShelf Sep 24, 2025
868c7c5
docs: adapt builder functions for ndg
NotAShelf Sep 26, 2025
d363d00
docs: rename entrypoing to index for ndg compat
NotAShelf Sep 26, 2025
063a27c
docs: move release-notes to manual/
horriblename Nov 14, 2025
0693751
docs: restructure to allow a clean migration to new documentation util
NotAShelf Sep 26, 2025
d436031
docs: remove dupliate page
NotAShelf Sep 26, 2025
0c41112
flake: bump ndg
NotAShelf Sep 26, 2025
2d823de
docs: update neodev.nvim to lazydev.nvim
myume Dec 8, 2025
3c90fdc
flake: bump ndg
NotAShelf Oct 18, 2025
a7087e1
Merge pull request #1267 from myume/main
NotAShelf Dec 9, 2025
4498d3b
docs: remove duplicate release-notes.md
horriblename Dec 10, 2025
1f39882
ndg: update cli flags
horriblename Dec 10, 2025
da8c682
treewide: replace auto option links with {option} role
horriblename Dec 11, 2025
e47306b
flake: bump ndg
horriblename Dec 10, 2025
a951495
docs: fix formatting
Soliprem Dec 11, 2025
e18932d
docs: fix more formatting
Soliprem Dec 11, 2025
313ad61
docs/manual: runCommandNoCCLocal was renamed to runCommandLocal
Soliprem Dec 11, 2025
b4abb3c
treewide: fix a lot of broken / dead links
Soliprem Dec 11, 2025
71f352d
docs: formatting
Soliprem Dec 11, 2025
966e96f
Merge pull request #1160 from NotAShelf/notashelf/push-ysqzsqxwlsml
Soliprem Dec 11, 2025
142f8d0
ci: disable broken hyperlink check
horriblename Dec 11, 2025
ffec23e
Merge branch 'v0.8' into ci-disable-hyperlink-check
Soliprem Dec 11, 2025
0894dd6
Merge pull request #1275 from horriblename/ci-disable-hyperlink-check
Soliprem Dec 12, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
version: 2
updates:
- package-ecosystem: github-actions
open-pull-requests-limit: 15
directory: "/"
schedule:
interval: daily
open-pull-requests-limit: 15
reviewers:
- NotAShelf
assignees:
- NotAShelf
3 changes: 3 additions & 0 deletions .github/typos.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ default.extend-ignore-words-re = [
"annote",
"viw",
"typ",
"edn",
"esy",
"BA", # somehow "BANanaD3V" is valid, but BA is not...
"Emac"
]

2 changes: 1 addition & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ jobs:
flake-docs-linkcheck:
name: "Validate hyperlinks in documentation sources"
runs-on: ubuntu-latest
if: "!contains(github.event.pull_request.title, '[skip ci]')"
if: false # disabled until we fix ndg docs
steps:
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
Expand Down
91 changes: 91 additions & 0 deletions .github/workflows/update.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
name: Weekly Dependency Updates
on:
workflow_dispatch:
schedule:
# 8 PM UTC every Friday
- cron: '0 20 * * 5'
jobs:
update-dependencies:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v5

- name: "Install Nix"
uses: cachix/[email protected]

- name: Set up Git
run: |
git config user.name "GitHub Actions Bot"
git config user.email "[email protected]"

- name: Create branch for updates
run: |
DATE=$(date +%Y-%m-%d)
BRANCH_NAME="update/dependencies-$DATE"
git checkout -b $BRANCH_NAME
echo "BRANCH_NAME=$BRANCH_NAME" >> $GITHUB_ENV

- name: Update npins
run: nix run nixpkgs#npins update

# Only update Nixpkgs. mnw might break on update, better to track it manually to avoid
# unexpected breakage.
- name: Update nixpkgs
run: nix flake update nixpkgs

- name: Check for changes
id: check_changes
run: |
if git diff --quiet; then
echo "No changes detected"
echo "changes_detected=false" >> "$GITHUB_OUTPUT"
exit 0
else
echo "Changes detected"
echo "changes_detected=true" >> "$GITHUB_OUTPUT"
fi

# FIXME: Worth adding additional checks for, e.g., fragile plugins
# or modules
# nix build .#checks.<system>.<check-name>
# We'll probably want to handle this with machine tests
- name: Verify changes
if: steps.check_changes.outputs.changes_detected == 'true'
run: |
# Run verification tests to ensure updates don't break anything
nix flake check


- name: Set date variable
run: echo "DATE=$(date +%Y-%m-%d)" >> "$GITHUB_ENV"

- name: Commit and push changes
if: steps.check_changes.outputs.changes_detected == 'true'
run: |
git add .
git commit -m "pins: bump all plugins (${{ env.DATE }})"
git push -u origin $BRANCH_NAME

- name: Create Pull Request
if: steps.check_changes.outputs.changes_detected == 'true'
uses: peter-evans/create-pull-request@v7
with:
branch: ${{ env.BRANCH_NAME }}
base: main
labels: dependencies,automated pr
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: "npins: bump all plugins (${{ env.DATE }})"
title: "Weekly Dependency Updates: ${{ env.DATE }}"
body: |
> [!NOTE]
> This PR was automatically generated by the Weekly Dependency Updates workflow. Please wait
> for all CI steps to complete, and test any major changes personally.

Updates Performed:

- Updated dependencies using `npins update`
- Updated nixpkgs using `nix flake update nixpkgs`

If the verification steps have passed, updates should be safe to merge. For failing CI steps
submit a Pull Request targetting ${{ env.BRANCH_NAME }}
8 changes: 7 additions & 1 deletion configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ isMaximal: {
lspSignature.enable = !isMaximal; # conflicts with blink in maximal
otter-nvim.enable = isMaximal;
nvim-docs-view.enable = isMaximal;
harper-ls.enable = isMaximal;
};

debugger = {
Expand All @@ -56,6 +57,7 @@ isMaximal: {
clang.enable = isMaximal;
css.enable = isMaximal;
html.enable = isMaximal;
json.enable = isMaximal;
sql.enable = isMaximal;
java.enable = isMaximal;
kotlin.enable = isMaximal;
Expand All @@ -67,7 +69,7 @@ isMaximal: {
typst.enable = isMaximal;
rust = {
enable = isMaximal;
crates.enable = isMaximal;
extensions.crates-nvim.enable = isMaximal;
};

# Language modules that are not as common.
Expand All @@ -84,8 +86,11 @@ isMaximal: {
ocaml.enable = false;
elixir.enable = false;
haskell.enable = false;
hcl.enable = false;
ruby.enable = false;
fsharp.enable = false;
just.enable = false;
qml.enable = false;

tailwind.enable = false;
svelte.enable = false;
Expand Down Expand Up @@ -188,6 +193,7 @@ isMaximal: {
vim-wakatime.enable = false;
diffview-nvim.enable = true;
yanky-nvim.enable = false;
qmk-nvim.enable = false; # requires hardware specific options
icon-picker.enable = isMaximal;
surround.enable = isMaximal;
leetcode-nvim.enable = isMaximal;
Expand Down
2 changes: 1 addition & 1 deletion docs/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@

# Generate the HTML manual pages
html = pkgs.callPackage ./manual.nix {
inherit release;
inherit inputs release;
inherit (nvimModuleDocs) optionsJSON;
};
in {
Expand Down
147 changes: 40 additions & 107 deletions docs/manual.nix
Original file line number Diff line number Diff line change
@@ -1,114 +1,47 @@
{
lib,
inputs,
path,
stdenvNoCC,
fetchzip,
runCommandLocal,
# build inputs
nixos-render-docs,
documentation-highlighter,
dart-sass,
path,
# nrd configuration
release,
optionsJSON,
release,
} @ args: let
manual-release = args.release or "unstable";

scss-reset = fetchzip {
url = "https://github.com/Frontend-Layers/scss-reset/archive/refs/tags/1.4.2.zip";
hash = "sha256-cif5Sx8Ca5vxdw/mNAgpulLH15TwmzyJFNM7JURpoaE=";
};

compileStylesheet = runCommandLocal "compile-nvf-stylesheet" {} ''
mkdir -p $out

tmpfile=$(mktemp -d)
trap "rm -r $tmpfile" EXIT

ln -s "${scss-reset}/build" "$tmpfile/scss-reset"

${dart-sass}/bin/sass --load-path "$tmpfile" \
${./static/style.scss} "$out/style.css"

echo "Generated styles"
'';
in
stdenvNoCC.mkDerivation {
name = "nvf-manual";
src = builtins.path {
name = "nvf-manual-${manual-release}";
path = lib.sourceFilesBySuffices ./manual [".md" ".md.in"];
};

strictDependencies = true;
nativeBuildInputs = [nixos-render-docs];

postPatch = ''
ln -s ${optionsJSON}/share/doc/nixos/options.json ./config-options.json
'';

buildPhase = ''
dest="$out/share/doc/nvf"
mkdir -p "$(dirname "$dest")"
mkdir -p $dest/{highlightjs,script}

# Copy highlight scripts to /highlights in document root.
cp -vt $dest/highlightjs \
${documentation-highlighter}/highlight.pack.js \
${documentation-highlighter}/LICENSE \
${documentation-highlighter}/mono-blue.css \
${documentation-highlighter}/loader.js

# Copy anchor scripts to the script directory in document root.
cp -vt "$dest"/script \
${./static/script}/anchor-min.js \
${./static/script}/anchor-use.js \
${./static/script}/search.js

substituteInPlace ./options.md \
--subst-var-by OPTIONS_JSON ./config-options.json

substituteInPlace ./manual.md \
--subst-var-by NVF_VERSION ${manual-release}

substituteInPlace ./hacking/additional-plugins.md \
--subst-var-by NVF_REPO "https://github.com/notashelf/nvf/blob/${manual-release}"

# Move compiled stylesheet
cp -vt $dest \
${compileStylesheet}/style.css

# Move release notes
cp -vr ${./release-notes} release-notes

# Generate final manual from a set of parameters. Explanation of the CLI flags are
# as follows:
#
# 1. --manpage-urls will allow you to use manual pages as they are defined in
# the nixpkgs documentation.
# 2. --revision is the project revision as it is defined in 'release.json' in the
# repository root
# 3. --script will inject a given Javascript file into the resulting pages inside
# the <script> tag.
# 4. --toc-depth will determine the depth of the initial Table of Contents while
# --section-toc-depth will determine the depth of per-section Table of Contents
# sections.
nixos-render-docs manual html \
--manpage-urls ${path + "/doc/manpage-urls.json"} \
--revision ${lib.trivial.revisionWithDefault manual-release} \
--stylesheet style.css \
--script highlightjs/highlight.pack.js \
--script highlightjs/loader.js \
--script script/anchor-use.js \
--script script/anchor-min.js \
--script script/search.js \
--toc-depth 1 \
--section-toc-depth 1 \
manual.md \
"$dest/index.xhtml"

# Hydra support. Probably not necessary.
mkdir -p $out/nix-support/
echo "doc manual $dest index.html" >> $out/nix-support/hydra-build-products
'';
}
runCommandLocal "nvf-docs-html" {
nativeBuildInputs = [
(inputs.ndg.packages.${stdenvNoCC.system}.ndg.overrideAttrs
{
# FIXME: the tests take too long to build
doCheck = false;
})
];
} ''
mkdir -p $out/share/doc

# Copy the markdown sources to be processed by ndg. This is not
# strictly necessary, but allows us to modify the Markdown sources
# as we see fit.
cp -rvf ${./manual} ./manual

# Replace variables following the @VARIABLE@ style in the manual
# pages. This can be built into ndg at a later date.
substituteInPlace ./manual/index.md \
--subst-var-by NVF_VERSION ${manual-release}

# Generate the final manual from a set of parameters. This uses
# feel-co/ndg to render the web manual.
ndg html \
--jobs $NIX_BUILD_CORES --title "NVF" \
--module-options ${optionsJSON}/share/doc/nixos/options.json \
--manpage-urls ${path}/doc/manpage-urls.json \
--options-depth 3 \
--generate-search \
--highlight-code \
--input-dir ./manual \
--output-dir "$out/share/doc"

# Hydra support. Probably not necessary.
mkdir -p $out/nix-support/
echo "doc manual $dest index.html" >> $out/nix-support/hydra-build-products
''
5 changes: 3 additions & 2 deletions docs/manual/configuring.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
# Configuring nvf {#ch-configuring}

[helpful tips section]: #ch-helpful-tips
[helpful tips section]: ./tips.html#ch-helpful-tips
[options reference]: ./options.html

nvf allows for _very_ extensive configuration in Neovim through the Nix module
interface. The below chapters describe several of the options exposed in nvf for
your convenience. You might also be interested in the [helpful tips section] for
more advanced or unusual configuration options supported by nvf.

Note that this section does not cover module _options_. For an overview of all
module options provided by nvf, please visit the [appendix](/nvf/options.html)
module options provided by nvf, please visit the [options reference]

```{=include=} chapters
configuring/custom-package.md
Expand Down
22 changes: 0 additions & 22 deletions docs/manual/configuring/custom-package.md

This file was deleted.

2 changes: 1 addition & 1 deletion docs/manual/configuring/custom-plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ as a module.
:::{.info}

To add a plugin to your runtime, you will need to add it to
[](#opt-vim.startPlugins) list in your configuration. This is akin to cloning a
{option}`vim.startPlugins` list in your configuration. This is akin to cloning a
plugin to `~/.config/nvim`, but they are only ever placed in the Nix store and
never exposed to the outside world for purity and full isolation.

Expand Down
Loading
Loading