-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support variable such as CURRENT_YEAR
used by friendly-snippets
#68
Comments
Hi! It can be implemented with some restrictions. |
Yeah that looks pretty comparable to other snippet systems I've used before 👍 |
Those would be great, especially TM_SELECTED_TEXT which allows for way more powerful snippets. |
Hi! I have take a look on it https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#snippet_syntax Variable resolving is the task for editor (client side), not for language-server. For scls we can add feature - snippets as result of shell execution, like |
I just checked the code for helix-editor/helix#9801 and tested it (which is the branch I use). It currently implements variable parsing, but it does not seem to have support for any specific variables yet, but the fact it has got that far is good news. |
There are a bunch of common system variables that spring to mind, including date-time related, username, email, or perhaps even the result of a shell command.
The text was updated successfully, but these errors were encountered: