-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Cannot edit a file if the file is named justfile
#9703
Comments
This would be caused by the external formatter rather than the tree-sitter parser: Line 2833 in 98ebeee
I can't reproduce this but we should remove that line anyways: |
@the-mikedavis I have copied the
|
The configs are merged, so you'd have to unset it to "" rather than delete it. |
@kirawi Yes I figured that out. @the-mikedavis @kirawi Can we revert commit 0eec518 ? |
Yep please send a PR |
This fixes issue helix-editor#9703 by removing the wrong formatting command for justfiles.
* Fix bug 9703 by commenting out the wrong command This fixes issue #9703 by removing the wrong formatting command for justfiles. * Fix indentation width for justfile
* Fix bug 9703 by commenting out the wrong command This fixes issue helix-editor#9703 by removing the wrong formatting command for justfiles. * Fix indentation width for justfile
* Fix bug 9703 by commenting out the wrong command This fixes issue helix-editor#9703 by removing the wrong formatting command for justfiles. * Fix indentation width for justfile
* Fix bug 9703 by commenting out the wrong command This fixes issue helix-editor#9703 by removing the wrong formatting command for justfiles. * Fix indentation width for justfile
* Fix bug 9703 by commenting out the wrong command This fixes issue helix-editor#9703 by removing the wrong formatting command for justfiles. * Fix indentation width for justfile
* Fix bug 9703 by commenting out the wrong command This fixes issue helix-editor#9703 by removing the wrong formatting command for justfiles. * Fix indentation width for justfile
Summary
My edits to the justfile are overwritten. If I change the name, it works. If i create a brand new file named justfile with helix, I can put the file contents into the file, but after reopening and saving, file changes are not saved.
Reproduction Steps
I tried this:
Repeat the same with a differently named file and it will work. It seems to me that the
justfile
syntax highlighter is causing the problem but I don't know.Helix log
When creating the file named
justfile
:The bbbbb is not what I was adding to the file. It seems that the formatter is in a different dimension.
Platform
Linux
Terminal Emulator
GNOME Terminal 3.28.3
Installation Method
nixpkgs
Helix Version
helix 23.10
The text was updated successfully, but these errors were encountered: