No highlighting with "wrong" indentation
suruaku opened this issue · 5 comments
suruaku commented
leafOfTree commented
Thanks for the feedback. I checked the code and realised that the highlighting only effects for the keyword with correct indentation.
It is to prevent highlighting when the inner object uses the keyword as key.
export default {
data: {
data: {
}
},
computed: {
name: {
}
}
}
I wonder if you don't have the nested cases and have to deal with some "wrong" indentation codes, maybe we can add an option to toggle it.
suruaku commented
leafOfTree commented
suruaku commented
Okay, it's not a huge issue so maybe it's better to leave it as it is. (I have no experience with vim extensions and those regex patterns look a bit scary :D)
Async works now, thanks!
leafOfTree commented
You're welcome. I'll close this issue. Feel free to open another issue if you may have any problem with it.