Skip to content
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

Cursor position after expanding #114

Open
soberpeach opened this issue May 20, 2019 · 2 comments
Open

Cursor position after expanding #114

soberpeach opened this issue May 20, 2019 · 2 comments

Comments

@soberpeach
Copy link

I have an issue with expanding snippets in CSS mode. After I run emmet-expand-line with the "C-j" binding, the expected behavior would be to position the cursor at an edit point in the expansion, but instead it puts it at the end of a line. For example, after running emmet-expand-line on bg, you would expect
background-color #|000;
but instead you get
backgound-color #000;|
where the cursor is at the back. Is this expected behavior? Going through the package files the line for this expansion looks like
(puthash "bg" "background:#${1:000};" tbl)
so it looks like there's supposed to be some sort of replacement happening but it's not working.

@khensunny
Copy link

Same issue in html. they say to customize the variable emmet-move-cursor-between-quotes, however nothing changes, it still puts the cursor in between the tags instead of the first attribute with empty quotes

@spiritabsolute
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants