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

you have a bug that caused me must uninstall the plugin #85

Open
lovelyJason opened this issue Apr 8, 2020 · 4 comments
Open

you have a bug that caused me must uninstall the plugin #85

lovelyJason opened this issue Apr 8, 2020 · 4 comments

Comments

@lovelyJason
Copy link

when I format in nginx.conf file, it reported an error. It like this

"}" can only be used to close a block

And then in the file, it displayed an error icon like wavy line.It can be very uncomfortable

@lovetoburnswhen
Copy link

Could you provide a screenshot? I'm just a user but I'm having difficulty understanding the problem

@foxundermoon
Copy link
Owner

it cannot format nginx.conf

@ejose19
Copy link

ejose19 commented Nov 26, 2020

I confirm this bug, just having a nginx file and saving will trigger the displayed error. I resolved it using:

  "shellformat.effectLanguages": [
    "shellscript",
    "dotenv",
    "hosts",
    "jvmoptions",
    "ignore",
    "gitignore",
    "spring-boot-properties",
    "azcli"
  ],

@foxundermoon is there a way to exclude files by extension? (or even better, but passing a list/regex to shellformat config of files to exclude)

@yuusakuri
Copy link

j

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

No branches or pull requests

5 participants