Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add configuration field for disabling syntax error annotations #13

Open
Argmaster opened this issue Dec 8, 2023 · 0 comments
Open

Add configuration field for disabling syntax error annotations #13

Argmaster opened this issue Dec 8, 2023 · 0 comments

Comments

@Argmaster
Copy link

What I am showing below is Vulkan GLSL and I am aware that there is low-to-none-chance to support vulkan soon, but:
Would it be possible to add option to disable error messages comeing from language server? Syntax highlighting looks great anyway, much better than any alternative.
If it was possible to suppress squigly lines showing around I'd be great.

#version 450
#extension GL_EXT_nonuniform_qualifier : require

layout(local_size_x = 2, local_size_y = 1, local_size_z = 1) in;

#define BIND_BUFFER(bindingIndex, typeName, varName)         \
    layout(std430, binding = bindingIndex) buffer typeName { \
        float array[];                                       \
    }                                                        \
    varName[]

BIND_BUFFER(0, bufferT0, buffer0);
#define BUFFER_O(index) buffer0[gl_GlobalInvocationID.x].array[i]

void main() {
    for (int i = 0; i < 16500; ++i) {
        BUFFER_O(i) = 0.0;
    };
}

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant