Commit Graph

1129 Commits

Author SHA1 Message Date
Auguste Rame
0c0cb261b7 Basic variable type resolution on hover 2022-07-08 15:15:50 -04:00
Auguste Rame
0f3eb1df36 Fix function snippets not working with details 2022-07-08 04:57:58 -04:00
Auguste Rame
a96532aa65 Add config option for unused vars 2022-07-08 04:26:31 -04:00
Auguste Rame
3f880a0c40 Tests pass? 2022-07-08 04:26:31 -04:00
Auguste Rame
e5e76c8063 Add super basic unused variable support 2022-07-08 04:26:31 -04:00
Auguste Rame
cad9b0aba2
Merge pull request #507 from ryuukk/label_details_support
Label details support
2022-07-07 03:15:55 -04:00
Auguste Rame
acb339ab95
Merge branch 'master' into label_details_support 2022-07-07 03:15:05 -04:00
ryuukk
7fa58ae1b8 Update test 2022-07-07 03:09:44 -04:00
ryuukk
9101cc7c3f Put constants/imports at the top 2022-07-07 03:09:44 -04:00
ryuukk
2fdb05f783 Append the actual label so it can then be sorted a-z 2022-07-07 03:09:44 -04:00
ryuukk
03f27ef145 Make Kind public 2022-07-07 03:09:44 -04:00
ryuukk
1abf328947 Cleanup 2022-07-07 03:09:44 -04:00
ryuukk
64fe8a6b03 Add sortText to CompletionItem struct 2022-07-07 03:09:44 -04:00
ryuukk
b625eb763e Sort completion items 2022-07-07 03:09:44 -04:00
Lee Cannon
e9e4a15224 fix memory leak 2022-06-27 10:14:18 -04:00
Yuri Pieters
178e823d77 Ease debugging package loading from build_runner 2022-06-24 16:15:01 -04:00
ryuukk
c964c4545a
Add link to the note 2022-06-24 13:37:24 +02:00
ryuukk
64f525f95f
Implement label details support 2022-06-23 16:44:22 +02:00
ryuukk
803f89941b
Update request to enable label details support 2022-06-23 16:44:01 +02:00
ryuukk
2a181af823
Update types for label details support 2022-06-23 16:43:23 +02:00
Loris Cro
fc5b1c6457 fix off by one error in documentRange 2022-06-09 18:12:15 -04:00
Gerred Dillon
083dd5fbdf Remove duplicated deinit defer for GPA 2022-06-09 17:05:03 -04:00
Tw
769fecf9c8 only send format editings when necessary
If the original document is same as the formatted one, there's no need to send the unchanged
document's content back which will make the client confused.

Signed-off-by: Tw <tw19881113@gmail.com>
2022-06-08 22:54:17 -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
Auguste Rame
29d2dd6802 Add tracy 2022-06-06 00:28:52 -04:00
Auguste Rame
2fc5047cbd Add tracy submodule 2022-06-06 00:28:52 -04:00
Gregory Anders
289d137d13 Ignore unimplemented notifications
Responding to an unimplemented notification can cause errors for some
LSP clients that do not expect to receive a response after sending a
notification. Differentiate between unimplemented requests and
notifications and only send a generic null response for the former while
silently ignoring the latter.
2022-06-05 17:26:56 -04:00
Auguste Rame
ebc6de9673 Remove zinput dependency 2022-06-05 13:36:43 -04:00
Auguste Rame
e320dbd651 Add builtin path to configuration struct 2022-06-05 13:36:28 -04:00
Vesim
f5fb4afd7c implement workspace/configuration 2022-06-05 13:36:28 -04:00
Auguste Rame
04611ba1a1
Fix build runner for latest Zig 2022-05-30 02:04:34 -04:00
Auguste Rame
ee65d3a623
Merge pull request #496 from leecannon/master
Fix `std.math.cast`, `std.ChildProcess`, tests on Windows and enable Windows in CI
2022-05-29 15:24:11 -04:00
Lee Cannon
9bfa372059
enable windows and mac tests in CI 2022-05-29 18:50:48 +01:00
Lee Cannon
ffe9598fbd
fix tests 2022-05-29 18:45:08 +01:00
Lee Cannon
dcc125e115
use provided target for tests 2022-05-29 18:19:30 +01:00
Lee Cannon
4f04f7dac0
std.ChildProcess.init cannot error 2022-05-29 18:18:57 +01:00
Lee Cannon
106e3cd963
std.math.cast returns optional 2022-05-29 18:17:43 +01:00
Auguste Rame
b9351ca722
Merge pull request #492 from suirad/fix-build
update build.zig for recent zig changes
2022-05-28 14:19:41 -04:00
Suirad
a78ccc8ccf update build.zig for recent zig changes 2022-05-27 23:41:44 -05:00
Auguste Rame
ed3d38328a
Merge pull request #479 from Jarred-Sumner/master
Fix missing doc comment for `inline fn`
2022-04-23 11:45:19 -04:00
Jarred Sumner
a3723c73b8 Fix missing doc comments in inline fn 2022-04-22 00:49:36 -07:00
Auguste Rame
256d7b7cdd
Merge pull request #476 from v1nh1shungry/fix-error-value 2022-04-20 07:25:24 -04:00
v1nh1shungry
042b03a06a fix ast.lastToken() does not handle empty error_value 2022-04-20 14:49:52 +08:00
Auguste Rame
fd2a863245
Merge pull request #473 from nektro/zig-10.1679
update to zig master 0.10.0-dev.1679+d227f76af
2022-04-01 20:38:54 -04:00
Meghan Denny
ca409941e0 update to zig master 0.10.0-dev.1679+d227f76af 2022-03-31 16:01:43 -07:00
Auguste Rame
14698c35c9
Merge pull request #455 from davidgm94/fix-zls-config-crash
Fix ZLS config not found crash #410
2022-03-24 13:12:33 -04:00
Auguste Rame
4e6564d7da
Merge pull request #467 from ikrima/fix-addrspace-section
fix: ast.lasttoken() does not handle addrspace section
2022-03-01 21:18:54 -05:00
Auguste Rame
706413e468
Merge pull request #463 from cascade256/comment-highlighting-fix
Skip char and string literals when highlighting comments
2022-03-01 21:18:34 -05:00