Commit Graph

1655 Commits

Author SHA1 Message Date
Lee Cannon
2e3d66e465
update std.debug.TTY to std.io.tty 2023-05-25 17:13:10 +01:00
Victor Song
0af42d5608 Replace nonexistent std.sort.sort with std.mem.sort 2023-05-24 02:13:43 -05:00
Lee Cannon
2ff2593a86
Merge pull request #1197 from Techatrix/invalidate-analysis-cache
invalidate Analyser on didClose
2023-05-21 15:31:40 -07:00
Techatrix
a64b63333a invalidate Analyser on didClose 2023-05-21 22:56:42 +02:00
Lee Cannon
af65197cc2
Merge pull request #1103 from Techatrix/refactor-semantic-tokens
provide more semantic token information + refactor and fixes
2023-05-21 13:52:30 -07:00
Techatrix
5cc7b1341e skip std module resolution test on webassembly target 2023-05-21 21:48:46 +02:00
Techatrix
6f0907bc16 fix semantic tokens on union and enum container fields 2023-05-21 21:48:46 +02:00
Techatrix
cde544125a bring semantic token types and modifiers closer to predefined ones 2023-05-21 21:48:46 +02:00
Techatrix
d9965c7834 fix semantic tokens on if capture by ref 2023-05-21 21:48:46 +02:00
Techatrix
498517ba71 replace semantic token type .field with .property 2023-05-21 21:48:46 +02:00
Techatrix
6836f9361d use std.meta.fieldNames instead of manually re-implementing it 2023-05-21 21:48:46 +02:00
Techatrix
ae5fa110b5 test and simplify semantic tokens on function call 2023-05-21 21:48:46 +02:00
Techatrix
3fefcfb398 simplify semantic token comment handling 2023-05-21 21:48:46 +02:00
Lee Cannon
668d82d440
Merge pull request #1193 from nullptrdevs/cfg-gen
Update `config_gen` and data
2023-05-20 04:10:47 -07:00
Lee Cannon
187b3b048c
Merge pull request #1194 from sagehane/flake
Update Nix Flakes file
2023-05-20 04:10:16 -07:00
Sage Hane
edf83bcf00
Update Nix Flakes file
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/8d447c5626cfefb9b129d5b30103344377fe09bc' (2023-05-09)
  → 'github:NixOS/nixpkgs/7721e0d2c1845c24eafd5a016b9d349187c48097' (2023-05-18)
• Updated input 'tres':
    '707a09313b.tar.gz?narHash=sha256-WFI%2fnXcxy05kfrl4kLjP0LfwO9xCqjxKg7ZPEKiB6NY='
  → '220d01f393.tar.gz?narHash=sha256-yhAH7npmBmlOkoHAitbDEv9CUx3zOc2GyErR8WPQCYQ='
• Updated input 'zig-overlay':
    'github:mitchellh/zig-overlay/7b05e01b76b1776859170ab9a8fe55e412cf17a1' (2023-05-09)
  → 'github:mitchellh/zig-overlay/15a16045ada1b3d22454f61c5902f0a5b1e7bec6' (2023-05-19)
2023-05-20 00:41:23 +02:00
nullptrdevs
e6996f5f66 Update config_gen and data 2023-05-18 21:23:17 -07:00
Techatrix
3500aa7a76
update to new std.json api (#1191)
* update lsp.zig

* update to new `std.json` api

* update min zig version

* fix json api
2023-05-18 20:46:22 -04:00
Lee Cannon
16453c31b0
Merge pull request #1192 from Techatrix/hover-on-wrong-tree
access tree of resolved typed on hover
2023-05-16 11:42:56 -07:00
Techarix
64fb0246fc access tree of resolved typed on hover 2023-05-16 19:41:46 +02:00
Ai Hoshino
91645612e6
Fix panic caused by custom zls.json path (#1177)
* fix(config): fix panic caused by custom configuration file path.

* fix(config): revert `openDir` related code
2023-05-13 01:53:44 -04:00
Lee Cannon
d0a9911a3a
Merge pull request #1184 from Techatrix/fix-semantic-tokens-on-continue
fix semantic token generation crash on continue expression
2023-05-11 12:36:04 -07:00
Lee Cannon
8601b3f790
remove usage of std.meta.tagName as it is deprecated (#1186) 2023-05-10 15:39:32 -04:00
Techarix
1bbdcab3ac fix semantic token generation crash on continue expression 2023-05-10 15:05:29 +02:00
Techatrix
d3f127e78e
Update tracy to 0.9.1 (#1182)
* update tracy to 0.9.1

* set allocation and callstack tracing by default when tracy is enabled
2023-05-09 18:38:09 -04:00
Lee Cannon
f31792ceea
Merge pull request #1181 from sagehane/version_bump
build.zig: Update minimum Zig version
2023-05-09 10:03:32 -07:00
Sage Hane
02a5014299
flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/358a179550508bf2dafdf1657a94b7f65d91c4bf' (2023-04-28)
  → 'github:NixOS/nixpkgs/8d447c5626cfefb9b129d5b30103344377fe09bc' (2023-05-09)
• Updated input 'zig-overlay':
    'github:mitchellh/zig-overlay/f555394c03b10e455b465a6c657c5a6ddd89c5a8' (2023-04-29)
  → 'github:mitchellh/zig-overlay/7b05e01b76b1776859170ab9a8fe55e412cf17a1' (2023-05-09)
2023-05-09 18:21:13 +02:00
Sage Hane
449788c0a2
build.zig: Update minimum Zig version 2023-05-09 18:21:02 +02:00
Techatrix
029f5094ff
various intern pool & comptime interpreter changes (#1179)
* intern_pool: add getUnsignedInt

* add an empty struct literal

* resolve array length as usize in comptime interpreter

* use only one global intern pool

* store analysis errors in `DocumentStore.Handle`

* add typed undefined value

* add typed null value
2023-05-09 00:25:26 -04:00
Lee Cannon
f6c808a4b3
Merge pull request #1178 from Techatrix/stage2-zir
update stage2 sources
2023-05-08 14:06:31 -07:00
Techarix
f2c064c957 update stage2 sources 2023-05-08 20:38:05 +02:00
Lee Cannon
28863f4158
Merge pull request #1169 from paoda/master
chore: update master version data
2023-05-04 01:47:54 -07:00
Rekai Musuka
ec50d33241 fix: update test case involving @memcpy 2023-05-04 00:51:13 -05:00
Rekai Musuka
95158cf578 chore: update master version data 2023-05-04 00:34:28 -05:00
Lee Cannon
fd05faf51a
print zls version and path during startup (#1165)
* print zls version during startup

* print zls executable path during startup
2023-05-02 18:54:13 -04:00
Lee Cannon
3040c34d97
Merge pull request #1160 from acristoffers/master
Updates zig-overlay referenced commit.
2023-05-02 09:55:42 -07:00
Álan Crístoffer
347aee47b3 Removes default.nix 2023-04-30 21:37:07 +02:00
Sora
94882d2e64
Update config to highlight danger of the comptime interpreter (#1162) 2023-04-30 13:21:43 -04:00
Lee Cannon
b4bcbeea55
Merge pull request #1154 from sagehane/nix
flake.lock: Update
2023-04-29 05:10:22 -07:00
Lee Cannon
dd2fb2d9e1
Merge pull request #1159 from sagehane/minimum
build.zig: Update minimum Zig version
2023-04-29 05:09:59 -07:00
Sage Hane
71a202f12a
build.zig: Update minimum Zig version
Requires the minimum version to support https://github.com/ziglang/zig/pull/15278
2023-04-29 12:19:42 +02:00
Sage Hane
733881bde4
flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/c58e6fbf258df1572b535ac1868ec42faf7675dd' (2023-04-13)
  → 'github:NixOS/nixpkgs/358a179550508bf2dafdf1657a94b7f65d91c4bf' (2023-04-28)
• Updated input 'zig-overlay':
    'github:mitchellh/zig-overlay/097485122ab0a997ed094a26c11d437a86f4cd93' (2023-04-14)
  → 'github:mitchellh/zig-overlay/f555394c03b10e455b465a6c657c5a6ddd89c5a8' (2023-04-29)
2023-04-29 11:41:29 +02:00
travisstaloch
1ef3944cb0
chore: use new @memset api (#1156) 2023-04-27 18:27:59 -04:00
Lee Cannon
50f0753a0e
Merge pull request #1153 from nullptrdevs/update_config_gen
Update `config_gen` and data
2023-04-26 09:35:47 +01:00
nullptrdevs
30c49e11df Update config_gen and data 2023-04-26 00:42:38 -07:00
Lee Cannon
71e819c56a
Merge pull request #1148 from nullptrdevs/misc-fixes
Mem fixes
2023-04-24 14:59:57 +01:00
Lee Cannon
d4bc2c2349
Merge pull request #1150 from Techatrix/gen-data-files
update config gen according to new `std.http` changes
2023-04-24 14:58:52 +01:00
Lee Cannon
7b79a99f6d
Merge pull request #1152 from artix-boi/master
Fix to make zls compile for 0.11.0-dev.2775+21aa55d34.
2023-04-24 13:48:46 +01:00
Mridul Krishna Mishra
d122cbf157
Fix to make zls compile for 0.11.0-dev.2775+21aa55d34. 2023-04-24 17:19:48 +05:30
Techatrix
5fd5ae0677 update config gen according to new std.http changes 2023-04-23 19:11:04 +02:00