Closed rodhash closed 2 years ago
As I said in the pull request, it's not actually a simple fix as adjusting syntax files does not affect how SnipMate actually operates. Spaces will still be wrong.
While I've had an idea on how to make this more flexible, so that spaces would be allowable, it's nowhere near implementation. Currently I think it makes a lot of sense to stick with the current requirement of hard tabs. The 'listchars'
option may help you see where those are or are not.
I didn't understand what the issue is, but alright.. I'll keep the fix in my local branch while the Space identation isn't allowed here... curious thing is, space identation work fine here, even with the syntax files highlighting them as error
Anyway thx for the details.. will keep an eye on upstream .. I'm still experimenting with other snippets tools and will check back later
Hello,
Just migrated from vim-snip and found one identation issue. Lemonade helped fix in another repo and it seems the same issue is found here too.. I searched for similar issues but found none, so I'm raising this one
The issue basically is: we can't use space for identation, as soon as I SPACE idented the highlight error was triggered:
This seems to be a quick and simple solution, updated the syntax file.
So if you're interested in that, just raised the PR #289 allowing the use of SPACE char as well:
Now we can use both, TAB indented or SPACES indented:
Cheers