-
Notifications
You must be signed in to change notification settings - Fork 80
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
convert-spaces-to-tabs
does not work
#79
Comments
Is your tabsize 4? I think its because its treating anything indented with 4 spaces to be a code block, and ignoring it. I guess this rule shouldnt ignore codeblocks |
Was my first guess as well, but it also did not work when settings tabsize to 3 or 2 |
hmm, it works for me. What text is it failing on for you? |
I have simply used Lorem Ipsum text:
here, the spaces are not converted to tabs, even though Obsidian does not recognize them as codeblocks or yaml. Testing the Regex here works fine, though: https://regex101.com/r/pDwcA0/1/ |
Testing exactly the rule from
rules.ts
at sites like regex101 or via a simple templater script, it does work as intended. When running tests withrules.ts
, it also works.But it does not seem to work in the linter. I assume it should therefore be sth related to the linter? :(
The text was updated successfully, but these errors were encountered: