the snippets code provided is for V4 of Pinescript.
followed this tut: https://github.blog/2016-02-01-working-with-submodules/
- from terminal, go to were .vscode is / root of the repository.
- git rm -r .vscode
- git commit -m "remove vscode(for sub module)"
- git submodule add https://github.com/ricardosantos79/vscode_pinescript_snippet .vscode
- git commit -m ".vscode submodule"
- git submodule update --init --recursive
and should be set now, gona do a update test to see if its working