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

490 Commits

Author SHA1 Message Date
oxalica
c361e61da0 Show docs for builtin completions 2022-09-22 18:48:16 +08:00
oxalica
cf182a8ca4 Generate builtins from Nix 2022-09-22 18:26:56 +08:00
oxalica
039ae629eb Support renaming inherited names 2022-09-21 18:58:23 +08:00
oxalica
2f0231fde9 Move server capabilities into an individual mod 2022-09-21 17:28:42 +08:00
oxalica
6a7ecb4386 Impl LSP settings 2022-09-21 17:24:14 +08:00
oxalica
9bc685c1c8 Add instructions to run fuzzer 2022-09-20 19:56:37 +08:00
oxalica
f36ec4af63 Prettify syntax error messages 2022-09-20 19:53:34 +08:00
oxalica
5cab069314 Monomorphize UnexpectedToken error 2022-09-20 19:53:24 +08:00
oxalica
1463d498b5 Enhance error recovery for incomplete syntax 2022-09-20 18:16:07 +08:00
oxalica
d31baa16cb Fix highlighting of or 2022-09-20 16:25:45 +08:00
oxalica
a16525ec85 Add GitHub CI 2022-09-19 09:52:15 +08:00
oxalica
ae6981ea32 Impl incremental text change 2022-09-19 09:28:17 +08:00
oxalica
15cd08d0d0 Shrink and update dependencies 2022-09-19 09:28:17 +08:00
oxalica
0ab60fdff0 Unify naming of bijection getters to A_for_B for B -> A 2022-09-19 09:28:17 +08:00
oxalica
8a1a899cff Tweak VFS API to simplify usage 2022-09-19 09:28:17 +08:00
oxalica
d2ce10e9af Load only .nix files into vfs 2022-09-19 09:28:17 +08:00
Fernando Ayats
9e395607ad Add instructions for vscode 2022-09-16 02:15:01 +08:00
oxalica
bb186c9d14 Fix Attr highlighting 2022-09-12 10:56:37 +08:00
oxalica
e04b1b968d Wrap panicking in handlers into RPC failure 2022-09-12 10:21:10 +08:00
oxalica
4f3f9c970d Impl semantic highlighting 2022-09-12 09:59:04 +08:00
oxalica
41bc624f97 Comment test cases of LineMap 2022-09-12 06:02:18 +08:00
oxalica
b469b939f1 Support renaming to strings 2022-09-06 09:00:15 +08:00
oxalica
55cda6788c Impl renaming 2022-09-06 08:49:22 +08:00
oxalica
0cdcbe92db Always use the whole Attr location for Name 2022-09-06 06:55:38 +08:00
oxalica
dd476b39e7 Proper error handling for LSP 2022-09-06 04:41:42 +08:00
oxalica
dabcd8b962 Burn version information in binary 2022-09-06 02:30:24 +08:00
oxalica
5bdf49686c Refactor workspace layout 2022-09-06 01:54:33 +08:00
oxalica
90e3ec7852 Impl expand-selection 2022-09-06 01:26:22 +08:00
oxalica
efb87783e6 Replace env_logger with tracing and impl log file 2022-09-06 01:26:22 +08:00
oxalica
89ddca477c Update README 2022-09-06 01:26:22 +08:00
oxalica
b72dbad803 Add test environment for coc.nvim 2022-09-06 01:26:22 +08:00
oxalica
57291266c3 Pick the best token around the cursor 2022-09-05 19:32:18 +08:00
oxalica
b2909a7748 Compress SyntaxKind and impl more getters 2022-09-05 19:26:37 +08:00
oxalica
846b694203 Tweak pre-commit hook and remove dbg!() 2022-09-05 18:34:26 +08:00
oxalica
8688901096 Unify keys of {Plain,Rec}Attrset and fix locations of merged bindings 2022-09-05 18:23:57 +08:00
oxalica
4e72432a73 Generalize NameDef to Name to allow non-definitions 2022-09-05 16:48:22 +08:00
oxalica
9eb242c0e3 Handle relative diagnostics out of lowering 2022-09-04 08:59:29 +08:00
oxalica
38f6c12812 Update flake and add pre-commit hook 2022-09-04 04:53:31 +08:00
oxalica
5937aa53c0 Allow NameDef to have multiple source locations 2022-09-04 04:49:42 +08:00
oxalica
92c5603498 Fix traversal of dynamic attrs 2022-08-20 02:48:15 +08:00
oxalica
4ff0bfb7de Update deps 2022-08-20 02:42:26 +08:00
oxalica
b2128038c2 Report name resolution failures 2022-08-18 00:53:47 +08:00
oxalica
c91cf603e6 Rename mod 2022-08-18 00:39:00 +08:00
oxalica
709b5ea3c3 Cache name resolution result 2022-08-18 00:34:44 +08:00
oxalica
45869fa520 Use Pratt parser for operators 2022-08-17 05:42:39 +08:00
oxalica
0d3debc881 Remove unused code 2022-08-17 03:19:17 +08:00
oxalica
3e07f1c341 Enable line debuginfo for profiling 2022-08-17 03:17:37 +08:00
oxalica
bf1346971a Revert "Flatten Bindings into Arena in Module" (4b160fe412) 2022-08-17 00:35:17 +08:00
oxalica
2a999716b8 Fix source map of merged attrsets 2022-08-13 02:29:47 +08:00
oxalica
a2e7e9114d Rewrite liveness check algorithm
The previous one seems very problematic.
2022-08-12 21:51:13 +08:00