mirror of
https://github.com/Strum355/mcshader-lsp.git
synced 2025-07-23 11:15:27 +00:00
cpp style #line and diagnostics per-file per lint
This commit is contained in:
parent
c322abe9af
commit
e56d182e3c
9 changed files with 278 additions and 138 deletions
6
server/testdata/01/final.fsh.merge
vendored
6
server/testdata/01/final.fsh.merge
vendored
|
@ -1,10 +1,12 @@
|
|||
#version 120
|
||||
#extension GL_GOOGLE_cpp_style_line_directive : require
|
||||
#line 2 "!!"
|
||||
|
||||
#line 1 !!
|
||||
#line 1 "!!"
|
||||
float test() {
|
||||
return 0.5;
|
||||
}
|
||||
#line 4 !!
|
||||
#line 4 "!!"
|
||||
|
||||
void main() {
|
||||
gl_FragColor[0] = vec4(0.0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue