1
1
mirror of https://github.com/oxalica/nil.git synced 2024-11-23 03:57:06 +03:00
Commit Graph

221 Commits

Author SHA1 Message Date
oxalica
8f8a5d2cff Fix highlight kind 2022-11-28 00:57:20 +08:00
oxalica
10e7fc394b Impl documentHighlight 2022-11-28 00:40:58 +08:00
oxalica
eb7c84c429 Remove rowan dependency from crates except syntax 2022-11-26 17:58:00 +08:00
oxalica
8001f0d71b Don't highlight string fragment
Fragment highlighting would overwrite the highlighting of injected
languages.
2022-11-26 16:33:32 +08:00
oxalica
afec5fed82 Update README 2022-11-25 23:46:34 +08:00
oxalica
84e39a65c9 Allow disable diagnostics for some files 2022-11-25 23:42:43 +08:00
oxalica
9794a2eb97 Impl assist to flatten Attrset in bindings 2022-11-25 01:23:33 +08:00
oxalica
655d5247a6 Impl assist to pack bindings 2022-11-25 00:23:22 +08:00
oxalica
1f5d8ceee0 Simplify and fix tests for assists 2022-11-24 23:07:31 +08:00
oxalica
6212e5508e Fix dev env 2022-11-24 21:52:00 +08:00
oxalica
f1304942e3 Fix rust 1.64 compatibility
nixpkgs still have rust 1.64 on master.
2022-11-24 19:20:42 +08:00
oxalica
41de8c72c5 Follow keymaps from official guide for coc.nvim 2022-11-24 03:43:04 +08:00
oxalica
8d32b2a081 Impl code action for converting to inherit 2022-11-24 03:43:03 +08:00
oxalica
c088c1b4e7 Fix typo: release doesn't need debuginfo 2022-11-23 21:56:27 +08:00
oxalica
f4cdc1a106 Remove heavy commands from pre-commit hook 2022-11-23 20:08:58 +08:00
oxalica
dc211dce86 Update dependencies 2022-11-23 20:06:27 +08:00
oxalica
bea40f71fc Impl string unescaping by parts 2022-11-17 03:11:21 +08:00
oxalica
c4bcb3015b Impl indent string stripping 2022-11-17 02:59:14 +08:00
oxalica
276615a48d Add tests for syntax::semantic 2022-11-16 23:11:27 +08:00
oxalica
170f89761d Complete and add tests for AST getters 2022-11-16 22:40:36 +08:00
oxalica
4087d3acde Optimize searching let and rec in Attrset 2022-11-16 21:39:53 +08:00
oxalica
1ac520b784 Refactor Attrset desugaring and move out some logic 2022-11-16 21:22:27 +08:00
oxalica
3fa46cc956 Track Attr source info in Ty 2022-11-14 20:17:34 +08:00
oxalica
dfffc45c35 Simplify and unify convertion helpers 2022-11-11 05:56:39 +08:00
oxalica
a13e89c622 Fix dead lock in apply_vfs_change 2022-11-11 05:26:55 +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
3749c6bb3a Keep literal strings during lowering 2022-11-10 03:31:23 +08:00
oxalica
e3ce3bfca0 Move identifier check and quoting into syntax 2022-11-10 01:25:01 +08:00
oxalica
7669c00997 Fix theme of coc.nvim dev env 2022-11-10 00:44:23 +08:00
oxalica
1e3fdf59cb Fix type for condition expr of if 2022-11-09 23:07:15 +08:00
oxalica
f43380d009 Tweak type formatter 2022-11-07 14:47:06 +08:00
oxalica
e8659c2e08 Fix clippy 2022-11-07 13:58:56 +08:00
oxalica
3171734d0d Show hover message for selection Attr 2022-11-07 13:56:25 +08:00
oxalica
09ad62cd7c Update dependencies 2022-11-07 13:26:35 +08:00
oxalica
72db1ef2bc Impl completion triggered . and ? 2022-11-07 12:58:01 +08:00
oxalica
2997e14a66 Fix completion inside non-last Attr 2022-11-07 12:29:30 +08:00
oxalica
d714bedf1e Construct empty NAME nodes for recovery 2022-11-07 11:24:30 +08:00
oxalica
efca332ce9 Complete attrset fields 2022-11-07 10:50:59 +08:00
oxalica
2cd3354204 Show types in hover messages 2022-11-07 09:35:09 +08:00
oxalica
8e4b0d6764 Initial impl for type inference 2022-11-07 09:14:10 +08:00
oxalica
19871b3842 Move string-related desugaring into syntax crate 2022-11-03 03:41:03 +08:00
oxalica
68d9663f8e Fix dev env 2022-10-24 09:01:04 +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
c84d1619d0 Refactor API of VfsPath 2022-10-11 02:44:14 +08:00
oxalica
756be130c8 Handle workspace/didChangeWatchedFiles
This notification is sent unexpectedly by VSCode, observed in #24.
2022-10-04 05:06:55 +08:00
oxalica
2a9dcd5b15 Resolve Path to VfsPath instead of FileId
This allows resolving to files not loaded. File existence check is
delayed to LSP server side.
2022-10-04 05:01:50 +08:00
oxalica
eb71b56015 Fix lost root changes 2022-10-04 04:03:19 +08:00
oxalica
4216d2a60d Update dependencies 2022-10-04 02:11:25 +08:00