Commit Graph

1186 Commits

Author SHA1 Message Date
Alexandros Naskos
70cfba0eb9
Fixed unit tests 2021-07-10 20:05:16 +03:00
Alexandros Naskos
bba069526c
Fix build for zig master by inserting null terminators when tokenizing and resetting them when needed 2021-07-10 19:58:37 +03:00
Alexandros Naskos
d38d67ab7d
Merge pull request #361 from Prince213/data-gen-ng
Introducing new method of generating data files
2021-07-10 17:29:39 +03:00
Sizhe Zhao
86d49acdb0 Introducing new method of generating data files
A new file src/data/generate-data.py has been added.
It is written in Python 3 and has some new features like:
- It doesn't need Chrome to work, the script fetches the page automatically;
- It does the translation of HTML tags for better user experiences in editors.
In addition, a new section has been added to README.md to reflect this change.
2021-07-10 21:21:54 +08:00
Alexandros Naskos
1cac8a9a3a
Merge pull request #360 from sacredbirdman/master
Small clarification to Doom Emacs config
2021-07-10 16:00:22 +03:00
Sacredbirdman
a1152d081c Small clarification to Doom Emacs config 2021-07-10 15:12:51 +03:00
Alexandros Naskos
589c124298
Merge pull request #359 from Prince213/data-gen-improvements
Data gen improvements
2021-07-09 18:52:44 +03:00
Sizhe Zhao
14a70a38af Update master data 2021-07-09 23:45:48 +08:00
Sizhe Zhao
c3c4eb9c9d Update src/data/generate-data.js to translate code tags 2021-07-09 23:45:00 +08:00
Alexandros Naskos
3feba5ec0b
Merge pull request #351 from leecannon/moved_backwards
Handle tag moved backwards without logging
2021-06-27 10:57:57 +03:00
Lee Cannon
b1fee2dad2 Fix tests 2021-06-26 21:13:00 +01:00
Lee Cannon
62d287e518 Handle tag moved backwards without logging 2021-06-26 20:56:22 +01:00
Alexandros Naskos
865ca42ed4
Merge pull request #346 from pusewicz/patch-1
Update link to the folder list
2021-06-24 15:10:55 +03:00
Alexandros Naskos
5a3ce6e1c3
Merge pull request #350 from leecannon/master
Update known-folders submodule
2021-06-24 15:10:46 +03:00
Lee Cannon
7fb05da5a1 Update known-folders submodule 2021-06-24 12:31:35 +01:00
Alexandros Naskos
96af681d21
Merge pull request #349 from leecannon/unused
Update to zig master
2021-06-24 14:28:19 +03:00
Lee Cannon
ac4b198869 Update to zig master
Redundant comptime, unused locals, unused function params, unused captures

As issue with @"type" resolving to the keyword type
2021-06-24 11:38:01 +01:00
Piotr Usewicz
eed9f9e624
Update link to the folder list 2021-06-24 07:59:03 +02:00
Alexandros Naskos
bcfd7c6392
Merge pull request #344 from leecannon/per_build_config
Attempt at per build.zig config
2021-06-18 16:40:42 +03:00
Alexandros Naskos
8319337db6
Merge pull request #343 from leecannon/index_out_of_range
Fix index out of range
2021-06-18 16:38:59 +03:00
Lee Cannon
154a2a8704 Add a per build.zig configuration file. 2021-06-18 13:22:37 +01:00
Lee Cannon
c2cbc05135 Fix index of of range 2021-06-18 12:58:15 +01:00
Alexandros Naskos
a02c1e7996
Build runner: Only output generated package path if it is available 2021-06-16 14:47:54 +03:00
Alexandros Naskos
fdb5e8f9fb
Merge pull request #342 from leecannon/patch-2
More changes to std.build :)
2021-06-16 01:17:04 +03:00
Lee Cannon
1178ebd2e2
More changes to std.build :) 2021-06-15 21:15:55 +01:00
Alexandros Naskos
66d629f3f2
Merge pull request #341 from leecannon/patch-1
Update to new std.build changes
2021-06-13 11:53:55 +03:00
Lee Cannon
a077cf901d
Update build_runner.zig
I'm not 100% sure if the `GeneratedFile`'s path will have been resolved when this code runs or if this will hit the panic inside `getPath()` as I havent had a chance to actually mess about with the new functionality.
2021-06-12 23:06:48 +01:00
Lee Cannon
0eee9dcd9f
Update to new std.build changes
A few functions now take `std.build.FileSource`
2021-06-12 22:52:51 +01:00
Alexandros Naskos
39d8718864
Merge pull request #339 from bnjmnt4n/nix
[WIP] Fix Nix build
2021-06-06 01:21:30 +03:00
Benjamin Tan
70ce776d00
Add system attribute 2021-06-06 04:15:06 +08:00
Benjamin Tan
7d11e228cc
Pass pkgs into zig-overlay 2021-06-06 04:12:07 +08:00
Benjamin Tan
0128659a82
Avoid importing <nixpkgs> if possible 2021-06-06 04:05:41 +08:00
Benjamin Tan
f43214ddd0
Fix Nix build
The older version of `zig-overlay` used was unable to handle the newer
directory layout of Zig tarballs, so `zig-overlay` has been updated and
is currently using a `master` version of Zig.

Additionally, `zls.json` was removed since `zls` will now only look for
it in local or global configuration folders.

Closes #330.
2021-06-05 23:52:54 +08:00
Alexandros Naskos
b756ed4da5
Fixed HashMap usage for latest master stdlib 2021-06-04 14:06:11 +03:00
Alexandros Naskos
affbd2de6b
Merge pull request #335 from jedisct1/zls-gray
Make ZLS logo readable when GitHub is in dark mode
2021-05-24 10:52:45 +03:00
Alexandros Naskos
4855a7b85d
Merge pull request #334 from jedisct1/master-sync
Update for -master
2021-05-24 10:52:34 +03:00
Frank Denis
7cc1fb4ddf Make ZLS logo readable when GitHub is in dark mode
"Language Server" is written in black, which is barely readable
when the GitHub UI is configured in dark mode.

Switch to gray, which works with in light and dark modes.
2021-05-23 18:09:24 +02:00
Frank Denis
df9560db51 Update for -master
fn_proto.extern_export_token -> fn_proto.extern_export_inline_token

And update the data by the way.
2021-05-23 18:01:03 +02:00
Alexandros Naskos
b33cb8fc0d
Merge pull request #329 from leecannon/master
Call `resolveInstallPrefix` in build runner
2021-05-14 03:52:03 +03:00
Lee Cannon
584faec5de Call in build_runner 2021-05-13 21:29:05 +01:00
Alexandros Naskos
ec34c0b245
Merge pull request #328 from InterplanetaryEngineer/master
Update docs to reflect github.com/ziglang/zig/pull/8638
2021-05-13 17:56:16 +03:00
Alexandros Naskos
7fb7cdc36c
Fix std.testing.expectEqualStrings invocation for latest zig master build. 2021-05-13 17:53:53 +03:00
Jonathan Hähne
75803b35b1 Update docs to reflect github.com/ziglang/zig/pull/8638 2021-05-13 15:01:51 +02:00
Alexandros Naskos
759a7b7fd9
No longer show completions for declarations in aggregate types when
field accessing instances of those types.
2021-05-08 19:30:22 +03:00
Alexandros Naskos
5631b8d202
Fix semantic token generation for container fields with a byte alignment 2021-05-08 19:11:26 +03:00
Alexandros Naskos
14dc9d1b51
Don't use the build runner path as the build runner cache path if present >.> 2021-05-08 18:48:36 +03:00
Alexandros Naskos
3d62dd53a2
Merge pull request #320 from Luna1996/master
[bug-fix]hover struct field not show docs.
2021-05-07 12:27:25 +03:00
四光年
d4551030c4 [bug-fix]hover struct field not show docs. 2021-05-07 17:10:13 +08:00
Alexandros Naskos
b6e40b744d
Merge pull request #317 from Andoryuuta/patch-1
Added GitHub Actions link(s) in README
2021-05-04 15:36:02 +03:00
Andrew Gutekanst
8b1bcc45f1
Added GitHub Actions link(s) in README
Added GitHub Actions link(s) in README
2021-05-03 21:13:10 -04:00