zargony / atom-language-rust

Rust language support in Atom - LOOKING FOR MAINTAINER, see #144

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't set indent guide to 4 spaces.

DiThi opened this issue · comments

The vertical indent guide lines that should show every n spaces (where n is the configured tab length) show every 2 spaces when the global tab length is configured for 4.

As a workaround, it does work correctly when you follow these steps:

  • Set the global editor tab length to something else than 4
  • Set rust tab length to 4
  • Set the global tab length back to 4

Thanks for reporting this issue. This sounds similar to an Atom bug that has been nagging us for some time, see #93 and atom/settings-view#967. Since we don't do any settings management besides specifying some editor settings, I suppose this is probably an issue with Atom itself.
Unfortunately, I don't know the Atom internals very well. You might want to try asking the Atom community for help (please post a link to it here if you do so)