mirror of
https://github.com/CatalaLang/catala.git
synced 2024-11-08 07:51:43 +03:00
Revert "fix(syntax_highlighting): Type to Structure for primitive types"
This reverts commit 241ae8f7d3
.
This commit is contained in:
parent
241ae8f7d3
commit
01daa6e1e1
@ -34,7 +34,7 @@ syn match Float contained "\<\([0-9]\+\(,[0-9]*\)*\(.[0-9]*\)\{0,1}\)\>"
|
||||
syn keyword Boolean contained true false
|
||||
syn match Operator contained "\(->\|+\.\|+@\|+\^\|+\$\|+\|-\.\|-@\|-\^\|-\$\|-\|\*\.\|\*@\|\*\^\|\*\$\|\*\|/\.\|/@\|/\^\|/\$\|/\|\!\|>\.\|>=\.\|<=\.\|<\.\|>@\|>=@\|<=@\|<@\|>\$\|>=\$\|<=\$\|<\$\|>\^\|>=\^\|<=\^\|<\^\|>\|>=\|<=\|<\|=\|not\|or\|xor\|and\|\$\|%\|an\|year\|day\)"
|
||||
syn match punctuation contained "\(--\|\;\|\.\|,\|\:\|(\|)\|\[\|\]\|{\|}\)"
|
||||
syn keyword Structure contained integer boolean date duration money text decimal number sum
|
||||
syn keyword Type contained integer boolean date duration money text decimal number sum
|
||||
|
||||
syn region ctxt contained
|
||||
\ matchgroup=Keyword start="\<context"
|
||||
|
@ -34,7 +34,7 @@ syn keyword Boolean contained vrai faux
|
||||
" (EmileRolley) NOTE: maybe special characters such as '€' should be encoded differently.
|
||||
syn match Operator contained "\(->\|+\.\|+@\|+\^\|+€\|+\|-\.\|-@\|-\^\|-€\|-\|\*\.\|\*@\|\*\^\|\*€\|\*\|/\.\|/@\|/\^\|/€\|/\|\!\|>\.\|>=\.\|<=\.\|<\.\|>@\|>=@\|<=@\|<@\|>€\|>=€\|<=€\|<€\|>\^\|>=\^\|<=\^\|<\^\|>\|>=\|<=\|<\|=\|non\|ou\s\+bien\|ou\|et\|€\|%\|an\|mois\|jour\)"
|
||||
syn match punctuation contained "\(--\|\;\|\.\|,\|\:\|(\|)\|\[\|\]\|{\|}\)"
|
||||
syn keyword Structure contained entier booléen date durée argent texte décimal décret loi nombre somme
|
||||
syn keyword Type contained entier booléen date durée argent texte décimal décret loi nombre somme
|
||||
|
||||
syn region ctxt contained
|
||||
\ matchgroup=Keyword start="\<contexte"
|
||||
|
@ -33,7 +33,7 @@ syn match Float contained "\<\([0-9]\+\(,[0-9]*\|\)*\(.[0-9]*\)\{0,1}\)\>"
|
||||
syn keyword Boolean contained prawda falsz
|
||||
syn match Operator contained "\(->\|+\.\|+@\|+\^\|+\$\|+\|-\.\|-@\|-\^\|-\$\|-\|\*\.\|\*@\|\*\^\|\*\$\|\*\|/\.\|/@\|/\^\|/\$\|/\|\!\|>\.\|>=\.\|<=\.\|<\.\|>@\|>=@\|<=@\|<@\|>\$\|>=\$\|<=\$\|<\$\|>\^\|>=\^\|<=\^\|<\^\|>\|>=\|<=\|<\|=\|nie\|lub\|xor\|i\|\$\|%\|rok\|miesiac\|dzien\)"
|
||||
syn match punctuation contained "\(--\|\;\|\.\|,\|\:\|(\|)\|\[\|\]\|{\|}\)"
|
||||
syn keyword Structure contained calkowita zerojedynkowy czas trwania pieniądze warunek tekst dziesiętny suma
|
||||
syn keyword Type contained calkowita zerojedynkowy czas trwania pieniądze warunek tekst dziesiętny suma
|
||||
|
||||
syn region ctxt contained
|
||||
\ matchgroup=Keyword start="\<kontekst"
|
||||
|
Loading…
Reference in New Issue
Block a user