griddycode icon indicating copy to clipboard operation
griddycode copied to clipboard

The c++ lang file is not written right.

Open Autonvilkku opened this issue 1 year ago • 4 comments

Describe the bug The c++ lang file uses "add_comment()" function wrong and the autocorrect is used wrong.

Expected behavior I expected the add comment fucnction to add comments in the "Ctrl+L" menu, but it's written like this:

--- Comments
add_comment("//", "", "comments", true)
add_comment("/*", "*/", "comments", false)

And the autocorrect feature is written wrong. It trys to autocorrect types as variables and functions.

Desktop (please complete the following information):

  • OS: Arch linux
  • Version 1.2.2 (build from source with compability mode, but that shouldn't matter)

And sorry for my bad english.

Autonvilkku avatar Jun 14 '24 07:06 Autonvilkku

I ment it shouldnt autocorrect types

Autonvilkku avatar Jun 20 '24 04:06 Autonvilkku