mirror of
https://github.com/Strum355/mcshader-lsp.git
synced 2025-07-24 03:36:22 +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
14
server/testdata/03/final.fsh.merge
vendored
14
server/testdata/03/final.fsh.merge
vendored
|
@ -1,22 +1,24 @@
|
|||
#version 120
|
||||
#extension GL_GOOGLE_cpp_style_line_directive : require
|
||||
#line 2 "!!"
|
||||
|
||||
#line 1 !!
|
||||
#line 1 "!!"
|
||||
int sample() {
|
||||
return 5;
|
||||
}
|
||||
|
||||
#line 1 !!
|
||||
#line 1 "!!"
|
||||
void burger() {
|
||||
// sample text
|
||||
}
|
||||
#line 6 !!
|
||||
#line 6 "!!"
|
||||
|
||||
#line 1 !!
|
||||
#line 1 "!!"
|
||||
float test() {
|
||||
return 3.0;
|
||||
}
|
||||
#line 8 !!
|
||||
#line 4 !!
|
||||
#line 8 "!!"
|
||||
#line 4 "!!"
|
||||
|
||||
void main() {
|
||||
gl_FragColor = vec4(1.0, 1.0, 1.0, 1.0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue