Skip to content

Commit b8c05e6

Browse files
author
Ian
committed
README.md translated to English
1 parent a71b751 commit b8c05e6

File tree

1 file changed

+15
-16
lines changed

1 file changed

+15
-16
lines changed

README.md

+15-16
Original file line numberDiff line numberDiff line change
@@ -12,36 +12,35 @@ include rs.syntax
1212
```
1313

1414

15-
# Если вы хотите оказать помощь проекту
15+
# If you want to help this project
1616

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.
1918

20-
# В настоящее время не поддерживается:
19+
# At that moment we do not support:
2120

2221
```
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.
2524
let x = r###"abcdefg"###;
2625
27-
//контент внутри скобок не парсится каким-то особым образом, или парсится плохо
26+
// content inside the brackets doesn't parse in any special way or parse badly
27+
//
2828
impl<....>
2929
30-
//хотелось бы раскрасить поля и их тип в струкрутах:
30+
// it would be nice to colorize fields and their types in structures
3131
struct Foo {
3232
v: MyType
3333
}
3434
3535
```
3636

3737

38-
# Если не работает
38+
# If doesn't work
3939

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
4745

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

Comments
 (0)