Skip to content

Validate json after save #9

Open

Description

@gianarb

If filename is composer.json runs after saving command

composer validate

And if it return 0 (error) open horizontal split with command output

Activity

  1. self-assigned this
    on Apr 16, 2015
  2. sensorario commented on Sep 18, 2015

    @sensorario
    Member

    Run a command after saving a file:
    http://vimdoc.sourceforge.net/htmldoc/autocmd.html#FilterWritePost

    Get current filename:
    http://vimdoc.sourceforge.net/htmldoc/eval.html#expand()

    Open horizontal split with command output
    ... I've seen :copen command, but I need a bit of investigation of it ...

  3. removed their assignment
    on Aug 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions