Skip to content

Triggering from a spec folder #16

Description

@AsaAyers

I don't use files that end in spec.js, instead I have a folder named 'spec'.

I tried modifying the autcmd lines, but it doesn't seem like it reads the full file path. If it did, this would be my suggestion:

autocmd BufNewFile,BufRead,BufWritePost *[Ss]pec*js,*SpecHelper*js set filetype=jasmine.javascript syntax=jasmine.javascript
autocmd BufNewFile,BufRead,BufWritePost *[Ss]pec*coffee,*SpecHelper*coffee set filetype=jasmine.coffee syntax=jasmine.coffee

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions