Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • function! GotoCFile()
        let cfile_prefix     = '#\s*cfile:\s*'
        let cfile_expression = cfile_prefix . '\w\+'
        if match(getline('.'), cfile_expression) > -1
            let good_line = matchstr(getline('.'), cfile_expression)
            " probably need some more interesting way to make a relative path
            " also need to get rid of any stuff that might