AndreasArvidsson / andreas-talon

User scripts for Talon Voice
MIT License
73 stars 11 forks source link

Insert snippets error #3

Closed lab-do closed 2 years ago

lab-do commented 2 years ago

actions.user.insert_snippet() raise an error in vscode.

TypeError: vscode() takes 1 positional argument but 2 were given
AndreasArvidsson commented 2 years ago

My implementation of user.vscode is the same as what's on knausj is user.vscode_with_plugin.

https://github.com/AndreasArvidsson/talon-vscode-command-client/blob/f133eebad8e0e4f383d63be94a7d1d07aa06f586/command_client.py#L297-L313

lab-do commented 2 years ago

My bad, I'm using Pokey's repo, I thought they were the same 😅

AndreasArvidsson commented 2 years ago

Most of the code I use is tweaked in some way. You know... why not? :D

lab-do commented 2 years ago

I love the code man, great stuffâš¡

AndreasArvidsson commented 2 years ago

Glad to hear it :)