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

Wrong default configuration for vint? #14

Open
pierreglaser opened this issue Jan 19, 2020 · 1 comment
Open

Wrong default configuration for vint? #14

pierreglaser opened this issue Jan 19, 2020 · 1 comment

Comments

@pierreglaser
Copy link

Hi,
First of all thank you for this project, on which I rely for shell and vimscript linting.
I had trouble making diagnostic-languageserver work for vimscript though. I don't know if something changed recently, but the default entry:

	 "diagnostic-languageserver.linters":{
            "vint": {
                "command": "vint",
                "debounce": 100,
                "args": ["--enable-neovim", "-" ],
                "offsetLine": 0,
                "offsetColumn": 0,
                "sourceName": "vint",
                "formatLines": 1,
                "formatPattern": [
                    "[^:]+:(\\d+):(\\d+):\\s*(.*$)",
                    {
                        "line": 1,
                        "column": 2,
                        "message": 3
                    }
                ]
            }
	 }

does not seem to work. I had to change the "args" option to "args": ["%file"].
On macos high-sierra using vint 0.3.21 on Python 3.6.9 and vim 8.1.2072.
Thanks a lot!

@iamcco
Copy link
Owner

iamcco commented Jan 20, 2020

Can not reproduce with vint v0.3.21

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

2 participants