From what I understand, rmate uses regular characters in the format of keywords separated by colons to specify options over a socket connection. At some point, the 'data:' keyword is encountered and everything after that should just be file data.
I found that if a file contains the string 'open' on its own line with no other characters, that breaks the plugin and the file never opens on the remote instance of Sublime. The plugin continues treating the word 'open' as a special parameter even after data parsing had already started.
The fix is very easy, just check to see if data is already parsing before looking for the 'open' keyword, see #26
From what I understand, rmate uses regular characters in the format of keywords separated by colons to specify options over a socket connection. At some point, the 'data:' keyword is encountered and everything after that should just be file data.
I found that if a file contains the string 'open' on its own line with no other characters, that breaks the plugin and the file never opens on the remote instance of Sublime. The plugin continues treating the word 'open' as a special parameter even after data parsing had already started.
The fix is very easy, just check to see if data is already parsing before looking for the 'open' keyword, see #26