Code: Select all
"files": "*rc;conf;*.conf;config;*.config;cfg;*.cfg"
Code: Select all
"files": "*rc;conf;*.conf;config;*.config;cfg;*.cfg"
Yes, try shellcheckrc for example.- '*rc' works?
Comprehensive file extension lists I found online show no problems. Also, Cud still lexes "~/.bashrc" and "~/.zshrc" correctly as shell script. So those present no conflict. Bash and zsh have just a few confs anyway, so a "detect" stanza could handle them.- '*rc' is not ok because 'rc' may be...
Code: Select all
.*rcCode: Select all
*.rcCode: Select all
.*rcNo, because this pattern is not specific to Free Pascal. Windows uses *.cfg a lot. Linux programs use it too, if not commonly. Java apps may have a "jvm.cfg" file. The suffix can only mean "configuration" anyway, no matter the platform.- for the case of fppkg.cfg - better to add this case to "detect" option (described in the wiki).
Code: Select all
"files": ".*rc;conf;*.conf;config;*.config;cfg;*.cfg"
Code: Select all
limit-rate = 7M