lee-dohm / indentation-indicator

Atom package that adds an indicator to the status bar that shows the indentation width and type of the active editor.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Detects indentation based on comments

Stanzilla opened this issue · comments

I have a lua file here that starts with a few comments that are indented with 3 spaces while the remaining file (actual code) is indented with 4 spaces. Your package reports 3 spaces as indentation of the file, is there a way the detection could be changed to ignore comments?

My package reports what Atom has set for the active TextEditor. If you want Atom to autodetect indentation differently, it should probably be reported on https://github.com/atom/atom.

Thanks for using the package 😀