Commit Graph

118 Commits

Author SHA1 Message Date
Sora
94882d2e64
Update config to highlight danger of the comptime interpreter (#1162) 2023-04-30 13:21:43 -04:00
Techarix
4215edbc33 add support for running ast-check without zig 2023-04-01 23:03:51 +02:00
Veikka Tuominen
61b42ca63a make semantic token configuration an enum 2023-03-23 15:02:12 +00:00
Techatrix
0aacb76743
support enums in config_gen (#1072)
* support enum types in config_gen

* fix typo
2023-03-17 02:27:35 -04:00
Techatrix
0475d868c4
update git clone command in README.md (#1065) 2023-03-14 20:21:14 -04:00
Auguste Rame
121f68b970
Fix build runner (#1029)
* Fix build runner

* Add zls module, bump version

* Fix path from root issue in modules (thanks daremakemyday from Twitch :))

* Libraryify

* remove build_runner backward compatibility

* Remove some `= undefined`s in Server.zig

Makes library use less dangerous

* Consistent mem model + custom build runner possible

* Add build runner utils for third-party tooling

* Make logs removable in libraries with zls_ prefix

* Fix build runner CI

* Expose references

* Use new addModule
2023-03-05 14:08:31 -05:00
Lee Cannon
8bd5358748
build_runner: provide valid global cache to the build runner (#1009) 2023-02-17 15:26:03 -05:00
Jesper Wendel Devantier
ebbe455722
make build docs reflect zig 0.11 cli args (#983) 2023-02-07 17:46:15 -05:00
Techatrix
805e8389cb Update README.md 2023-01-28 22:40:37 +00:00
Techatrix
fa5828496e
Generate data files in config_gen.zig (#903)
* generate data files in config_gen.zig

* remove trailing comma from config.json

* update README.md

* run zig build gen

* handle some unclosed tags

* update data file header

* generate new data files

* remove old data file generators
2023-01-19 01:46:42 -05:00
Techatrix
9badc745c5
remove setup wizard (#878)
* remove setup wizard

* add back findZig function
2023-01-02 13:54:13 -05:00
Techatrix
b95d5095af
enable all capabilities by default (#877) 2023-01-02 04:02:28 -05:00
Techatrix
3449269fd3
Add a replay feature to zls (#857)
* add config options for `zls --replay`

* implement `zls --replay`

* remove carriage return from zls replay files

* add missing arguments for Server.init in tests
2022-12-31 01:45:45 -05:00
Rekai Musuka
faee213658
chore: add command for updating master.zig on windows (#859) 2022-12-28 21:59:00 -05:00
Techatrix
1ae341850e
automatically generate config associated files (#813) 2022-12-11 13:10:48 +02:00
Auguste Rame
40167a5b52
Simplify install procedure (#764)
* Shrink the README, simplify install procedure

* Remove old assets, goodbye cute badge :(

* Remove wiki references

* Actually describe what this is
2022-11-18 14:33:24 -05:00
Auguste Rame
87aa4c09e1
Quick comptime interpreter fix, place it behind an option (#761)
* Quick fix

* Add config option
2022-11-16 19:28:01 -05:00
Techatrix
e68c99ccc8
shout-out to zls for helping with zls's development (#760) 2022-11-16 18:02:45 -05:00
Auguste Rame
68ab004bb1
Add Open Collective (#751) 2022-11-15 15:00:05 -05:00
kama-meshi
415243472b
Update the command of installing binaries to install v0.10.0. 2022-11-12 23:48:50 +09: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
nullptrdevs
19fd17ff76
ability to highlight global variables (#655)
anything declared with "var" at the root level
2022-10-10 01:13:15 -04:00
Auguste Rame
ac6353add7
Update some config sites (#695) 2022-10-01 13:41:55 -04:00
J.C. Moyer
5fd2e87c5b Fix typo in readme 2022-09-28 08:31:00 -04:00
J.C. Moyer
340290a406 Document per-build configuration options 2022-09-28 04:26:20 -04:00
Techatrix
cfb7c16de0 add enable_autofix option 2022-09-24 21:30:36 +02:00
haze
866655169c
Add chmod +x command to macOS install instructions (#640) 2022-09-10 14:07:35 -04:00
Techatrix
2509673d95 update README.md 2022-09-03 19:00:12 +02:00
Techatrix
d8b574a0cc enable ast-check by default 2022-09-03 15:12:34 +02:00
Techatrix
72cb6f0e28 update README.md 2022-08-22 17:06:36 +02:00
Zzzen
3e20a7a50b
fix link of VS Code (#593) 2022-08-21 11:33:28 -04:00
Techatrix
0436b05b80 rename build_runner_cache_path to global_cache_path 2022-08-18 23:14:32 +02:00
Techatrix
224332d3a8 update README.md and setup
- update notes for VS Code according to new changes in zls-vscode
- add instructions for setting up Helix editor
2022-07-24 17:01:05 +02:00
Techatrix
0ecdeeecb1
Implement textDocument/inlayHint (#559)
* Implement textDocument/inlayHint

* Add corresponding Config options
2022-07-24 07:38:13 -04:00
wongxy
5fae56fb40
docs(neovim/vim): Update instruction for Coc 2022-07-23 15:56:01 +08:00
Auguste Rame
4507f4a275
Add Discord link, DocumentStore now uses the config source of truth! 2022-07-15 14:51:36 +02:00
Auguste Rame
3b33750f59 Add config option, fix config wizard, fix random crash and extern unused highlighting 2022-07-09 05:23:53 -04:00
Auguste Rame
a96532aa65 Add config option for unused vars 2022-07-08 04:26:31 -04:00
alvv-z
327e66c12b Expand table to include include_at_in_builtins and max_detail_length 2022-06-06 14:03:19 -04:00
Riccardo Binetti
259f056bd2 Add support for Spacemacs
Add Spacemacs setup instructions to README and configuration wizard
2022-06-06 14:03:04 -04:00
029onikyu
825f4ae584 Add step to Kate installation instructions
Without this, the editor will not attempt to launch the language server as it does not have any notion of what language a `.zig` file is for.
2022-06-06 13:48:12 -04:00
Jon Palmisciano
f7bc95500a
Update prebuilt release URLs 2021-12-31 22:00:42 -05:00
Daniel M
7793b7250c Fix and generalize broken link to Sublime Text instructions 2021-11-24 19:59:19 -05:00
Ryan Liptak
4d6d842fa5 Update Sublime LSP settings for Sublime Text 4
"selector" is now the preferred method of configuration, everything else was deprecated in SublimeLSP 4070-1.1.0: https://github.com/sublimelsp/LSP/releases/tag/4070-1.1.0

Also syncs setup.zig with the readme for the Sublime Text 3 settings (the Zig Language package name was wrong in setup.zig)
2021-11-02 22:14:58 -04: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
Sacredbirdman
a1152d081c Small clarification to Doom Emacs config 2021-07-10 15:12:51 +03:00
Piotr Usewicz
eed9f9e624
Update link to the folder list 2021-06-24 07:59:03 +02:00
Jonathan Hähne
75803b35b1 Update docs to reflect github.com/ziglang/zig/pull/8638 2021-05-13 15:01:51 +02:00