M4R7iNP / varnishls

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

Strip punctuation from beginning of vcc function names. #4

Closed olesku closed 1 year ago

olesku commented 1 year ago

In some cases vcc function names is parsed with a punctuation in front. This breaks autocomplete in vscode. my_goto_backend.backend() completes as my_goto_backend..backend() etc.

This change removes the punctuation from the start of function names if there is one before adding it to the list of vcc functions.

olesku commented 1 year ago

Rust is too fancy :D