Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

golang build tags can't set #2531

Open
ygy-tomato opened this issue Jun 21, 2021 · 0 comments
Open

golang build tags can't set #2531

ygy-tomato opened this issue Jun 21, 2021 · 0 comments

Comments

@ygy-tomato
Copy link

Expected behavior

I want to add build tags for go makers

Steps to reproduce

Output from :NeomakeInfo

Neomake debug information

Async support: 1
Current filetype: go
Windows: 0
[shell, shellcmdflag, shellslash]: ['/usr/bin/zsh', '-c', 0]
makeprg=go build, Last set from ~/.cache/vimfiles/repos/github.com/fatih/vim-go/ftplugin/go.vim line 25

Enabled makers

For the current filetype ("go", used with :Neomake):

  • go
    • append_file: 0
    • args: ['test', '-c', '-o', '/dev/null']
    • auto_enabled: 1
    • cwd: '%:h'
    • errorformat: '%W%f:%l: warning: %m,%E%f:%l:%c:%m,%E%f:%l:%m,%C%\s%+%m,%-G%.%#\[no test files],%-G#%.%#'
    • exe: 'go'
    • postprocess: function('neomake#postprocess#compress_whitespace')
    • serialize: 1
    • serialize_abort_on_error: 1
    • version_arg: 'version'
    • version information (/usr/local/go/bin/go version): go version go1.15.2 linux/amd64
  • golangci_lint
    • append_file: 0
    • args: ['run', '--out-format=line-number', '--print-issued-lines=false']
    • auto_enabled: 1
    • cwd: '%:h'
    • errorformat: '%f:%l:%c: %m,%f:%l: %m'
    • exe: 'golangci-lint'
    • output_stream: 'stdout'
    • version information (/home/ygy/go/bin/golangci-lint --version): golangci-lint has version v1.41.2-0.20210619201329-ba4504340cc7 built f
      rom (unknown, mod sum: "h1:l8jpWfQV7MxidpuTqmGPNpxQOxE12CVGOHTAJHk0UAg=") on (unknown)
      NOTE: you can define g:neomake_go_enabled_makers to configure it (or b:neomake_go_enabled_makers).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant