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 +4 -4
- data/lib/italian/ruby/core_ext/main.rb +1 -0
- data/lib/italian/ruby/version.rb +1 -1
- data/vim/syntax/ir.vim +11 -10
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a1469fda7ccffa5bbc150093f1c968ea3c6069572af4cae6a21d218ab9b28170
|
4
|
+
data.tar.gz: f137557ce70eb87f8a3f5e437f797349a6bcfba0980127f173d03f471df3d0fc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 70b9e0555d6f6656248ad96745d71caebef9694d914000b53a6d868a5b8259a8d2224a0b1b7a7877ee85563a722471ab0187ad83ec9a00d71f22e8c4169e3bf5
|
7
|
+
data.tar.gz: cad27b133e10ddc0518ea79bed69e5aad8a83f17c9a9d6167f239e587a77e84f9e3f91d6ed2729030adb32f702d1d71506f745a69688d50c9079684cd287c208
|
data/lib/italian/ruby/version.rb
CHANGED
data/vim/syntax/ir.vim
CHANGED
@@ -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
|
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#\{/
|
35
|
-
syn match italianRubyInterpolationStop /\v\}/
|
36
|
-
syn region italianRubyInterpolation start=/\v#\{/
|
37
|
-
syn region italianRubyString start=/"/
|
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)
|
49
|
-
syn match italianRubySpecial /\v(\s)+(si|no|nullo|nulla)
|
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.
|
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-
|
11
|
+
date: 2020-07-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|