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

problem with the last line break #16

Closed
ghost opened this issue Jul 12, 2012 · 2 comments
Closed

problem with the last line break #16

ghost opened this issue Jul 12, 2012 · 2 comments

Comments

@ghost
Copy link

ghost commented Jul 12, 2012

Vico does not handle the last line break properly
causing every file to have a new line at the end.
image

@farmdawgnation
Copy link

I think it's SOP for all Linux files to end with a newline. At least, close enough to SOP for git to yell at you in your diff if you don't. Haha. Which is to say, I'm not entirely sure that's a not a feature.

@martinh
Copy link
Member

martinh commented Jul 15, 2012

This is intentional. Vico forces a newline at end of file, unless the file is empty (0 byte). This is consistent with nvi and vim.

@martinh martinh closed this as completed Jul 15, 2012
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

2 participants