Skip to content

Add space after colon automatically#8

Merged
othree merged 1 commit intoothree:masterfrom
af:patch-1
Apr 12, 2017
Merged

Add space after colon automatically#8
othree merged 1 commit intoothree:masterfrom
af:patch-1

Conversation

@af
Copy link
Copy Markdown
Contributor

@af af commented Mar 30, 2017

This saves a character of typing every time you make a completion.

I guess it's possible this would be undesirable for someone if they preferred no space after the colon (eg display:none instead of display: none). But from what I've seen the space in between is pretty universal. Could always make this configurable with a global/buffer variable if you don't want to apply it across the board. Let me know if that's the case, I can make a separate PR with that change instead.

This saves a character of typing every time you make a completion
@othree othree merged commit 75a534a into othree:master Apr 12, 2017
@othree
Copy link
Copy Markdown
Owner

othree commented Apr 12, 2017

Thanks. This coding style is what I am using. But I am thinking to have a option to trigger it. Do you think its good to have an option?

@af af deleted the patch-1 branch April 12, 2017 03:47
@af
Copy link
Copy Markdown
Contributor Author

af commented Apr 12, 2017

I don't think I've ever seen a css file without spaces after the colon, so I wouldn't think it's too important. There are probably people who do that, but you could wait until they ask for it ;)

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

Successfully merging this pull request may close these issues.

2 participants