oxalica
89e5a4e61e
Set default formatter to nixfmt-rfc-style
...
It's supposed to be the official formatting tool.
See: <https://github.com/NixOS/rfcs/pull/166 >
2025-06-13 02:05:09 -04:00
oxalica
8c10ad278f
Fix nixos-options eval on latest nixpkgs
...
XRef: feef690b05
2025-06-12 20:57:23 -04:00
oxalica
9e32aad822
Accept multiple files for diagnostics
...
Fixes #124
Closes #126
Closes #127
Co-authored-by: Rebecca Turner <rbt@sent.as>
2025-06-12 20:37:09 -04:00
oxalica
877a093557
Split out devShells dependenties to dev/flake.nix
2025-06-13 08:19:46 +08:00
Andy Stewart
dea1b5da4e
Add lsp-bridge in Emacs doc
...
CI / Code style check (push) Waiting to run
CI / Legacy package (push) Waiting to run
CI / Test (push) Waiting to run
CI / Flake package (push) Waiting to run
Hi
I'm author of lsp-bridge https://github.com/manateelazycat/lsp-bridge/
I have attach patch to support nil in lsp-bridge, thanks for merge. ;)
2025-06-13 07:29:01 +08:00
oxalica
8044e3b71e
Handle __curPos as contextual keyword in lowering
...
Fixes #132
2025-06-12 19:26:40 -04:00
oxalica
447094d3d8
Support local flake inputs
...
Local flakes are referenced by paths and are not locked.
There is still an issue that paths are not resolved during flake initialization. Currently referenced flakes are not checked in, thus only works if it's already under the root flake.
Partially fixes #164
2025-06-12 18:57:39 -04:00
oxalica
1c98eb8e63
Simplify more code action labels
2025-06-12 15:31:04 -04:00
oxalica
928e6ca785
Enable pack_bindings for single implicit binding
...
Also tweak the label to be less pedantic.
Fixes #165
2025-06-12 15:17:29 -04:00
C P
58b7742777
Add remove_unused_binding assist
...
CI / Code style check (push) Waiting to run
CI / Test (push) Waiting to run
CI / Flake package (push) Waiting to run
CI / Legacy package (push) Waiting to run
Closes #159
2025-06-12 04:07:24 -04:00
isabel
a99273d99c
Add --deny-warnings for diagnostics CLI
...
Closes #157
Closes #151
2025-06-12 04:00:16 -04:00
oxalica
509f4efe3e
Update flake lock and nightly rustfmt
2025-06-12 15:58:25 +08:00
oxalica
764c1f9977
Update criterion, rustix, codespan-reporting
2025-06-12 15:58:25 +08:00
oxalica
f7f3d828cf
Fix clippy warnings
2025-06-12 15:58:25 +08:00
oxalica
577d160da3
Enforce nixfmt check in pre-commit
2025-03-05 04:07:23 +08:00
oxalica
65317e79cc
Update npm dependencies
2025-03-05 04:07:23 +08:00
oxalica
e04b043270
Update nightly rustc to 20250301 and regen flake.lock
2025-03-05 04:07:23 +08:00
oxalica
7581c4b286
Update itertools, ordered-float and regen lockfile
2025-03-05 04:07:23 +08:00
oxalica
4f02cf15f3
Use lints table instead of clippy arguments
2025-03-05 04:07:23 +08:00
oxalica
6dc0b51ef7
Bump MSRV to 1.77 and fix clippy warnings
...
rowan 0.16 requires MSRV 1.77, which was missed in the previous update.
2025-03-05 04:07:23 +08:00
oxalica
2e24c9834e
Update to thiserror 2, rowan 0.16 and update locks
2024-11-19 17:04:23 -05:00
oxalica
7ad8eadcbe
Update flake locks and rustfmt to 2024-11-01
2024-11-19 17:04:23 -05:00
oxalica
52304da8e9
Impl experimental pipe operators
...
`|>` and `<|` operators are introduced as experimental feature
"pipe-operator" since Nix 2.24.
Ref: <https://github.com/NixOS/nix/blob/2.24.0/doc/manual/src/language/operators.md#pipe-operators >
Co-authored-by: Kira Malinova <llathasa@outlook.com>
2024-11-19 16:48:44 -05:00
oxalica
c8e8ce7244
Apply nixfmt
2024-09-18 23:25:30 -04:00
oxalica
9125bfeaff
Update docs examples to use nixfmt-rfc-style
...
This is now the chosen formatter for nixpkgs.
2024-09-18 23:06:38 -04:00
oxalica
555d517d46
Update CI dependencies
2024-09-16 18:30:21 -04:00
oxalica
62f043115f
Update smol_str 0.2 -> 0.3 and lock file
2024-09-16 18:27:10 -04:00
oxalica
ca2a86e9e8
Update flake for Nix 2.24 to fix CI failure
2024-09-16 18:24:26 -04:00
oxalica
4f3081d1f1
Update tests for nix 2.24
2024-08-17 22:39:37 -04:00
oxalica
ff00db775f
Bump tower to 0.5 and update lock
2024-08-17 22:00:49 -04:00
oxalica
70df371289
Ignore tests asserting Nix documentations
...
They are fragile on different Nix versions.
2024-08-06 08:25:13 -04:00
oxalica
816aa96668
Update flake lock
2024-08-05 14:47:20 -04:00
uncenter
ff9e2f0296
Only strip query parameters and fragment for flake ref URLs ( #141 )
2024-08-06 02:30:17 +08:00
oxalica
01a62046a7
Merge code path and fix build with Nix 2.24
2024-08-05 14:24:57 -04:00
oxalica
4843496eb5
Update coc-nil dependencies
2024-08-05 13:47:14 -04:00
oxalica
3d2287d042
Update dependencies and explain lsp_types pinning
2024-08-05 13:42:12 -04:00
wiki-nixos
dfe12a6590
Update NixOS wiki link ( #144 )
...
Co-authored-by: NixOS Wiki <mail@nix.wiki>
2024-08-06 01:40:18 +08:00
즈눅
3db33b16c5
Rename default_features to default-features to fix warning ( #143 )
...
`default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition
2024-08-06 01:39:55 +08:00
Jörg Thalheim
ab3ddb8f06
Use official wiki link in README ( #137 )
2024-05-31 00:21:31 +08:00
Manu [tennox]
0e59e0b87a
Fix diagnostics exit code help text
...
Issue #129
Alternative PR to #135
2024-05-31 00:20:04 +08:00
oxalica
8f4a7bda7f
Bump nightly rustfmt version
2024-05-30 12:15:55 -04:00
oxalica
b444ca32fa
Update dependencies and fix clippy warnings
2024-05-30 12:12:53 -04:00
oxalica
2f3ed6348b
Update dependencies
2024-05-01 09:55:17 -04:00
oxalica
aa24d32f04
Update flake and make it compatible with master changes
...
Ref: https://github.com/NixOS/nixpkgs/pull/305951
2024-05-01 09:46:45 -04:00
oxalica
b6869253ef
Fix clippy warnings
2024-05-01 09:44:45 -04:00
oxalica
059d33a24b
Use more correct lowercase for I in README
...
This caused many confusions through it was intentional in the first
place:
- https://github.com/oxalica/nil/pull/46#discussion_r1051548116
- https://github.com/oxalica/nil/pull/57
- https://github.com/oxalica/nil/issues/115
So let's give up.
Closes #115
2024-01-07 15:14:56 +08:00
oxalica
ff231923ed
Warn instead of fail on dirty worktree
...
Fixes #119
2024-01-07 14:49:20 +08:00
oxalica
e72b98fed5
Update flake and nightly rustc for rustfmt and fuzz
2024-01-07 14:42:00 +08:00
oxalica
fdccb900c9
Update dependencies and fix warnings
2024-01-07 14:30:25 +08:00
oxalica
0031eb4343
Record AstPtr of the first Expr for merged attrsets
...
Otherwise, it causes a panic of missing node when reporting diagnostics
on the merged attrset.
Fixes #114
2023-11-29 10:36:12 +08:00