To install this highlighter, copy past the vim.rst file
into .vim/syntax (or vimfiles\syntax if you're on windows).
Please note that this highlighter is currently in development phrase, it's not fully tested and can be buggy sometimes.
| autocmd FileType rst setlocal textwidth=78 | |
| autocmd Filetype markdown setlocal textwidth=78 |
| <?php | |
| use Symfony\Component\Stopwatch\Stopwatch; | |
| class StopwatchExtension extends Twig_Extension | |
| { | |
| private $stopwatch; | |
| public function __construct(Stopwatch $stopwatch = null) | |
| { |
| <?php | |
| use Symfony\Component\Form\AbstractType; | |
| use Symfony\Component\Form\FormBuilderInterface; | |
| class StudentType extends AbstractType | |
| { | |
| public function buildForm(FormBuilderInterface $builder, array $options) | |
| { | |
| // ... |
| 1.1 | |
| - website's verstaanbaar? Misschien bedoel je "begrijpen"? | |
| - door middel => doormiddel | |
| - "... alle nieuwe technieken die ik geleerd heb de afgelopen jaar" => "alle nieuwe technieen die ik het afgelopen jaar geleerd heb" | |
| 1.4 | |
| - "onder andere het woord framework zal" => "onder andere het woord "framework" zal" | |
| - ZEND is niks, je bedoelt "Zend Framework" | |
| 2.1 |
| <?php | |
| use Symfony\Component\Console\Command\Command; | |
| use Symfony\Component\Console\Input\InputOption; | |
| use Symfony\Component\Console\Input\InputInterface; | |
| use Symfony\Component\Console\Output\OutputInterface; | |
| class MyCommand extends Command | |
| { | |
| public function configure() |
| sonata_doctrine_phpcr_admin: | |
| document_tree: | |
| Doctrine\ODM\PHPCR\Document\Generic: | |
| valid_children: | |
| - all | |
| Symfony\Cmf\Bundle\SimpleCmsBundle\Document\Page: ~ | |
| Symfony\Cmf\Bundle\RoutingBundle\Document\Route: | |
| valid_children: | |
| - Symfony\Cmf\Bundle\RoutingBundle\Document\Route | |
| - Symfony\Cmf\Bundle\RoutingBundle\Document\RedirectRoute |
| From | To |
|---|---|
| getting_started/index.html | book/index.html |
| getting_started/installing_symfony_cmf.html | book/installation.html |
| getting_started/routing.html | book/routing.html |
| getting_started/simplecms.html | book/simplecms.html |
| getting_started/content.html | book/static_content.html |
| getting_started/menu.html | book/structuring_content.html |
| bundles/routing.html | bundles/routing/introduction.html |
| cookbook/using_a_custom_route_repository.html | bundles/routing/custom_repository.html |
| <?php | |
| // ... | |
| class FeatureContext extends MinkContext | |
| { | |
| protected $guestsName; | |
| // ... | |
| /** |