Replies: 1 comment
-
The errors must be from the linter plugin, which by default uses gcc to point out errors or bad practices in the code. The following command is used for the linter: To disable or reconfigure it you would do this in the function init()
-- removing the linter, you need to remove it if you want to reset it
linter.removeLinter('gcc')
-- resetting the linter with the arguments you want
linter.makeLinter('gcc', 'c', 'gcc', {'-fsyntax-only', '-Wall', '-Wextra', '%f'}, '%f:%l:%c:.+: %m')
end
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
So I write a lot of root scripts which are basically .c files in micro, but micro fails to recognise the syntax and then shows me errors when I save the file. I know these errors don't mean anything as long as my script runs fine, but its a bit annoying. Is there a way to tell micro about the root syntax or is there a way to suppress the errors given by micro? Thanks
Beta Was this translation helpful? Give feedback.
All reactions