M4R7iNP / varnishls

Varnish VCL language server
GNU Lesser General Public License v3.0
15 stars 4 forks source link

Add ok keyword #15

Closed duffn closed 3 weeks ago

duffn commented 3 weeks ago

This adds the ok keyword. ok is a valid VCL keyword: https://www.varnish-software.com/developers/tutorials/varnish-builtin-vcl/#14-vcl_fini

The update results in no longer calling ok a syntax error in a block such as this.

sub vcl_fini {
    return (ok);
}
M4R7iNP commented 3 weeks ago

Thanks!