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
oxalica
1348b53085
Ignore non-flake file inputs
...
It's impossible to calculate their store paths currently.
Fixes #113
2023-11-27 12:10:31 +08:00
oxalica
440a3857cd
Update to itertools 0.12.0 and fix clippy
2023-11-27 10:30:47 +08:00
oxalica
5607d42901
Update dependencies
2023-11-08 14:06:48 +08:00
oxalica
94ecd9c0aa
Sync MSRV in README
...
Fixes #112
2023-11-08 14:06:48 +08:00
oxalica
bd93024db6
Refactor and improve completion from nowhere or manual trigger
...
- Regroup completion cases under `Context` in a OOP-like manner to
simplify parameter passing.
- Handle more cases for complete from nowhere (between expressions or
bindings). This helps 24x7 completion and manually triggered
completion (Ctrl-Space) in various places to list all options without
any identifier as filter.
2023-10-19 18:16:55 +08:00
oxalica
26c5d73015
Fine tuning token selection at given position
2023-10-19 11:53:45 +08:00
oxalica
1b6b4534b3
Remove trailing spaces in tests
2023-10-19 11:07:00 +08:00
oxalica
b4a01cee32
Revert test in pre-commit and fix CI
...
Partially reverts 51e6714
.
1. Testing in pre-commit is too long and suffers from different
environment setup.
2. `--include-ignored` breaks criterion CLI currently.
2023-10-17 18:43:03 +08:00
oxalica
73eeaa64d8
Update regex-automata and other deps
2023-10-16 21:47:53 +08:00
oxalica
51e67142ad
Fix benchmark and enforce test success in CI
2023-10-16 21:47:53 +08:00
oxalica
ee215a18ab
Update flake
2023-10-09 16:03:27 +08:00
oxalica
ee023be3dd
Update dependencies
2023-10-09 15:58:28 +08:00
Jacob Birkett
28b0432cf8
flake: add meta.mainProgram ( #110 )
2023-10-09 09:27:59 +08:00
oxalica
61caccdde0
Ignore identifiers starting with _
from liveness check
...
Partially fixes #55
Closes #109
2023-10-09 09:22:10 +08:00
oxalica
dbf49b3aab
Generate symbol tree syntactically without invalid nesting
...
Fixes #107
2023-10-09 09:00:19 +08:00
oxalica
2091ef0e1d
Fix clippy warnings
2023-10-09 08:48:57 +08:00
Nilstrieb
510bc6e9b4
Fail textDocument/formatting when no formatter is set ( #108 )
...
Currently, nil silently fails when no formatter is set. This caused me a
lot of confusion as to why nothing was formatting when I accidentally
misconfigured the formatter.
This makes it so that we return an error instead, alerting the user that
something is wrong.
This could be annoying to someone who hasn't configured a formatter on
purpose but still causes formatting events, either by format-on-save or
muscle memory. I think this is fine, and they should turn off
format-on-save or just get a formatter instead. Alternatively, someone
could set `cat` as their formatter.
2023-09-24 00:03:37 +08:00
oxalica
4775e34c30
Fix CR LF handling
2023-09-08 20:55:26 +08:00
oxalica
bd7e2e2de7
Fix clippy warnings
2023-09-08 20:54:38 +08:00
oxalica
4bdcfcfe38
Fix option completion of types.attrsOf (types.submodule {})
( #102 )
2023-09-03 14:57:35 +08:00