1 |
>>>>> On Fri, 15 Sep 2017, Michał Górny wrote: |
2 |
|
3 |
> W dniu pią, 15.09.2017 o godzinie 00∶04 -0700, użytkownik Daniel |
4 |
> Campbell napisał: |
5 |
>> Now that you mention it, putting it into syntax packages seems |
6 |
>> cleaner and editors could get automatic support. *And* this |
7 |
>> repository doesn't have to be touched... |
8 |
>> |
9 |
>> Maybe we have a winner? :p |
10 |
|
11 |
> Nah, we just wait for someone to tell us that he has an editor |
12 |
> without proper syntax packages ;-). |
13 |
|
14 |
Emacs supports RST out of the box too, and it is automatically enabled |
15 |
if the file has an .rst or .rest suffix. (Obviously .txt is too |
16 |
generic for that; it can be enabled manually with M-x rst-mode RET.) |
17 |
If necessary, I could create a skeleton for GLEPs with pre-filled |
18 |
header lines and section structure. |
19 |
|
20 |
Looks like nano doesn't support RST syntax. It gets confused and |
21 |
mistakes the file as Rust: |
22 |
|
23 |
$ grep syntax /usr/share/nano/rust.nanorc |
24 |
syntax "rust" "\.rs" |
25 |
|
26 |
Ulrich |