In sh-mode
I am getting following flycheck-error message:
File Line [v]ColLevel ID Message (Checker)
config.sh 2 error Syntax error: "(" unexpected (sh-posix-dash)
for the following line:
strings=("hello" "world")
. But this is actually a valid expression in bash
.
complete file:
#!/bin/bash
strings=("hello" "world")
init.el
file has following lines, reference:
(define-derived-mode my-cfg-mode sh-mode "My CFg Mode" "A mode for my CFg files." (sh-set-shell "bash"))
Is it possible to suppress this warning message?