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

line-ending #5698

Closed
devil666face opened this issue Jan 27, 2023 · 3 comments
Closed

line-ending #5698

devil666face opened this issue Jan 27, 2023 · 3 comments
Labels
C-bug Category: This is a bug

Comments

@devil666face
Copy link

Summary

[editor]
line-ending = "lf"
Does't work

[keys.normal]
"A-e" = ":line-edning lf"
This is too does't work

Reproduction Steps

No response

Helix log

No response

Platform

Windows

Terminal Emulator

wezterm 20221119-145034-49b9839f

Helix Version

helix 22.12 (96ff64a)

@devil666face devil666face added the C-bug Category: This is a bug label Jan 27, 2023
@CptPotato
Copy link
Contributor

CptPotato commented Jan 27, 2023

I think you have a typo there: line-edning

This one works fine for me:

[keys.normal]
"A-e" = ":line-ending lf"

If you're looking for a way to set the default line ending for new documents, there's an open PR: #5621

@devil666face
Copy link
Author

Oh, sorry.
Yes, it is work, but why this doesn't work?
[editor]
line-ending = "lf"

@CptPotato
Copy link
Contributor

Oh, sorry. Yes, it is work, but why this doesn't work?

[editor]
line-ending = "lf"

It doesn't work because the line-ending setting does not exist, see https://docs.helix-editor.com/configuration.html#editor-section.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug
Projects
None yet
Development

No branches or pull requests

2 participants