-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
tab in python #3883
Comments
Duplicate of #763 |
tell me whether it will be fixed or not? i do programming in python all time and this is totally a mess. it is keeping me from fully convert to helix. |
Did you look at the issue that was linked? It has a PR attached. #3382 |
i looked at it..but since i tried helix months ago and this issue i faced at that time also. so even after months it exists.... |
The fix was recently created (1 month ago) and will eventually be merged. Feel free to contribute and/or test the fix and get it merged sooner. |
okay and i noticed that tab inserts 2 spaces... how to change it to 4? |
It should insert 4 for python code: https://github.com/helix-editor/helix/blob/master/languages.toml#L449-L450 |
yes but im asking for others... javascript and other langs |
it inserts 2 spaces in js |
there should be an option for tab-width .... some like it 2 some 4 some 3 and some 5 |
Add this to your [[language]]
name = "javascript"
indent = { tab-width = 4, unit = " " } |
i know that but i meant a global one that sets for all. anyway thank you.. |
Hi, I have this issue in helix. When i define a function in python and press enter for the next line. then it does not indent ( add tab ) on the line.
Expected Behavior
when i define the funciton and press enter it should have added a tab by default.
Currernt Behavior
make a fucntion and press enter and it will take you to the begining of next line.
Steps to reproduce
create any python file
make a function and press enter
Edit
this does not work at all in python files, i did
and was then moved to begining of the next line.
do i need to configure it?
The text was updated successfully, but these errors were encountered: