Commit Graph

677 Commits

Author SHA1 Message Date
Alexandros Naskos
0bf9602d7b
Fixed infinite loop when analyzing variable declarations like const A = A; for semantic token highlighting 2020-11-15 20:37:00 +02:00
Alexandros Naskos
7ac3740c64
Merge pull request #192 from jedisct1/data-update
Update data for zig 0.7.0 and the current master branch
2020-11-15 19:46:15 +02:00
Frank Denis
ccfb18ec54 Update data for zig 0.7.0 and the current master branch 2020-11-15 12:01:33 +01:00
Alexandros Naskos
72f811e8dc
Recommend a release-fast build in the README 2020-11-08 18:01:07 +02:00
Alexandros Naskos
0d15ea754e
Added --debug-log flag for release mode binaries 2020-11-08 13:40:16 +02:00
Alexandros Naskos
bf7f6cd5e9
Corrected semantic token server provider struct 2020-11-06 15:55:00 +02:00
Alexandros Naskos
f363a1fbdb
Fixed session tests 2020-11-06 12:59:21 +02:00
Alexandros Naskos
8e0dc3da19
Fixed incremental document updates 2020-11-06 12:32:21 +02:00
Alexandros Naskos
d877019abe
Removed struct, enum, opaque, union token types, added them to token modifiers 2020-11-06 11:03:21 +02:00
Alexandros Naskos
42cbcdf751
Merge branch 'master' of github.com:zigtools/zls 2020-11-06 10:25:12 +02:00
Alexandros Naskos
abcccb5d85
Fixed session tests 2020-11-06 10:24:37 +02:00
Alexandros Naskos
f7eff6632e
Cleaned up LSP types, add InitializeResult, no longer use a hardcoded string 2020-11-06 10:08:20 +02:00
Alexandros Naskos
ab9bf89c25
Merge pull request #185 from truemedian/master
Update Github Workflows
2020-11-05 01:17:31 +02:00
Nameless
69bd1903df
add: run tests on linux 2020-11-04 17:15:57 -06:00
Nameless
fd08bf1789
add: run CI daily 2020-11-04 17:11:01 -06:00
Alexandros Naskos
996deb45fe
Added builtin hover handler 2020-11-05 00:54:47 +02:00
Nameless
705c5cf2da
Update Github Workflows 2020-11-04 16:50:29 -06:00
Alexandros Naskos
560b39d359
Better builtin data format and script 2020-11-05 00:39:24 +02:00
Alexandros Naskos
307ac34d4a
Fixed session tests. 2020-11-04 13:00:55 +02:00
Alexandros Naskos
5e327b41ba
Merge pull request #183 from leecannon/master
std.fmt.trim is now deprectated
2020-11-04 10:19:24 +02:00
Lee Cannon
6ade7cad3b
Update src/analysis.zig
Co-authored-by: Isaac Freund <ifreund@ifreund.xyz>
2020-11-03 22:44:50 +00:00
Lee Cannon
60fbb33a20 Use std.mem.trim instead of std.fmt.trim 2020-11-02 14:02:35 +00:00
Alexandros Naskos
3cbf7dbe05
Merge pull request #182 from arqv/nix
Fix Nix derivation
2020-10-31 22:42:49 +02:00
Lyla Bravo
efdda5c51b Fix Nix derivation 2020-10-31 17:36:37 -03:00
Alexandros Naskos
d2aca17683
Merge pull request #177 from arqv/nix
Add Nix derivation
2020-10-31 22:06:02 +02:00
Lyla Bravo
f9df6eb340 Added configuration options (fixed) 2020-10-31 17:05:19 -03:00
Lyla Bravo
ff6686cd66 moved Zig reference to arqv/zig-overlay 2020-10-26 15:29:09 -03:00
Lyla Bravo
cbb603a63c Removed nix/ directory (used by Niv).
Now the derivation uses the system's `nixpkgs` and fetches `gitignore.nix` directly from it's GitHub repository
2020-10-26 00:23:10 -03:00
Lyla Bravo
55e40e6004 Added Nix derivation. 2020-10-26 00:03:30 -03:00
Alexandros Naskos
e8c20351d8
Merge pull request #173 from data-man/inc_EBQ
Increase eval branch quota
2020-10-22 17:31:51 +03:00
Auguste Rame
40a47103c4
Merge pull request #174 from truemedian/patch-1
Remove -Dallocation_info from CI build
2020-10-19 00:49:13 -04:00
Nameless
4f633c45dc
Remove -Dallocation_info from CI build
With the removal of the debug allocator, this was also removed from the build.zig, and causes the CI to fail.
2020-10-18 21:11:45 -05:00
data-man
fdcb7c264f Increase eval branch quota 2020-10-18 14:18:11 +05:00
Auguste Rame
663d811a64
Merge pull request #171 from ifreund/macos-rename
Update known-folders to fix build
2020-10-16 13:41:49 -04:00
Isaac Freund
0e75622f87
Update known-folders to fix build
The build currently fails due to renaming of macosx to macos.
2020-10-15 19:34:37 +02:00
Alexandros Naskos
27f9f14ab3 Removed DebugAllocator, use std.heap.GeneralPurposeAllocator 2020-10-10 12:44:37 +03:00
Alexandros Naskos
162f1b2fbe Opaque type support 2020-10-10 12:25:50 +03:00
Alexandros Naskos
c1d7f0ffa7 Fix build_runner.zig 2020-10-04 17:08:49 +03:00
Alexandros Naskos
4f636649a5 Merge branch 'master' of https://github.com/zigtools/zls 2020-10-04 13:11:14 +03:00
Alexandros Naskos
a2265afce0 Added keywordLiteral token type for null, true, false, undefined, unreachable, fixed all pointer type semantic token generation 2020-10-04 13:10:48 +03:00
Alexandros Naskos
6823b0d61a
Merge pull request #166 from Cattes/patch-2
Added path of zls exec to Installation section
2020-10-03 01:02:54 +03:00
Sebastian Cattes
9ce1c1a140
Added path of zls exec to Installation section 2020-10-02 22:07:26 +02:00
Alexandros Naskos
bfb96d951b Fixed prefix op semantic tokens 2020-10-02 15:01:49 +03:00
Alexandros Naskos
751f66068b Some semantic tokens fixes 2020-10-02 14:59:12 +03:00
Alexandros Naskos
789f3b1781
Merge pull request #163 from tadeokondrak/lsp-3.16-semantic-tokens
LSP 3.16 semantic tokens
2020-09-27 14:29:43 +03:00
Tadeo Kondrak
b52817cd8f
Update to LSP version 3.16 semantic tokens protocol 2020-09-25 15:31:54 -06:00
Tadeo Kondrak
2559f5c6fd
semantic_tokens: Don't @bitCast a flags structure to an integer
No idea why this isn't working, but it was sending the wrong thing.
2020-09-25 15:23:03 -06:00
Auguste Rame
3b1d425174
Merge pull request #161 from lithdew/integer-overflow
offsets: fix integer overflow
2020-09-25 00:18:26 -04:00
lithdew
f5b4fc2aea offsets: fix integer overflow 2020-09-25 12:59:45 +09:00
Alexandros Naskos
39b0f50bda Exposed analysis functions used by analysis-buddy 2020-09-12 18:48:09 +03:00