Skip to content
This repository was archived by the owner on Sep 20, 2023. It is now read-only.
This repository was archived by the owner on Sep 20, 2023. It is now read-only.

NUL file created by lessc.vim #963

@robertpateii

Description

@robertpateii

Hello,

When I save a .less file that has no errors, a NUL file is created in the same directory. It's really hard to delete a nul file.

I tracked it down to this code in the lessc.vim file:

let makeprg = self.makeprgBuild({
    \ 'exe': s:check_file,
    \ 'args': g:syntastic_less_options,
    \ 'tail': syntastic#util#DevNull() })

If I remove the tail part of this code, the problem goes away and errors are still correctly caught.

let makeprg = self.makeprgBuild({
    \ 'exe': s:check_file,
    \ 'args': g:syntastic_less_options})

Since i don't understand what the tail or the make program is doing, I didn't want to submit that change as a pull request.

I'm unsure if this is a problem with syntastic#util#DevNull() (which is used in 17 other checkers) or particular to lessc.vim.

Thanks for looking into this.

Robert

p.s.

Here's my version info:

  • lessc 1.5.1
  • Syntastic at f3240e6
  • gvim 7.4 (32-bit)
  • Windows 7 64-bit
  • node v0.10.24
  • npm 1.3.21

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions