Skip to content

Error in C comments #191

Open
Open
@Jimmie-Cricket

Description

@Jimmie-Cricket

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions