Maximilian Bosch
e99c89177a
nix-interop: fix option completion of types.attrsOf (types.submodule {})
...
a.k.a. fix a small typo.
Because the type-name `attrsOf` was never matched, e.g.
`systemd.services` always had type `any`.
2023-09-02 12:32:16 +02:00
oxalica
97abe7d3d4
Update dependencies
2023-08-07 09:45:39 +08:00
oxalica
6fc4e3b645
Update async-lsp to 0.0.5 and double the concurrency limit
2023-08-07 09:45:10 +08:00
oxalica
5b55d6fd79
Avoid breaking words in tests
2023-08-06 22:31:06 +08:00
oxalica
565472e8ae
Mass fix typos with typos
2023-08-06 22:31:06 +08:00
oxalica
175c791e62
Fix offset conversion for end of file ( #100 )
2023-08-06 22:08:50 +08:00
Mauro Balbi
0e935731f1
Fix offset conversion for end of file
2023-08-06 09:08:53 +02:00
oxalica
00eae58f25
Fix lexing of block comments
2023-08-04 17:29:44 +08:00
oxalica
6f20ed4115
Fix tests for nix 2.17 ( #99 )
2023-08-03 07:52:24 +08:00
Jordan Isaacs
cf44cd1c69
Use devshell full in CI
2023-07-28 14:51:06 -07:00
Jordan Isaacs
a2668f5680
Fix tests for nix 2.17
...
* Also updates nixpkgs to utilize 2.17 for tests
2023-07-27 18:54:58 -07:00
oxalica
59bcad0b13
Fix underspecified features of rustix
2023-07-19 17:38:23 +08:00
oxalica
76dee49cca
Fix clippy warnings
2023-07-19 17:13:05 +08:00
oxalica
f2d4f15e30
Replace is-terminal
with std's and bump MSRV to 1.70
2023-07-19 17:12:29 +08:00
oxalica
0c4934ad67
Split out a devenv without custom rustc
2023-07-19 17:09:07 +08:00
oxalica
e2fe1b0beb
Fix typo and add tests for nixos-23.05
2023-07-14 17:31:34 +08:00
oxalica
a7ab280e86
Fix missing features
2023-07-12 08:36:45 +08:00
oxalica
3b1d36a5ba
Add tests for the stability of Module
2023-07-12 08:18:52 +08:00
oxalica
9512111505
Fix diagnostics ordering in liveness analysis
2023-07-12 08:18:52 +08:00
oxalica
1abcaf1eac
Batch calculate diagnostics and skip unchanged ones
...
Also fixes #89 which is a lost of update event.
2023-07-12 07:43:00 +08:00
oxalica
5751bfe63a
Enable LTO for release builds
2023-07-10 11:31:49 +08:00
oxalica
40be56eddf
Use nixUnstable in dependency for latest docs
2023-07-10 11:27:39 +08:00
oxalica
52508149f9
Fix missed docs of impure constants and flakes fns
2023-07-10 11:25:40 +08:00
oxalica
ee2ff825c5
Import docs of builtin constants for Nix >= 2.17
...
Follow up of #94 .
2023-07-10 11:24:47 +08:00
oxalica
fb8a8cb077
Add rust-src in dev env for rust-analyzer
2023-07-10 05:44:27 +08:00
oxalica
05b7d9e936
Update rustfmt and format let-else
2023-07-09 07:47:27 +08:00
oxalica
985293ed94
Update flake
2023-07-09 07:40:15 +08:00
oxalica
495c599928
Disable Nix memory limit on macOS since unsupported
...
Ref: https://bugs.chromium.org/p/chromium/issues/detail?id=853873#c2
2023-07-09 05:16:02 +08:00
oxalica
1bd6791944
Manually execute DFA lexers for performance
...
This reduces `lex` time by ~50%, and `parse_file` time by ~25%.
See: https://github.com/rust-lang/regex/issues/1029
2023-07-09 03:49:35 +08:00
oxalica
e4f5e55eb9
Add a benchmark for parsing the whole nixpkgs
2023-07-09 02:41:27 +08:00
oxalica
a08bebf874
Impl memory limit for flake evaluation
2023-07-09 02:18:25 +08:00
oxalica
ba49fb311b
Bump rustix to 0.38
2023-07-08 22:11:17 +08:00
oxalica
3a30b89588
Bump regex-automata to 0.3
2023-07-08 22:01:22 +08:00
oxalica
ecd6e0912e
Add benchmarks for the parser
2023-07-08 00:41:08 +08:00
oxalica
3e6a0fe18f
Disable outdated check on push
2023-07-07 01:42:29 +08:00
oxalica
7fa012bb84
Bump coc.nvim dependencies
2023-07-07 01:42:22 +08:00
oxalica
f375f3f32b
Include DEBUG logging in release builds
2023-07-07 01:40:52 +08:00
Michał
a5422a2168
Fix build on nix 2.17 ( #94 )
...
* fix: fix build on nix 2.17
* chore: mention version number
Co-authored-by: oxalica <oxalicc@pm.me>
2023-07-07 01:38:19 +08:00
sg-qwt
84c413e9d6
Rewording warning message ( #96 )
...
It took me a while to find out what auto-fetch actually means from my lsp client log. There's no such thing as auto-fetch, it's autoArhive.
Somebody else entered this as well. https://www.reddit.com/r/neovim/comments/14pk1u5/lsp_tells_me_to_enable_autofetch_in/
2023-07-07 01:33:09 +08:00
oxalica
f6bd5fea84
Downgrade meter events to DEBUG
2023-06-26 18:40:32 +08:00
oxalica
6d3735e03e
Set LSP event spans as INFO in nil
crate
...
With this, we can filter it by `NIL_LOG=nil=info` instead of
`async_lsp::tracing=debug`.
2023-06-26 18:29:58 +08:00
oxalica
bc24a2567b
Delay path link resolutions
...
This reduces the time of `textDocument/documentLink` from ~100ms down
to ~20ms. Editors doing frequent query of links like coc.nvim can
benefit a lot from it.
2023-06-26 17:56:47 +08:00
oxalica
9bcb01acc2
Filter far spans from highlight_related
results
2023-06-26 16:45:22 +08:00
oxalica
dd5e3e6a95
Pass initializationOptions
in coc-nil
2023-06-26 16:06:53 +08:00
oxalica
abaab31f7b
Dedup config updating code and raise log level
2023-06-26 16:06:51 +08:00
oxalica
518b91a7c2
Refactor and simplify config updating using macros
2023-06-26 16:06:51 +08:00
oxalica
e727e55565
Bump indexmap to 2
2023-06-24 11:04:59 +08:00
oxalica
9a3f88c471
Reduce check frequency for outdated dependencies
2023-06-24 11:00:23 +08:00
oxalica
c7453bb3ea
Update dependencies
2023-06-23 14:17:13 +08:00
oxalica
c91a9a9aa2
Update cachix/install-nix-action to fix CI
...
Ref: https://github.com/cachix/install-nix-action/issues/183
2023-06-21 10:37:21 +08:00