italian-ruby 0.8.15 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0ad92503f1fb450fdc95f6f509e465c1003759a5362d7e9eba7dc5aecfa576bb
4
- data.tar.gz: e3094c20a2ad852105050fce643b598481f48ed45d2f8ba57d90f3957c6cdef7
3
+ metadata.gz: a1469fda7ccffa5bbc150093f1c968ea3c6069572af4cae6a21d218ab9b28170
4
+ data.tar.gz: f137557ce70eb87f8a3f5e437f797349a6bcfba0980127f173d03f471df3d0fc
5
5
  SHA512:
6
- metadata.gz: 47b1cc938632dfa56366e3d5c6aaa00d0ddf48a1d26787ba2bea2e33e19646f8d04116e9adad5e7a3dfb1f29c35f1eb168eaa4e1445f408190ea1977367c04b7
7
- data.tar.gz: 3909669eb9a6b8c397ffba7908365f812f81827d957efd33f14d4628a77b0876dac7c6e911b0d88491d8605f42d4b430b018d55025a1257d902f5e871d9eaed1
6
+ metadata.gz: 70b9e0555d6f6656248ad96745d71caebef9694d914000b53a6d868a5b8259a8d2224a0b1b7a7877ee85563a722471ab0187ad83ec9a00d71f22e8c4169e3bf5
7
+ data.tar.gz: cad27b133e10ddc0518ea79bed69e5aad8a83f17c9a9d6167f239e587a77e84f9e3f91d6ed2729030adb32f702d1d71506f745a69688d50c9079684cd287c208
@@ -6,6 +6,7 @@
6
6
  alias :stampa :puts
7
7
  alias :scrivi :print
8
8
  alias :cicla :loop
9
+ alias :dormi :sleep
9
10
  alias :definisci_metodo_singolo :define_singleton_method
10
11
  alias :blocco_dato? :block_given?
11
12
  alias :cattura :catch
@@ -1,5 +1,5 @@
1
1
  module Italian
2
2
  module Ruby
3
- VERSION = "0.8.15"
3
+ VERSION = "0.9.0"
4
4
  end
5
5
  end
@@ -8,9 +8,9 @@ if exists("b:current_syntax")
8
8
  endif
9
9
 
10
10
  syn match italianRubyKeyword /\v(\s|^)(classe|modulo|esegui)\s/me=e-1
11
- syn match italianRubyKeyword /\v(\s|^)(se|allora|altrimenti_se|a_meno_che|considera|quando|finché|in|definito\?)\s/me=e-1
11
+ syn match italianRubyKeyword /\v(\s|^)(se|allora|altrimenti_se|a_meno_che|considera|quando|finché|in|definito\?|alias|super)\s/me=e-1
12
12
  syn match italianRubyKeyword /\v(\s|^)(prossimo|prossima|esci|ritorna|rilascia|recupera)\s/me=e-1
13
- syn match italianRubyKeyword /\v(\s|^)(se|allora|altrimenti|a_meno_che|considera|esci|ritorna|rilascia|blocco_dato\?)$/
13
+ syn match italianRubyKeyword /\v(\s|^)(se|allora|altrimenti|a_meno_che|considera|esci|ritorna|rilascia|blocco_dato\?|super)$/
14
14
  syn match italianRubyKeyword /\v(\s|^)(inizia|recupera|assicura|riprova|esegui|fine)$/
15
15
 
16
16
  syn region italianRubyDefinition start=/definisci/ end=/[$\n\(]/ contains=italianRubySymbol,italianRubyConstant,italianRubyNumeric,italianRubySpecial,italianRubySplatOperator
@@ -31,21 +31,22 @@ syn match italianRubyConstant /\v[A-Z][a-zA-Z0-9àèéìòùÀÈÌ
31
31
  syn match italianRubyComment /\v#.*$/
32
32
 
33
33
  syn match italianRubyNumeric /\v(\s)+([0-9\.]+)/
34
- syn match italianRubyInterpolationStart /\v#\{/ contained containedin=italianRubyInterpolation
35
- syn match italianRubyInterpolationStop /\v\}/ contained containedin=italianRubyInterpolation
36
- syn region italianRubyInterpolation start=/\v#\{/ end=/\v\}/ contains=TOP,italianRubyComment contained keepend
37
- syn region italianRubyString start=/"/ end=/"/ skip=/\\"/ contains=italianRubyInterpolation
34
+ syn match italianRubyInterpolationStart /\v#\{/ contained containedin=italianRubyInterpolation
35
+ syn match italianRubyInterpolationStop /\v\}/ contained containedin=italianRubyInterpolation
36
+ syn region italianRubyInterpolation start=/\v#\{/ end=/\v\}/ contains=TOP,italianRubyComment contained keepend
37
+ syn region italianRubyString start=/"/ end=/"/ skip=/\\"/ contains=italianRubyInterpolation
38
+ syn region italianRubyString start=/\v\%\{/ end=/\}/ skip=/\\"/ contains=italianRubyInterpolation
38
39
 
39
40
  syn match italianRubySpecial /\v(\s|^)(includi|estendi|preponi)(\s|$)/
40
41
  syn match italianRubySpecial /\v(\s|^)(pubblici|protetti|privati)(\s|$)/
41
42
  syn match italianRubySpecial /\v(\s|^)(richiedi|richiedi_relativo|richiedi_tutti)(\s|$)/
42
- syn match italianRubySpecial /\v(\s|^)(cicla|alza)(\s|$)/
43
- syn match italianRubySpecial /\v(\s|^)(cattura|lancia)/
43
+ syn match italianRubySpecial /\v(\s|^)(cicla|alza)(\s|$)/me=e-1
44
+ syn match italianRubySpecial /\v(\s|^)(cattura|lancia)\s/me=e-1
44
45
  syn match italianRubySpecial /\v\.(nuovo|nuova)(\s|\,|\()/hs=s+1,he=e-1,me=e-1
45
46
  syn match italianRubySpecial /\v\.(nuovo|nuova)\)/hs=s+1,he=e-1
46
47
  syn match italianRubySpecial /\v\.(nuovo|nuova)$/hs=s+1
47
48
  syn match italianRubySpecial /\v(se_stesso|se_stessa)/
48
- syn match italianRubySpecial /\v(\s)+(si|no|nullo|nulla)(\s|$)/
49
- syn match italianRubySpecial /\v(\s)+(si|no|nullo|nulla)(\W)/he=e-1
49
+ syn match italianRubySpecial /\v(\s)+(si|no|nullo|nulla)$/
50
+ syn match italianRubySpecial /\v(\s)+(si|no|nullo|nulla)\W/he=e-1,me=e-1
50
51
 
51
52
  let b:current_syntax = "ir"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: italian-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.15
4
+ version: 0.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Francesco Ballardin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-07-08 00:00:00.000000000 Z
11
+ date: 2020-07-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler