feature #24 use default highlight language if none was given (xabbuh)
feature #24 use default highlight language if none was given (xabbuh)

This PR was merged into the 1.0-dev branch.

Discussion
----------

use default highlight language if none was given

When using the `literalinclude` directive inside a configuration
block, it's a tedious task to always pass the language used to
highlight the included code file like this:

```
.. configuration-block::

    .. literalinclude:: /foo.php
        :language: php
```

Now, you can omit the `language` to let the file being rendered with
the language configured by the `highlight_language` option:

```
.. configuration-block::

    .. literalinclude:: /foo.php
```

This way, a `literalinclude` directive used inside a configuration
block works in the same manner as outside of it.

Commits
-------

42e9c7e use default highlight language if none was given

rdowinton/sphinx-php,fabpot/sphinx-php