Commit Graph
91 Commits
Author SHA1 Message Date
Ludovic Koenig 8746d7c7a7 Add the highlight of the classes in an 'import'
It highlights the name of the classes that are imported by an 'import'
statement.
2019-04-30 22:48:09 +02:00
Ludovic Koenig f6ed184a36 Add the highlight and syntax for the enums
It highlights the name of an enum the same way it highlights the one of
a class.
2019-04-30 22:38:43 +02:00
Ludovic Koenig 4e8c85fae3 Fix some highlight overflows
In some case, the highlight of some generic types was overflowing:

  public void method(List<String> strings, List<Integer> integers) {}
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                       overflow of the first parameter

It corrects this behavior by restraining the type highlight before the
parameter name.
2019-04-30 22:19:36 +02:00
Ludovic Koenig 34fbaa5792 Take into account the Java diamond operator
Up to now the following text 'new ArrayList<>()' was not highlighted
correctly. The modification that has been done highlights it like a
normal type name.
2019-04-30 22:09:52 +02:00
Ludovic Koenig ac5afba7bf Modify the header of java.vim
It just tries to make it more symetric.
2019-04-02 22:29:58 +02:00
Ludovic Koenig 7e870e513a Incorporate the changes for Java 2019-04-02 22:12:33 +02:00
Ludovic Koenig 00fd7de50b Modify the CHANGELOG.md file
The CHANGELOG is modified to state the changes that have been introduced
by the modifications for Java programming language.
2019-04-02 22:10:42 +02:00
Ludovic Koenig a19b91bfc6 Add the highlights for Java
Methods are colored in green, types in yellows and annotations in
orange. Some italic flavours are also used.

The most difficult thing to achieve was to highlight constantly Java
types or classe names.
2019-04-02 22:02:04 +02:00
Ludovic Koenig 813a42c895 Add the syntax for Java
The Java syntax is located under the ./after/syntax repository.

The syntax provides mainly rules for methods, types and annotations. All
syntax rules have the prefix 'javaOdyssey'.
2019-04-02 21:58:17 +02:00
Ludovic Koenig 4d62434100 Reassociate the Operator highlight to Statement
After seeing that the 'new' keyword from Java was linked to the Operator
category, I decided to remap the Operator group to the Statement group.
2019-03-26 23:02:01 +01:00
Ludovic Koenig f3377f24da Incorporate the changes for Ruby
It adds the suport for the Ruby programming language in the master
branch.
2019-03-26 22:10:44 +01:00
Ludovic Koenig 00cb562d76 Modify the CHANGELOG.md file
It declares the addition of the support for the Ruby programming
language.
2019-03-26 22:04:10 +01:00
Ludovic Koenig 9d50a66ec9 Redefine some highlights for Ruby
Some highlight of the Ruby have been redefined entirely or are now
linked to other default highlights.
2019-03-26 21:57:54 +01:00
Ludovic Koenig daca076ad0 Modify some highlight commands
A new function s:l has been introduced in order to use 'highlight link'
instead of just a 'highlight' which redefined a new highlight instead of
using an existing one.

This function is used in some case in order not to redefine an
highlight. Now, Function links to Identifier and StorageClass, Structure
and Typedef all link to Statement.
2019-03-17 22:24:57 +01:00
Ludovic Koenig 6ac9581818 Incorporated the changes on the highlight groups 2019-03-17 15:52:02 +01:00
Ludovic Koenig ecb8629274 Modify the CHANGELOG.md
The changes made to the different highlight groups have been listed in
the CHANGELOG.md file.
2019-03-17 15:29:42 +01:00
Ludovic Koenig f36d342308 Particularize some new highlight groups
The highlight group named 'Operator' is colored with the procedure
color.

Plus, the highlight groups named 'StorageClass', 'Structure' and
'Typedef' are colored with the keyword color.
2019-03-17 14:05:54 +01:00
Ludovic Koenig 6d486a0096 Remove some highlights
Some of the highlights are removed because they compose the default
syntax, but are linked by default to other highlights.
2019-03-17 13:32:30 +01:00
Ludovic Koenig 755c1e7a89 Beautify some parts of the code
Some function calls have just been reorder in and between sections.
2019-03-17 13:18:29 +01:00
Ludovic Koenig da09ff70fe Incorporate the changes done for the release 0.3.0 2019-03-16 13:25:18 +01:00
Ludovic Koenig f8413a5a6d Bump the script release number to 0.3.0 2019-03-16 13:15:59 +01:00
Ludovic Koenig e5af8f9a1c Bump the CHANGELOG to release 0.3.0 2019-03-16 13:15:24 +01:00
Ludovic Koenig 424e45c328 Modify a variable name
In the function s:HL, the variable 'hi' is renamed 'l:hi' everywhere.
2019-03-16 13:14:16 +01:00
Ludovic Koenig 72f0154d37 Add more information in CHANGELOG.md
Some extra explantions have been added in the section '0.1.0' of the
CHANGELOG.md file.
2019-03-16 13:09:23 +01:00
Ludovic Koenig d387a42bbe Change the attribute of Type from bold to none
A last minute change before the new release: Types are back to having no
attribute.

In fact, it is expected to set all the attributes in the next release
(0.4.0), so we don't want to go head of ourselves.
2019-03-16 13:06:18 +01:00
Ludovic Koenig 5178b941de Change section names in CHANGELOG.md
The 'Syntax' section is renamed 'Default Syntax'.

Then, if a language or a plugin is supported, its associated section
will be named '<language or plugin> Syntax'.
2019-03-16 13:02:43 +01:00
Ludovic Koenig ae834705c2 Modify the structure of the comments
The highlighting of the synta groups has been split in two. There are
now:

- the 'User Interface',

- and the 'Syntax'.
2019-03-12 23:11:28 +01:00
Ludovic Koenig b39cbb7072 Incorporate the new attribute management method 2019-03-12 22:51:10 +01:00
Ludovic Koenig 42c70c10e9 Indicate the syntax groups that have changed
The CHANGELOG.md has been changed in order to indicate the syntax groups
that have been modified.
2019-03-12 22:49:10 +01:00
Ludovic Koenig 9c7b6609d0 Improve the mechanism for managing attributes
Attributes are now defined in a variable named 's:attributes' and can be
applied thanks to the function named 's:HL'.
2019-03-12 22:24:40 +01:00
Ludovic Koenig 159d1cbfcc Add a list of attributes for the highlights
A script-scoped variable containing all the different attributes has
been initialized.

This variable is a list with the attibutes for the terminals and the
GUIs.
2019-03-12 21:51:01 +01:00
Ludovic Koenig 549c8c98b9 Incorporate the change made to the yellow color 2019-03-11 21:58:10 +01:00
Ludovic Koenig 135a0d6c9f Modify the CHANGELOG.md to describe the new yellow 2019-03-11 21:57:39 +01:00
Ludovic Koenig e963c9c876 Make the yellow more yellowish
The color representing the types was to greenish and its hue has been
decreased to have more yellowish color.
2019-03-11 21:54:54 +01:00
Ludovic Koenig e128149de9 Incorporate the new color palette 2019-03-10 23:06:35 +01:00
Ludovic Koenig 14dffae306 Modify the CHANGELOG.md file
The new color which are now comosing the palette have been described
into the CHANGELOG.md file.
2019-03-10 23:05:44 +01:00
Ludovic Koenig 06ff8f3e59 Modify the color palette
The colors related to the errors, the warnings and the types have been
changed.

- Hue of the red (errors):      10

- Hue of the orange (warnings): 40

- Hue of the yellow (types):    80
2019-03-10 22:54:47 +01:00
Ludovic Koenig b318c006d8 Incorporate the changes made to the color palette 2019-03-09 23:21:54 +01:00
Ludovic Koenig 4466f809a9 Modify the CHANGELOG.md to introduce new colors
It adds a description of the changes made to the existing colors.
2019-03-09 23:20:42 +01:00
Ludovic Koenig 9e3829e190 Modify some of the colors
The following colors have been modified:

- type: The color of the types is now very yellowish, and its hue is 70.

- keyword: The color of the keywords is now a blue a little bit darker
           whose hue is 180. It is great because it is nearer the hue of
           the background color.

- constant: The color of the constants is now a dark blue instead of a
            yellow-green.
2019-03-09 23:01:03 +01:00
Ludovic Koenig 78bc494deb Incorporate the changes done for the release 0.2.0
It mainly incorporates modifications of the README.md and CHANGELOG.md
files.
2019-03-09 19:22:58 +01:00
Ludovic Koenig c0f891fd55 Fix the section 0.2.0 in CHANGELOG.md
This section was not a subtitle of the form '##'.
2019-03-09 14:13:37 +01:00
Ludovic Koenig efa931dcca Correct some explainations
It uses the notion of 8-bits colors to describe the space of xterm 256
colors.
2019-03-09 14:09:03 +01:00
Ludovic Koenig 24b738b4e0 Modify the README.md for installation purposes
It is now described how to use 256-colors or 24-bits colors.
2019-03-09 14:02:08 +01:00
Ludovic Koenig 896ccf1982 Update the CHANGELOG.md file
It modifies the hexacode of the constants color and adds the fact that
256-color terminals are supported.
2019-03-09 14:01:07 +01:00
Ludovic Koenig 770ffc7877 Change the script version to 0.2.0 2019-03-09 13:50:23 +01:00
Ludovic Koenig 9d4da450b0 Adjust the constants color
The hue of the constant color has been moved to 95 to make it more
yellowish.
2019-03-09 13:49:23 +01:00
Ludovic Koenig 088646a9b1 Add the new syntax name groups to CHANGELOG.md
It adds a section in the CHANGELOG.md describing the addition of the
syntax group named Cursor and lCursor.
2019-03-09 13:44:15 +01:00
Ludovic Koenig 3611c293ab Incorporate the new constants color 2019-03-09 12:29:03 +01:00
Ludovic Koenig 3499117eec Modify the color of Constant
At first, I chose a yellowish color, but, now, I wanted to try a more
yellow-greenish color for the Constant.
2019-03-09 12:27:28 +01:00