@@ -12,36 +12,35 @@ include rs.syntax
12
12
```
13
13
14
14
15
- # Если вы хотите оказать помощь проекту
15
+ # If you want to help this project
16
16
17
- * В настоящее время полной поддержки синтаксиса нет. Если вы расширите поддержку - буду рад PR-у.
18
- * Русский текст в ридми можно перевести на английский
17
+ * Right now we don't have full syntax support. I would be glad to get your PR with extended syntax support.
19
18
20
- # В настоящее время не поддерживается :
19
+ # At that moment we do not support :
21
20
22
21
```
23
- //это какое-то синтаксическое безумие. Впринципе, подсветить это можно ,
24
- //но навскидку в The Reference я не нашел такого синтаксиса, поэтому такое увидется как кавычки .
22
+ // This is syntax madness. In general, we could highlight it ,
23
+ // but i didn't find such syntax in the reference, that why it looks like quotes .
25
24
let x = r###"abcdefg"###;
26
25
27
- //контент внутри скобок не парсится каким-то особым образом, или парсится плохо
26
+ // content inside the brackets doesn't parse in any special way or parse badly
27
+ //
28
28
impl<....>
29
29
30
- //хотелось бы раскрасить поля и их тип в струкрутах:
30
+ // it would be nice to colorize fields and their types in structures
31
31
struct Foo {
32
32
v: MyType
33
33
}
34
34
35
35
```
36
36
37
37
38
- # Если не работает
38
+ # If doesn't work
39
39
40
- * Убедиться, что вы запускаете ` mcedit ` а не ` mcview ` . В ` mcview ` подсветки нет.
41
- * Попробовать ctrl+s. В mc эта комбинация - syntax, а не save
42
- * Убедиться, что в файл Syntax паттерн прописан до unknown. (можно вообще вначале файла прописать)
43
- * Убедиться, что нет ` ~/.config/mc/mcedit/Syntax ` . Если он есть - надо конфиг прописать в него
44
- * Возможно, в вашем mc пути к конфигам другие. В ` man mcedit ` об этом должно быть
45
-
46
- Если после этого не заработало, а потом вы смогли его завести, то нужно сделать PR c описанием проблемы и ее решения.
40
+ * Make sure, that you use ` mcedit ` and not ` mcview ` . Right now ` mcview ` doesn't have syntax highlight.
41
+ * Try ctrl+s. In mc this key combination -- syntax, and not save
42
+ * Make sure, that pattern is written till unknown in the Syntax file. (it possible to write in begin of file)
43
+ * Make sure, that file ` ~/.config/mc/mcedit/Syntax ` doesn't exist. If file exists you need to write configuration inside
44
+ * Perhaps, your mc could use other paths to configs. Read ` man mcedit ` about it
47
45
46
+ If after this steps it still doesn't work you could try to find solution and create PR with problem description and solution.
0 commit comments