Fix automatic formatting for nested types (#457)
without this `<` and `>` are getting formatted as operators instead of parens
This commit is contained in:
Родитель
ea3ae03f52
Коммит
b65fbbbd93
|
@ -50,8 +50,8 @@ const tokenizerCfg = {
|
|||
reservedNewlineWords: ['AND', 'BETWEEN', 'ELSE', 'OR', 'WHEN', 'XOR'],
|
||||
// eslint-disable-next-line quotes
|
||||
stringTypes: [`''`, '""', '``'],
|
||||
openParens: ['(', 'CASE', '['],
|
||||
closeParens: [')', 'END', ']'],
|
||||
openParens: ['(', 'CASE', '[', 'STRUCT<', 'ARRAY<'],
|
||||
closeParens: [')', 'END', ']', '>', '>'],
|
||||
indexedPlaceholderTypes: ['?'],
|
||||
namedPlaceholderTypes: ['@'],
|
||||
lineCommentTypes: ['#', '--'],
|
||||
|
|
Загрузка…
Ссылка в новой задаче