Meghan Denny
8390aaa70b
use zinput as a package
2021-09-30 17:52:15 -07:00
Meghan Denny
6b3d4d7bd3
build.zig- use local builder
2021-09-30 17:46:10 -07:00
Michał Łępicki
ff23ea7c94
Fix build options for zig f30aa25cb
2021-08-28 17:22:41 +02: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
7f432d8715
Implemented the signature help request.
...
Refreshes builtin data, added 0.7.1 builtins
2021-04-02 20:49:01 +03:00
Alexandros Naskos
9cc8085699
Started signature help implementation
2021-04-01 14:20:37 +03:00
Jonathan Hähne
443d5c77a7
Remove config target from build
...
The configuration is per-installation and has nothing to do with the
build.
2021-03-30 23:52:25 +02:00
Jonathan Hähne
2fc9506fdc
Refactor config wizard
...
Deduplicated zig finder and added `zls config` subcommand
2021-03-30 23:52:25 +02:00
Jonathan Hähne
ec1ee55dee
Accelerate symbolReferencesInternal by another factor of 2 and activate unit tests
2021-03-29 14:08:38 +02:00
Jonathan Hähne
b33e26612a
Add option to truncate long completions
...
The detail entries for big structs such as std.zig.CrossTarget were
bricking the preview window in Sublime Text.
2021-03-27 20:37:51 +01:00
Jonathan Hähne
a2620d7f69
Add option for builtin completion insert text
2021-03-26 10:20:20 +01:00
Benjamin Tan
add0c567ad
Emacs: update setup instructions
...
`lsp-mode` now has built-in configuration for zls, so the only
configuration that might be required is setting the location of the zls
executable (or placing it in the PATH).
`doom-emacs` has not updated to use the latest version of `lsp-mode`
yet, so its configuration cannot be simplified. However, I've updated
the snippet for configuration to avoid loading `lsp-mode` on startup,
which can cause significant slowdown to Emacs startup, and instead defer
loading it until it is required.
2021-03-21 17:29:30 +08:00
Ominitay
88033a159f
Added Doom Emacs instructions to config
2021-03-18 10:44:24 +00:00
NotNite
fdace9abfe
use fs.resolve on path resolution
2021-03-13 23:25:37 -05:00
Auguste Rame
cca4967146
Itty bitty little fix
2021-01-10 10:57:24 -05:00
Lee Cannon
2a9edf243d
Fixed string printing with {s} format specifier
2021-01-04 17:51:26 +00:00
g-w1
6cf9ae8038
absolute check
2020-12-19 21:24:42 -05:00
root
60ad93ca34
Skip folder named zig while searching for zig executable on *nix
2020-11-23 22:20:22 -06:00
root
b208a33286
Skip folder named zig while searching for zig executable on *nix
2020-11-23 22:14:50 -06:00
Alexandros Naskos
bf4f653bf9
Better zig build config
2020-11-16 00:07:35 +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
560b39d359
Better builtin data format and script
2020-11-05 00:39:24 +02:00
Alexandros Naskos
27f9f14ab3
Removed DebugAllocator, use std.heap.GeneralPurposeAllocator
2020-10-10 12:44:37 +03:00
Auguste Rame
4f9f317374
Fix data option
2020-08-05 20:03:06 -04:00
Nameless
d4bd6d422e
add semantic tokens to config build step
2020-07-04 10:04:36 -05:00
Alexandros Naskos
c416f68d05
Fixed semantic tokens test
2020-07-03 14:21:32 +03:00
Alexandros Naskos
671318730a
Started adding session tests, finished (buggy) main loop rewrite
2020-06-30 15:46:43 +03:00
Alexandros Naskos
c2f8537d7b
Added maximum bytes allocated in debug allocator, as well as peak memory usage
2020-06-09 16:39:00 +03:00
SuperAuguste
20434839f1
add new instructions to config, start increasing debugability
2020-06-08 18:18:12 -04:00
Jakub Konka
665bb8d32e
Add Neovim/Vim8 option to config wizard
...
This commit adds minimal config option for Neovim/Vim8 editors
in the config wizard. It assumes use of CoC engine to facilitate
LSP.
2020-05-28 18:59:01 +02:00
SuperAuguste
0720452217
fix more no_names and build config
2020-05-27 21:14:27 -04:00
Alexandros Naskos
6f8fbe1ccb
Added tests.
2020-05-27 21:58:35 +03:00
data-man
33b453578f
Add usage instruction with Kate
2020-05-27 12:48:22 +05:00
data-man
862d9af030
Sublime Text 3 fix
2020-05-26 15:06:13 +05:00
SuperAuguste
f5b30cfd6c
zig build config is here!
2020-05-25 17:12:08 -04:00
Alexandros Naskos
3b052372c2
Added custom build runner, install it along with the zls binary
2020-05-25 03:22:39 +03:00
Alexandros Naskos
35b4913b3e
Removed no_snippets build option.
...
Instead, we now read a configuration file, zls.json in the same folder as the executable.
Options are defined in the struct config.zig and must have default values.
The only option right now is enable_snippets and it defaults to true.
2020-05-09 16:43:51 +03:00
Alexandros Naskos
02e57f5d59
Renamed leak_alloction build option to allocation_info
...
Switched to readAll and writeAll stream functions
Disabled logs on non-debug builds
Created freeDocument(doc), closeDocument(uri), called at appropriate sites
Removed _ = expr; for void values
Added and clarified some logging messages
Simplified builtin_completion generation
The JSON parser is now reused but reset after parsing a RPC
Fix memory leak when closing a document (last mem. leak)
Renamed leak_alloc to debug_alloc
Removed catch return statements from main(), rely on try to also get stacktraces instead
2020-05-08 02:53:00 +03:00
SuperAuguste
01ff89eea3
Add no_snippets
2020-05-07 13:16:04 -04:00
SuperAuguste
1725278be1
add master data, add data selection
2020-05-07 11:29:40 -04:00
Alexandros Naskos
0283222e3a
Added build option to enable the leak counting allocator.
...
Log the allocation count to the client at the end of the main loop.
Fixed two memory leaks in analysis.zig
2020-05-07 12:50:25 +03:00
SuperAuguste
88814b9589
better builtin completion, versioning
2020-05-02 12:43:26 -04:00
SuperAuguste
a0ff26cc8f
init
2020-04-24 18:19:03 -04:00