Commit graph

278 commits

Author SHA1 Message Date
Noah Santschi-Cooney
85cbb6d81e
release 0.9.9 2023-02-12 16:32:38 +00:00
Noah S-C
fb12c9b144
Merge pull request #47 from GeForceLegend/rust-rewrite
Compute shader with suffixes support and some small fix
2023-02-12 17:00:24 +01:00
GeForceLegend
4dd5542355 Fixed icons 2023-02-05 10:53:28 +08:00
GeForceLegend
78b6a6ef1d Added highlight support for csh with suffixes
Compute shader with _a to _z suffix can get highlighted now
2023-02-05 09:56:56 +08:00
GeForceLegend
b6da5c97fb Update to latest rust nightly
I'm not sure if these 2 packages are same since I can't find any document direct to std::lazy::OnceCell
2023-02-05 09:54:56 +08:00
Noah S-C
d1d1e2377b
Merge pull request #43 from TLATER/tlater/fix-eglot-crash
Fix crashes when run with eglot as a client
2022-08-18 00:52:05 -07:00
Tristan Daniël Maat
05e52fc8d0
Fix crashes when run with eglot as a client
This just handles ConfigurationDidChange events in which the "mcglsl"
key wasn't set without crashing, by ignoring them; if the
configuration changed, but none of our configuration changed, there's
nothing we need to update.

Obviously there is still a lot that can go wrong here, but this allows
running the language server with https://github.com/joaotavora/eglot,
as that language server sends a ConfigurationDidChange on startup if
any configuration is set (including for other language servers).
2022-08-18 04:14:36 +01:00
Noah S-C
83c86aeff2
Merge pull request #42 from BalintCsala/top_level_check
Fixes top level check to account for mod-added dimensions
2022-04-29 20:11:06 +01:00
Bálint
0768abb122 Replaced slash conversion with lib function 2022-04-29 19:02:15 +02:00
Bálint
2c2dbfb3e3 Merge branch 'top_level_check' of https://github.com/BalintCsala/mcshader-lsp into top_level_check 2022-04-29 08:08:20 +02:00
Bálint
f8cc2eed22 Fixed issue with modded worlds 2022-04-29 08:07:52 +02:00
Bálint
c737409fde Doesn't detect vsh files yet 2022-04-29 08:04:34 +02:00
Noah Santschi-Cooney
d8d77ac600
release 0.9.8 2022-04-24 22:38:20 +01:00
Noah Santschi-Cooney
941822c5c7
hardcode top-level file set
avoids unimported non-toplevel fsh/vsh/etc files being treated as toplevel
2022-04-24 22:17:20 +01:00
Noah Santschi-Cooney
3b568ea087
fix dfs iterator when same file imported multiple times into another 2022-04-24 22:16:45 +01:00
Noah Santschi-Cooney
27d1d7b34e
fix nvidia diagnostics line offset, once and for all (hopefully) 2022-04-24 21:53:21 +01:00
Noah Santschi-Cooney
3c58af95fa
fix logo images because gitattributes treated them as text 2022-04-24 00:57:37 +01:00
Noah Santschi-Cooney
f45e1a4b87
v0.9.7: the real 0.9.6 2022-04-24 00:05:13 +01:00
Noah Santschi-Cooney
d43bfec582
v0.9.6: now with fixed CI 2022-04-23 23:15:45 +01:00
Noah Santschi-Cooney
a7cbaa198b
v0.9.6 2022-04-23 22:33:21 +01:00
Noah Santschi-Cooney
fecc41168a
fix include merging for when a file imports another file more than once directly 2022-04-18 01:08:53 +01:00
Noah Santschi-Cooney
1529460a5c
support document symbols request 2022-04-16 00:21:10 +01:00
Noah Santschi-Cooney
f66f56603a
implemented file-local go-to-def for variables 2022-04-10 20:54:23 +01:00
Noah Santschi-Cooney
d8cb0465ef
implemented file-local find-refs for functions 2022-04-10 00:28:12 +01:00
Noah Santschi-Cooney
3b865dfda2
updated AMD diagnostics regex 2022-04-09 18:11:50 +01:00
Noah Santschi-Cooney
d3365c3bff
big heckin reworkerino to use the standard #line directive as per spec 2022-04-03 21:31:18 +01:00
Noah Santschi-Cooney
cb7c9b8b49
(probably for AMD) enable 'GL_GOOGLE_cpp_style_line_directive' in preamble 2022-03-25 01:30:48 +00:00
Noah Santschi-Cooney
b4a0636d43
replace (NodeIndex, Option<NodeIndex>) with FilialTuple globally 2022-03-25 01:29:01 +00:00
Noah Santschi-Cooney
9a499d581b
move tests to their respective files 2022-03-24 22:33:51 +00:00
Noah Santschi-Cooney
3957eaed17
go-to-def for same-file functions from function calls working 2022-03-21 21:58:11 +00:00
Noah Santschi-Cooney
616b7cef74
revert bumping vscode-languageclient, broke restarting 2022-03-20 15:17:48 +00:00
Noah Santschi-Cooney
d5b0dcffb2
wip 2022-03-20 01:28:56 +00:00
Noah Santschi-Cooney
f8dd31ca81
extract out diagnostics parser. pls submit AMD lint output in github issues 2022-03-19 23:27:33 +00:00
Noah Santschi-Cooney
d3c0869288
tree-sitter fun 👀 2022-03-19 22:58:01 +00:00
Noah Santschi-Cooney
86100aa008
chore: reorganizing lsp commands 2022-03-19 20:26:30 +00:00
Noah Santschi-Cooney
e001b4a8b1
fixup client imports 2022-03-18 19:22:17 +00:00
Noah Santschi-Cooney
9a9ed21f13
allow configurable log level 2022-03-18 19:11:48 +00:00
Noah Santschi-Cooney
ebab8c899a
formatting and adding a buncha log points 2022-03-18 19:00:42 +00:00
Noah Santschi-Cooney
7cf009ee61
added base logging infrastructure, more to come SOON 2022-03-15 01:01:50 +00:00
Noah Santschi-Cooney
b775bd2cd5
cargo: bump dependency versions 2022-03-14 23:58:49 +00:00
Noah Santschi-Cooney
a8f00fe927
npm: bump dependency versions 2022-03-14 23:12:40 +00:00
Noah Santschi-Cooney
79e107b748
add rustfmt configuration 2022-03-14 23:06:58 +00:00
Noah Santschi-Cooney
cccb5e25f7
corporate shilling: add LSIF upload action 2022-03-14 23:04:57 +00:00
Noah Santschi-Cooney
554777d0da
allow skipping bootstrap step and expose github actions extension build in CI on every push 2022-01-02 23:20:37 +00:00
Noah Santschi-Cooney
5747a9d9b1
attempt #4 for M1 Mac build: correct artifact path and skip M1 tests because not running on M1 machine 2022-01-02 22:30:32 +00:00
Noah Santschi-Cooney
57f4b7924b
attempt #3 for M1 Mac build: rust toolchains target edition 2022-01-02 22:15:21 +00:00
Noah Santschi-Cooney
5fd02b06f4
attempt #2 for M1 Mac build: correct targets edition 2022-01-02 22:06:28 +00:00
Noah Santschi-Cooney
65422c863f
fix failed compile in 3884126697 2022-01-02 21:59:44 +00:00
Noah Santschi-Cooney
734f0b014b
attempt #1 for M1 Mac build 2022-01-02 21:57:07 +00:00
Noah Santschi-Cooney
c7d8b02ee3
fixed all lint warnings 2021-03-05 17:48:55 +00:00