nullptrdevs
b08480256c
Update the main CI workflow ( #742 )
...
rename i386 to x86
update actions/checkout to v3 (v2 uses Node.js 12 which is about to be deprecated)
2022-11-05 23:52:07 -04:00
Sage Hane
6420296a82
Nix: Pass -Dcpu=baseline
to zig build
( #739 )
...
* update flake.lock
* Nix: Pass `-Dcpu=baseline` to `zig build`
2022-11-03 14:44:01 -04:00
Lee Cannon
690189a5a7
add workflow to check build_runner works with a range of zig versions ( #732 )
2022-11-02 20:06:01 -04:00
BratishkaErik
95f21d0d23
Add builtin data for 0.9.1 and 0.10.0 ( #735 )
...
* Add builtin data for 0.9.1
* Add builtin data for 0.10.0
* Update builtin data for master
2022-11-02 16:24:51 -04:00
Alexandros Naskos
f7c3d22e73
Merge pull request #692 from tomc1998/master
...
Fix crash when getting signature of optional
2022-11-02 19:17:13 +02:00
Alexandros Naskos
a4ffd5d35b
Merge pull request #734 from nektro/patch-2
...
update minimum zig version to 0.10.0-dev.4458+b120c819d
2022-11-02 18:59:24 +02:00
Alexandros Naskos
0c3d5df583
Merge pull request #733 from leecannon/dont_always_run_ci
...
Only run CI workflow if a zig file changed
2022-11-02 18:35:38 +02:00
Tom Cheng
af14067911
Fix crash when getting signature of optional
...
e.g. typing 'foo.?.bar(' crashes zls because it doesn't recognize ? as a
possible token as part of a function expression, and tries to call
getFieldAccessType with '.bar' instead.
The actual fix is the one line in src/signature_help.zig
getFieldAccessType was reworked to be more resilient to this type of
thing - the `undefined` value of `current_type.type.data` was being used
since it hit the `.period` branch first. This caused the crash.
2022-11-02 14:55:22 +00:00
Meghan
bb727d263b
update minimum zig version
...
followup to 886cfeacb5
2022-11-01 22:30:16 -07:00
Lee Cannon
e430b76297
only run CI workflow if atleast one zig file changed
2022-11-01 21:46:27 +00:00
Lee Cannon
7ef224467a
Merge pull request #731 from Prince213/readme-fix
...
Readme fix
2022-11-01 12:08:45 +00:00
Sizhe Zhao
79b7876b81
README.md: Fix typo
2022-11-01 17:00:15 +08:00
Sizhe Zhao
180a75ee0d
README.md: Remove trailing spaces
2022-11-01 16:52:23 +08:00
Sizhe Zhao
4ff9cdb069
README.md: Add missing punctuation
2022-11-01 16:49:08 +08:00
musi-musi
2ae113ddcf
fixed jrpc config treating empty strings as non null ( #727 )
2022-10-30 00:30:03 -04:00
Techatrix
7a7576c06d
fix symbol references ( #712 )
...
* fix symbol references
* skip references for inline assembly
2022-10-29 04:37:52 -04:00
InKryption
51a7ae2274
Fix region folding off-by-one error ( #726 )
2022-10-28 16:59:33 -04:00
InKryption
7fe62147a3
Improve folding regions ( #720 )
2022-10-28 14:35:22 -04:00
Auguste Rame
ced6e97cc2
Fix build runner optional issue ( #725 )
2022-10-28 04:02:08 -04:00
Techatrix
862d30055a
fix cimport completion ( #722 )
2022-10-28 00:38:36 -04:00
Techatrix
bca02bfde5
fix invalid union access in build_runner.zig ( #723 )
2022-10-28 00:37:54 -04:00
Techatrix
13f3b200bc
add tests for completion ( #719 )
2022-10-27 16:25:44 -04:00
ktiy
befb2d148b
update flake.lock ( #710 )
2022-10-25 23:24:18 -04:00
Techatrix
88750d2529
fix allocator mismatch in tagStoreCompletionItems ( #717 )
2022-10-25 23:22:15 -04:00
Luca Sas
2a17590bf4
Added textDocument/foldingRange ( #718 )
...
* Added textDocument/foldingRange
* Added support for code regions
* Fixed warning message in foldingRangeHandler
Co-authored-by: LucaSas <sas.luca.alex@gmail.com>
2022-10-25 10:35:16 -04:00
Auguste Rame
5ddbf24d11
Fix diagnostics ( #716 )
2022-10-21 12:24:26 -04:00
Lee Cannon
6358c5b23e
Merge pull request #714 from Techatrix/fs-completion-fix
...
fix file system completion crash
2022-10-20 17:39:10 +01:00
Techatrix
a0723dbffd
add missing semicolon
2022-10-20 18:25:06 +02:00
IntegratedQuantum
886cfeacb5
Replace @minimum and @maximum with @min and @max. ( #713 )
2022-10-19 18:26:12 -04:00
Techatrix
7c54ded487
Merge pull request #702 from Techatrix/document-store-refactor
...
DocumentStore refactor
2022-10-18 11:40:14 +02:00
Techatrix
2755d8d8b7
simplify dependency collection in references.zig
2022-10-17 21:20:27 +02:00
Techatrix
8fb7379d71
return null if file can't be read in documentstore
2022-10-17 20:46:31 +02:00
Techatrix
2158a201ad
add separate function for loading handles with getOrLoadHandle
2022-10-17 20:43:11 +02:00
Techatrix
89be8e0211
return const Handle from getHandle
2022-10-17 20:33:37 +02:00
Techatrix
ba007b3558
fix tagStoreCompletionItems
2022-10-17 20:25:51 +02:00
Techatrix
4316524226
add more tracy calls in documentstore
2022-10-17 20:23:51 +02:00
Techatrix
9f688cf4ed
simplify tagStoreCompletionItems
2022-10-17 20:20:34 +02:00
Techatrix
0cfc792849
load handles on demand instead of ahead of time
2022-10-16 17:26:06 +02:00
Techatrix
25ce5dd8aa
undo DocumentStore constness changes
2022-10-16 17:17:40 +02:00
ryuukk
472e28ad5c
builtins also get their detailed label ( #706 )
2022-10-14 12:24:22 -04:00
Lee Cannon
f6b947ea5f
Merge pull request #709 from nektro/patch-2
...
build.zig: ensure user zig matches program minimum
2022-10-13 20:49:46 +01:00
Meghan
7aa8f839f1
ci fix
2022-10-13 09:49:09 -07:00
Meghan
e1c86158cc
fix CI oops
2022-10-13 09:47:22 -07:00
Meghan
b434197fe8
build.zig: ensure user zig matches program minimum
2022-10-13 09:44:25 -07:00
ryuukk
cd887838f7
disable label details if client only support old lsp ( #707 )
2022-10-13 04:03:58 -04:00
IntegratedQuantum
62861193a6
Allow tabs for the indentation added by code actions. ( #684 )
...
* Allow tabs for the indentation added by the code actions feature (#673 ).
The previous implementation always assumed spaces for indentation.
But in stage2 code may contain tabs for indentation as well.
* Fix some edge cases, properly detect indentation(any amount of spaces) and move the indentation code inside `createDiscardText()`.
2022-10-12 22:41:27 -04:00
Techatrix
06ba47d460
improve document of DocumentStore.zig
2022-10-10 20:01:54 +02:00
Techatrix
aff2c3234f
fix relative_builtin_path option
2022-10-10 19:43:50 +02:00
Techatrix
420e7f2fef
correctly resolve import("builtin")
2022-10-10 19:22:54 +02:00
Techatrix
2bc83741fb
update cimport diagnostic collection
2022-10-10 19:16:23 +02:00