Closed bounceme closed 8 years ago
Do you mean javascriptPropertyName
?
Any sample code and how do you control indent?
(function() {
console.log("value");
var magicWords = ['abracadabra', 'gesundheit', 'ventrilo'],
spells = {
'f{{{{{{{ire}}}ball': function() {
setOnFire()
},
'water': function() {
putOut()
}
},
a = 1,
b = 'abc',
etc;
someFunc(param1, param2,
param3, param4)
}());
using this script: https://github.com/pangloss/vim-javascript/blob/develop/indent/javascript.vim also the matchparen/matchit plugins break.
Fixed~
great, thanks @othree !
could you rename this to include
string
when it is written as a string ? that way property names with braces can not mess up indentation (search pair skip expressions notably)