korekto 1.4.210318 → 1.4.210326
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/korekto +1 -1
- data/lib/korekto.rb +1 -1
- data/start/korekto/syntax/korekto.vim +14 -5
- 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: 3cac6951966fa5ce4eba7f2de2054505cc2b6391d3c598022f700a8fa5e3b0cd
|
4
|
+
data.tar.gz: 1426d701eee6be60fde9e47ed2d7ffd590ffbaf9aaedd0aa1ba96af0fafb7079
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8913ca6f7e54d68c77f08a0fe6b1adc80d6fd54e96fd0170ab18aeaf75b7ec0dc0f301af61698f653039056055dabdd1275381fec19fd29643b3ed7d887eabbc
|
7
|
+
data.tar.gz: 9b80e93183ece64621f8d8712b51044fc5fb51038b35790b1789ceb7e7fc9684bafb5681bb9dbc5ea6a564c436a44ba67e745526da6d08849579a5cbf6137760
|
data/bin/korekto
CHANGED
data/lib/korekto.rb
CHANGED
@@ -1,12 +1,21 @@
|
|
1
|
+
syntax match Undef /:[^#]\+$/ contained containedin=Type
|
2
|
+
syntax match Unsup /#[A-Z]\d\+\(\.\w\+\)\?/ contained containedin=Type
|
3
|
+
syntax match Sup /#[A-Z]\d\+\(\.\w\+\)\?\/\S\+/ contained containedin=Type
|
4
|
+
syntax match Title / [^:]\+/ contained containedin=Type
|
5
|
+
syntax match Type /\s#[A-Z][^#]\+/ contains=Unsup,Sup,Title,Undef
|
1
6
|
syntax match Comment /^\s*#.\+$/
|
2
|
-
syntax match
|
3
|
-
syntax match Syntax /^[?] \w.\+$/
|
7
|
+
syntax match Syntax /^[?] \S.\+$/
|
4
8
|
syntax match Patch /^::[A-Z]\w\+#\w\+[^=]\+=.\+$/
|
5
9
|
syntax match Import /^< [\/A-Za-z\_\-\.]\+$/
|
10
|
+
syntax match Setting /^! \S.*$/
|
11
|
+
highlight Undef ctermfg=red
|
12
|
+
highlight Unsup ctermfg=brown
|
13
|
+
highlight Sup ctermfg=darkgreen
|
14
|
+
highlight Title ctermfg=darkblue
|
6
15
|
highlight Comment ctermfg=darkblue
|
7
|
-
highlight
|
8
|
-
highlight Syntax ctermfg=darkmagenta
|
16
|
+
highlight Import ctermfg=brown
|
9
17
|
highlight Patch ctermfg=darkgrey
|
10
|
-
highlight
|
18
|
+
highlight Syntax ctermfg=darkgrey
|
19
|
+
highlight Setting ctermfg=darkmagenta
|
11
20
|
setlocal tabstop=23
|
12
21
|
map <F7> :Korekto<CR>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: korekto
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.210326
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- carlosjhr64
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-03-
|
11
|
+
date: 2021-03-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: help_parser
|