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 in C comments #191

Open
MustardOnCheese opened this issue Dec 5, 2023 · 0 comments
Open

Error in C comments #191

MustardOnCheese opened this issue Dec 5, 2023 · 0 comments

Comments

@MustardOnCheese
Copy link

I get the following error when I open up a .c file.

"test.c" 7L, 729B
Error detected while processing BufRead Autocommands for "*.c"..function dist#ft#FTlpc[11]..FileType Autocommands for "*"..Syntax Autocomman
ds for "*"..function <SNR>18_SynSet[25]..script $HOME/.vim/plugged/vim-css-color/after/syntax/c.vim[1]..function css_color#init[10]..css
_color#enable[15]..modelines:
line    5:
E518: Unknown option: printf("Wrong
E518: Unknown option: printf("Wrong

Here is a snippet of a c file that kicks off the error:

void assert_failed(uint8_t *file, uint32_t line)
{
  /* USER CODE BEGIN 6 */
  /* User can add his own implementation to report the file name and line number, */
  /* ex: printf("Wrong parameters value: file %s on line %d\r\n", file, line) */
  /* USER CODE END 6 */
}

printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
r1.6cc6573

Any idea what is going on?

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