Skip to content

Commit 13f752f

Browse files
committed
Fix ramda syntax
1 parent fcf6038 commit 13f752f

File tree

4 files changed

+28
-24
lines changed

4 files changed

+28
-24
lines changed

autoload/syntax/ramda.coffee.vim

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,15 @@
55
" Version: 0.21.0
66
" URL: http://ramdajs.com/
77

8-
syntax keyword coffeeRamda R containedin=ALLBUT,coffeeComment,coffeeLineComment,coffeeString,coffeeTemplate,coffeeTemplateSubstitution,coffeeRDot
9-
syntax match coffeeRaDot contained /\./ nextgroup=coffeeRFunctions
8+
syntax keyword coffeeRamda R containedin=ALLBUT,coffeeComment,coffeeLineComment,coffeeString,coffeeTemplate,coffeeTemplateSubstitution,coffeeRDot
9+
syntax match coffeeRaDot contained /\./ nextgroup=coffeeRaFunctions
1010

11-
syntax cluster coffeeRaaFunctions contains=coffeeRaFunction,coffeeRaMath,coffeeRaList,coffeeRaLogic,coffeeRaObject,coffeeRaRelation,coffeeRaType,coffeeRaString
11+
syntax cluster coffeeRaFunctions contains=coffeeRaFunction,coffeeRaMath,coffeeRaList,coffeeRaLogic,coffeeRaObject,coffeeRaRelation,coffeeRaType,coffeeRaString
1212

1313
syntax keyword coffeeRaFunction contained __ addIndex always ap apply applySpec binary bind call comparator compose composeK composeP construct constructN converge curry curryN empty F flip identity invoker juxt lift liftN memoize nAry nthArg of once partial partialRight pipe pipeK pipeP T tap tryCatch unapply unary uncurryN useWith wrap
1414
syntax keyword coffeeRaMath contained add dec divide inc mathMod mean median modulo multiply negate product subtract sum
15-
syntax keyword coffeeRaList contained adjust all allUniq any aperture append chain concat contains drop dropLast dropLastWhile dropRepeats dropRepeatsWith dropWhile filter find findIndex findLast findLastIndex flatten forEach fromPairs groupBy groupWith head indexBy indexOf init insert insertAll intersperse into join last lastIndexOf length map mapAccum mapAccumRight mergeAll none nth pair partition pluck prepend range reduce reduceBy reduced reduceRight reject remove repeat reverse scan sequence slice sort splitAt splitEvery splitWhen tail take takeLast takeLastWhile takeWhile times transduce transpose traverse unfold uniq uniqBy uniqWith unnest update without xprod zip zipObj zipWith
15+
syntax match coffeeRaList contained /contains/
16+
syntax keyword coffeeRaList contained adjust all allUniq any aperture append chain concat drop dropLast dropLastWhile dropRepeats dropRepeatsWith dropWhile filter find findIndex findLast findLastIndex flatten forEach fromPairs groupBy groupWith head indexBy indexOf init insert insertAll intersperse into join last lastIndexOf length map mapAccum mapAccumRight mergeAll none nth pair partition pluck prepend range reduce reduceBy reduced reduceRight reject remove repeat reverse scan sequence slice sort splitAt splitEvery splitWhen tail take takeLast takeLastWhile takeWhile times transduce transpose traverse unfold uniq uniqBy uniqWith unnest update without xprod zip zipObj zipWith
1617
syntax keyword coffeeRaLogic contained allPass and anyPass both complement cond defaultTo either ifElse isEmpty not or pathSatisfies propSatisfies unless until when
1718
syntax keyword coffeeRaObject contained assoc assocPath clone dissoc dissocPath eqProps evolve has hasIn invert invertObj keys keysIn lens lensIndex lensPath lensProp mapObjIndexed merge mergeWith mergeWithKey objOf omit over path pathOr pick pickAll pickBy project prop propOr props set toPairs toPairsIn values valuesIn view where whereEq
1819
syntax keyword coffeeRaRelation contained clamp countBy difference differenceWith eqBy equals gt gte identical intersection intersectionWith lt lte max maxBy min minBy pathEq propEq sortBy symmetricDifference symmetricDifferenceWith union unionWith
@@ -23,9 +24,9 @@ syntax keyword coffeeRaString contained match replace split test toLower toStrin
2324
" Define the default highlighting.
2425
" For version 5.7 and earlier: only when not done already
2526
" For version 5.8 and later: only when an item doesn't have highlighting yet
26-
if version >= 508 || !exists("did_backbone_coffee_syntax_inits")
27+
if version >= 508 || !exists("did_ramda_coffee_syntax_inits")
2728
if version < 508
28-
let did_backbone_coffee_syntax_inits = 1
29+
let did_ramda_coffee_syntax_inits = 1
2930
command -nargs=+ HiLink hi link <args>
3031
else
3132
command -nargs=+ HiLink hi def link <args>

autoload/syntax/ramda.javascript.vim

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,15 @@
55
" Version: 0.21.0
66
" URL: http://ramdajs.com/
77

8-
syntax keyword javascriptRamda R containedin=ALLBUT,javascriptComment,javascriptLineComment,javascriptString,javascriptTemplate,javascriptTemplateSubstitution,javascriptRDot
9-
syntax match javascriptRaDot contained /\./ nextgroup=javascriptRFunctions
8+
syntax keyword javascriptRamda R containedin=ALLBUT,javascriptComment,javascriptLineComment,javascriptString,javascriptTemplate,javascriptTemplateSubstitution,javascriptRDot
9+
syntax match javascriptRaDot contained /\./ nextgroup=javascriptRaFunctions
1010

11-
syntax cluster javascriptRaaFunctions contains=javascriptRaFunction,javascriptRaMath,javascriptRaList,javascriptRaLogic,javascriptRaObject,javascriptRaRelation,javascriptRaType,javascriptRaString
11+
syntax cluster javascriptRaFunctions contains=javascriptRaFunction,javascriptRaMath,javascriptRaList,javascriptRaLogic,javascriptRaObject,javascriptRaRelation,javascriptRaType,javascriptRaString
1212

1313
syntax keyword javascriptRaFunction contained __ addIndex always ap apply applySpec binary bind call comparator compose composeK composeP construct constructN converge curry curryN empty F flip identity invoker juxt lift liftN memoize nAry nthArg of once partial partialRight pipe pipeK pipeP T tap tryCatch unapply unary uncurryN useWith wrap
1414
syntax keyword javascriptRaMath contained add dec divide inc mathMod mean median modulo multiply negate product subtract sum
15-
syntax keyword javascriptRaList contained adjust all allUniq any aperture append chain concat contains drop dropLast dropLastWhile dropRepeats dropRepeatsWith dropWhile filter find findIndex findLast findLastIndex flatten forEach fromPairs groupBy groupWith head indexBy indexOf init insert insertAll intersperse into join last lastIndexOf length map mapAccum mapAccumRight mergeAll none nth pair partition pluck prepend range reduce reduceBy reduced reduceRight reject remove repeat reverse scan sequence slice sort splitAt splitEvery splitWhen tail take takeLast takeLastWhile takeWhile times transduce transpose traverse unfold uniq uniqBy uniqWith unnest update without xprod zip zipObj zipWith
15+
syntax match javascriptRaList contained /contains/
16+
syntax keyword javascriptRaList contained adjust all allUniq any aperture append chain concat drop dropLast dropLastWhile dropRepeats dropRepeatsWith dropWhile filter find findIndex findLast findLastIndex flatten forEach fromPairs groupBy groupWith head indexBy indexOf init insert insertAll intersperse into join last lastIndexOf length map mapAccum mapAccumRight mergeAll none nth pair partition pluck prepend range reduce reduceBy reduced reduceRight reject remove repeat reverse scan sequence slice sort splitAt splitEvery splitWhen tail take takeLast takeLastWhile takeWhile times transduce transpose traverse unfold uniq uniqBy uniqWith unnest update without xprod zip zipObj zipWith
1617
syntax keyword javascriptRaLogic contained allPass and anyPass both complement cond defaultTo either ifElse isEmpty not or pathSatisfies propSatisfies unless until when
1718
syntax keyword javascriptRaObject contained assoc assocPath clone dissoc dissocPath eqProps evolve has hasIn invert invertObj keys keysIn lens lensIndex lensPath lensProp mapObjIndexed merge mergeWith mergeWithKey objOf omit over path pathOr pick pickAll pickBy project prop propOr props set toPairs toPairsIn values valuesIn view where whereEq
1819
syntax keyword javascriptRaRelation contained clamp countBy difference differenceWith eqBy equals gt gte identical intersection intersectionWith lt lte max maxBy min minBy pathEq propEq sortBy symmetricDifference symmetricDifferenceWith union unionWith
@@ -23,9 +24,9 @@ syntax keyword javascriptRaString contained match replace split test toLower toS
2324
" Define the default highlighting.
2425
" For version 5.7 and earlier: only when not done already
2526
" For version 5.8 and later: only when an item doesn't have highlighting yet
26-
if version >= 508 || !exists("did_backbone_javascript_syntax_inits")
27+
if version >= 508 || !exists("did_ramda_javascript_syntax_inits")
2728
if version < 508
28-
let did_backbone_javascript_syntax_inits = 1
29+
let did_ramda_javascript_syntax_inits = 1
2930
command -nargs=+ HiLink hi link <args>
3031
else
3132
command -nargs=+ HiLink hi def link <args>

autoload/syntax/ramda.ls.vim

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,15 @@
55
" Version: 0.21.0
66
" URL: http://ramdajs.com/
77

8-
syntax keyword lsRamda R containedin=ALLBUT,lsComment,lsLineComment,lsString,lsTemplate,lsTemplateSubstitution,lsRDot
9-
syntax match lsRaDot contained /\./ nextgroup=lsRFunctions
8+
syntax keyword lsRamda R containedin=ALLBUT,lsComment,lsLineComment,lsString,lsTemplate,lsTemplateSubstitution,lsRDot
9+
syntax match lsRaDot contained /\./ nextgroup=lsRaFunctions
1010

11-
syntax cluster lsRaaFunctions contains=lsRaFunction,lsRaMath,lsRaList,lsRaLogic,lsRaObject,lsRaRelation,lsRaType,lsRaString
11+
syntax cluster lsRaFunctions contains=lsRaFunction,lsRaMath,lsRaList,lsRaLogic,lsRaObject,lsRaRelation,lsRaType,lsRaString
1212

1313
syntax keyword lsRaFunction contained __ addIndex always ap apply applySpec binary bind call comparator compose composeK composeP construct constructN converge curry curryN empty F flip identity invoker juxt lift liftN memoize nAry nthArg of once partial partialRight pipe pipeK pipeP T tap tryCatch unapply unary uncurryN useWith wrap
1414
syntax keyword lsRaMath contained add dec divide inc mathMod mean median modulo multiply negate product subtract sum
15-
syntax keyword lsRaList contained adjust all allUniq any aperture append chain concat contains drop dropLast dropLastWhile dropRepeats dropRepeatsWith dropWhile filter find findIndex findLast findLastIndex flatten forEach fromPairs groupBy groupWith head indexBy indexOf init insert insertAll intersperse into join last lastIndexOf length map mapAccum mapAccumRight mergeAll none nth pair partition pluck prepend range reduce reduceBy reduced reduceRight reject remove repeat reverse scan sequence slice sort splitAt splitEvery splitWhen tail take takeLast takeLastWhile takeWhile times transduce transpose traverse unfold uniq uniqBy uniqWith unnest update without xprod zip zipObj zipWith
15+
syntax match lsRaList contained /contains/
16+
syntax keyword lsRaList contained adjust all allUniq any aperture append chain concat drop dropLast dropLastWhile dropRepeats dropRepeatsWith dropWhile filter find findIndex findLast findLastIndex flatten forEach fromPairs groupBy groupWith head indexBy indexOf init insert insertAll intersperse into join last lastIndexOf length map mapAccum mapAccumRight mergeAll none nth pair partition pluck prepend range reduce reduceBy reduced reduceRight reject remove repeat reverse scan sequence slice sort splitAt splitEvery splitWhen tail take takeLast takeLastWhile takeWhile times transduce transpose traverse unfold uniq uniqBy uniqWith unnest update without xprod zip zipObj zipWith
1617
syntax keyword lsRaLogic contained allPass and anyPass both complement cond defaultTo either ifElse isEmpty not or pathSatisfies propSatisfies unless until when
1718
syntax keyword lsRaObject contained assoc assocPath clone dissoc dissocPath eqProps evolve has hasIn invert invertObj keys keysIn lens lensIndex lensPath lensProp mapObjIndexed merge mergeWith mergeWithKey objOf omit over path pathOr pick pickAll pickBy project prop propOr props set toPairs toPairsIn values valuesIn view where whereEq
1819
syntax keyword lsRaRelation contained clamp countBy difference differenceWith eqBy equals gt gte identical intersection intersectionWith lt lte max maxBy min minBy pathEq propEq sortBy symmetricDifference symmetricDifferenceWith union unionWith
@@ -23,9 +24,9 @@ syntax keyword lsRaString contained match replace split test toLower toString to
2324
" Define the default highlighting.
2425
" For version 5.7 and earlier: only when not done already
2526
" For version 5.8 and later: only when an item doesn't have highlighting yet
26-
if version >= 508 || !exists("did_backbone_ls_syntax_inits")
27+
if version >= 508 || !exists("did_ramda_ls_syntax_inits")
2728
if version < 508
28-
let did_backbone_ls_syntax_inits = 1
29+
let did_ramda_ls_syntax_inits = 1
2930
command -nargs=+ HiLink hi link <args>
3031
else
3132
command -nargs=+ HiLink hi def link <args>

autoload/syntax/ramda.typescript.vim

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,15 @@
55
" Version: 0.21.0
66
" URL: http://ramdajs.com/
77

8-
syntax keyword typescriptRamda R containedin=ALLBUT,typescriptComment,typescriptLineComment,typescriptString,typescriptTemplate,typescriptTemplateSubstitution,typescriptRDot
9-
syntax match typescriptRaDot contained /\./ nextgroup=typescriptRFunctions
8+
syntax keyword typescriptRamda R containedin=ALLBUT,typescriptComment,typescriptLineComment,typescriptString,typescriptTemplate,typescriptTemplateSubstitution,typescriptRDot
9+
syntax match typescriptRaDot contained /\./ nextgroup=typescriptRaFunctions
1010

11-
syntax cluster typescriptRaaFunctions contains=typescriptRaFunction,typescriptRaMath,typescriptRaList,typescriptRaLogic,typescriptRaObject,typescriptRaRelation,typescriptRaType,typescriptRaString
11+
syntax cluster typescriptRaFunctions contains=typescriptRaFunction,typescriptRaMath,typescriptRaList,typescriptRaLogic,typescriptRaObject,typescriptRaRelation,typescriptRaType,typescriptRaString
1212

1313
syntax keyword typescriptRaFunction contained __ addIndex always ap apply applySpec binary bind call comparator compose composeK composeP construct constructN converge curry curryN empty F flip identity invoker juxt lift liftN memoize nAry nthArg of once partial partialRight pipe pipeK pipeP T tap tryCatch unapply unary uncurryN useWith wrap
1414
syntax keyword typescriptRaMath contained add dec divide inc mathMod mean median modulo multiply negate product subtract sum
15-
syntax keyword typescriptRaList contained adjust all allUniq any aperture append chain concat contains drop dropLast dropLastWhile dropRepeats dropRepeatsWith dropWhile filter find findIndex findLast findLastIndex flatten forEach fromPairs groupBy groupWith head indexBy indexOf init insert insertAll intersperse into join last lastIndexOf length map mapAccum mapAccumRight mergeAll none nth pair partition pluck prepend range reduce reduceBy reduced reduceRight reject remove repeat reverse scan sequence slice sort splitAt splitEvery splitWhen tail take takeLast takeLastWhile takeWhile times transduce transpose traverse unfold uniq uniqBy uniqWith unnest update without xprod zip zipObj zipWith
15+
syntax match typescriptRaList contained /contains/
16+
syntax keyword typescriptRaList contained adjust all allUniq any aperture append chain concat drop dropLast dropLastWhile dropRepeats dropRepeatsWith dropWhile filter find findIndex findLast findLastIndex flatten forEach fromPairs groupBy groupWith head indexBy indexOf init insert insertAll intersperse into join last lastIndexOf length map mapAccum mapAccumRight mergeAll none nth pair partition pluck prepend range reduce reduceBy reduced reduceRight reject remove repeat reverse scan sequence slice sort splitAt splitEvery splitWhen tail take takeLast takeLastWhile takeWhile times transduce transpose traverse unfold uniq uniqBy uniqWith unnest update without xprod zip zipObj zipWith
1617
syntax keyword typescriptRaLogic contained allPass and anyPass both complement cond defaultTo either ifElse isEmpty not or pathSatisfies propSatisfies unless until when
1718
syntax keyword typescriptRaObject contained assoc assocPath clone dissoc dissocPath eqProps evolve has hasIn invert invertObj keys keysIn lens lensIndex lensPath lensProp mapObjIndexed merge mergeWith mergeWithKey objOf omit over path pathOr pick pickAll pickBy project prop propOr props set toPairs toPairsIn values valuesIn view where whereEq
1819
syntax keyword typescriptRaRelation contained clamp countBy difference differenceWith eqBy equals gt gte identical intersection intersectionWith lt lte max maxBy min minBy pathEq propEq sortBy symmetricDifference symmetricDifferenceWith union unionWith
@@ -23,9 +24,9 @@ syntax keyword typescriptRaString contained match replace split test toLower toS
2324
" Define the default highlighting.
2425
" For version 5.7 and earlier: only when not done already
2526
" For version 5.8 and later: only when an item doesn't have highlighting yet
26-
if version >= 508 || !exists("did_backbone_typescript_syntax_inits")
27+
if version >= 508 || !exists("did_ramda_typescript_syntax_inits")
2728
if version < 508
28-
let did_backbone_typescript_syntax_inits = 1
29+
let did_ramda_typescript_syntax_inits = 1
2930
command -nargs=+ HiLink hi link <args>
3031
else
3132
command -nargs=+ HiLink hi def link <args>

0 commit comments

Comments
 (0)