Is the code completion supports $0 as the final cursor position? #1347
-
I'm using Eglot with ruby-lsp. ruby-lsp will insert a Does Eglot recognize the |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 3 replies
-
This is likely not an Eglot issue. Eglot is not a snippet parser, it uses Yasnippet. Yes yasnippet knows about I'm really sure this issue was discussed in this repository or something nearby not too long ago, but I can't find that forum. Anyway, without more information, it's impossible to say more. |
Beta Was this translation helpful? Give feedback.
-
@joaotavora ruby-lsp inserts the character, I didn’t install yasnippet because I’m using tempel, I’ll install it and see if the $0 is recognized. |
Beta Was this translation helpful? Give feedback.
-
From the Eglot events log, the server returns a
|
Beta Was this translation helpful? Give feedback.
-
Yup this part of the interactiion is odd. You type a
|
Beta Was this translation helpful? Give feedback.
This is likely not an Eglot issue. Eglot is not a snippet parser, it uses Yasnippet. Yes yasnippet knows about
$0
no problem.I'm really sure this issue was discussed in this repository or something nearby not too long ago, but I can't find that forum. Anyway, without more information, it's impossible to say more.