axiom-developer
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Axiom-developer] Vim syntax file


From: Ralf Hemmecke
Subject: Re: [Axiom-developer] Vim syntax file
Date: Wed, 13 Nov 2013 13:32:00 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0

>> https://github.com/hemmecke/vim-panaxiom

>> It would also be nice, if you can incorporate the code from Johannes
>> Grabmeier (http://axiom-wiki.newsynthesis.org/AxiomInVim).

I've now added that file as fricas.vim to the repository.

> I don't think it is a good idea:
> - keywords are defined as a different set (I tried to keep it minimal):
> this reuires some care in merging syntax definitions.
> - using the two differente files, axiom highlights result just in a
> different color scheme: every vim user will change the color scheme to
> its own taste.
> - there are a lot of other syntax that are not relative to axiom (C++,
> maybe?) It doesn't seem to me a good idea to mix up syntax for different
> languages in the same file. Moreover, they are far too complex for me.

Right. I don't understand the vim-syntax, but it seems that all the
things that start like cSomething (c-prefix) are not relevant for Axiom.

Johannes, do you think you can help in merging Fabio's and your
vim-mode. Maybe your vim-mode could at least take advantage of the
generated identifiers
(https://github.com/hemmecke/vim-panaxiom/blob/master/axiom/keywords.sh).

Ralf




reply via email to

[Prev in Thread] Current Thread [Next in Thread]