1
1
mirror of https://github.com/oxalica/nil.git synced 2024-11-22 19:49:20 +03:00
Commit Graph

63 Commits

Author SHA1 Message Date
oxalica
4f10256e0e Asyncify nix-interop 2023-04-19 02:12:50 +08:00
oxalica
b7bc2636c1 Bump async-lsp and revert "Only enable ClientProcessMonitorLayer for Linux"
This reverts commit 263b82c6d2.
2023-04-19 01:57:08 +08:00
oxalica
c86e96c003 Use async-lsp from crates.io to fix nix build 2023-04-18 02:55:54 +08:00
oxalica
0edd88a682 Switch to async-lsp framework 2023-04-17 11:21:52 +08:00
oxalica
a55f287f24 Make tests platform-agnostic 2023-04-14 02:36:12 +08:00
oxalica
9995235134 Update dependencies 2023-04-14 02:12:57 +08:00
oxalica
7f88b40b3a Update dependencies 2023-04-04 01:02:40 +08:00
oxalica
73fda84341 Warn when running language server in terminal 2023-03-24 14:18:35 +08:00
oxalica
5b99f7aab5 Inject NixOS options 2023-03-13 22:46:45 +08:00
oxalica
457f6020be Impl subcommand parse 2023-03-11 22:51:43 +08:00
oxalica
a84b006bb1 Update dependencies 2023-03-10 13:48:57 +08:00
oxalica
3487ed42be Update dependencies 2023-03-02 06:23:12 +08:00
oxalica
87d007b2ab Track referrers of modules 2023-02-17 21:21:51 +08:00
oxalica
ea8ee40bd1 Sweep unused dependencies 2023-02-14 23:54:14 +08:00
oxalica
124b1fd287 Bump lsp_types to 0.94.0 2023-02-11 03:11:19 +08:00
oxalica
727a73722f Special case for hover of builtins.xxx
Fixes #15
2023-02-04 06:59:39 +08:00
oxalica
893e5cf204 Type builtins and fix typos in ty! 2023-02-04 05:28:05 +08:00
oxalica
6b2eb7b9eb Update la-arena and add capacity hints 2023-02-03 03:45:17 +08:00
oxalica
dfd91e3b7e CLI for diagnostics 2023-01-28 23:52:26 +08:00
oxalica
f1c2dbc857 Use argh and simplify version embedding 2023-01-28 22:29:26 +08:00
oxalica
7844f61b75 Introduce ModuleKind to parse known file layouts 2023-01-28 01:37:24 +08:00
oxalica
c1352ac4b1 Impl goto-definition for flake inputs 2023-01-28 01:37:24 +08:00
oxalica
0eb313e73b Impl flake lock parser and wrapper of 'nix eval' 2023-01-27 03:36:20 +08:00
oxalica
9aa5ed132f Extract constants from Nix to a new crate 2023-01-27 03:36:20 +08:00
oxalica
29fdd1fba9 Use anyhow in the LSP server 2023-01-24 22:42:36 +08:00
oxalica
d9e0468ded Update dependencies 2023-01-19 14:40:02 +08:00
oxalica
3ba40c0d16 Update dependencies 2022-12-30 19:29:38 +08:00
oxalica
1c122ae707 Update dependencies 2022-12-09 22:21:59 +08:00
oxalica
7cd1e078fe Update dependencies 2022-12-01 09:01:36 +08:00
oxalica
eb7c84c429 Remove rowan dependency from crates except syntax 2022-11-26 17:58:00 +08:00
oxalica
9794a2eb97 Impl assist to flatten Attrset in bindings 2022-11-25 01:23:33 +08:00
oxalica
dc211dce86 Update dependencies 2022-11-23 20:06:27 +08:00
oxalica
d0a5ea4364 Fix PID waiter impl 2022-11-10 16:31:59 +08:00
oxalica
93f15d882f Impl document links 2022-11-10 03:31:23 +08:00
oxalica
09ad62cd7c Update dependencies 2022-11-07 13:26:35 +08:00
oxalica
8e4b0d6764 Initial impl for type inference 2022-11-07 09:14:10 +08:00
oxalica
c064894105 Monitor client process's liveness on Linux
Some client use UNIX domain sockets for communitation. But they are not
automatically closed when the client exits abnormally, resulting leaked
server instances.
2022-10-22 14:24:51 +08:00
oxalica
c3ab7f69af Update dependencies 2022-10-22 01:07:02 +08:00
oxalica
4216d2a60d Update dependencies 2022-10-04 02:11:25 +08:00
oxalica
31b714f3da Use absolute VfsPath and remove file preloading
We currently don't enable any workspace features.
Reading file on demand can be more robust and memory efficient.

Fixes #21
2022-09-28 17:56:20 +08:00
oxalica
cf182a8ca4 Generate builtins from Nix 2022-09-22 18:26:56 +08:00
oxalica
15cd08d0d0 Shrink and update dependencies 2022-09-19 09:28:17 +08:00
oxalica
dd476b39e7 Proper error handling for LSP 2022-09-06 04:41:42 +08:00
oxalica
5bdf49686c Refactor workspace layout 2022-09-06 01:54:33 +08:00
oxalica
efb87783e6 Replace env_logger with tracing and impl log file 2022-09-06 01:26:22 +08:00
oxalica
4ff0bfb7de Update deps 2022-08-20 02:42:26 +08:00
oxalica
a28eae65a8 Respect gitignore and fix root-dir detection of nvim 2022-08-12 20:11:33 +08:00
oxalica
4c41f9140c Impl and unify tests using fixture 2022-08-10 19:24:45 +08:00
oxalica
d80888be7f Populate source roots during initialization 2022-08-10 02:49:31 +08:00
oxalica
11a690bb73 Enhance completion 2022-08-09 07:25:57 +08:00