native_messenger
native_messenger copied to clipboard
Can I access the native messenger from js file?
I want to add a script that will run on certain urls using autocmds. And I want it to execute some commands in the terminal using native messenger. Is that possible?
Example:
autocmd DocStart gitlab\.com js -r example.js
// example.js
// execute some command in terminal with some parameters, e.g. echo "..."