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

Error on autosave #114

Closed
ryanlabouve opened this issue Feb 14, 2018 · 1 comment
Closed

Error on autosave #114

ryanlabouve opened this issue Feb 14, 2018 · 1 comment

Comments

@ryanlabouve
Copy link

I added this from the docs:

" when running at every change you may want to disable quickfix
let g:prettier#quickfix_enabled = 0

let g:prettier#autoformat = 0
autocmd BufWritePre,TextChanged,InsertLeave *.js,*.jsx,*.mjs,*.ts,*.tsx,*.css,*.less,*.scss,*.json,*.graphql,*.md,*.vue PrettierAsync

But now when I save, I get Error detected while processing BufWritePre Auto commands for "*.js":

and E20: Mark not set.

Any suggestions for debugging this?

@ryanlabouve
Copy link
Author

I restarted VIM and this error went away! Sorry for false alarm.

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