diff options
| author | Johannes Altmanninger <aclopte@gmail.com> | 2022-02-09 16:13:29 +0100 |
|---|---|---|
| committer | Johannes Altmanninger <aclopte@gmail.com> | 2022-02-19 17:31:16 +0100 |
| commit | cc6fe5ae6138f901cf5de315a166584770b45e58 (patch) | |
| tree | 6653738e997e1b7af4b9860ae68ffe094fb15faf /src/input_handler.cc | |
| parent | e04a14cf73eb9b8011c05360c13dafa9f907bc4d (diff) | |
Add conf filetype, for generic Unix configuration files
We set the "ini" filetype for files ending in one of "repo", "ini",
"cfg", "properties" or "desktop". Most of these actually use Unix
style comments (#) instead of DOS INI comments (;).
Introduce filetype "conf" which is similar to "ini" except it uses the
default # as comment_line string. Both Vim and Emacs have a filetype
(or Major mode) named "conf" (hence modeline-parse of "vim ft=conf"
will work).
Here are references that show that the new "conf" files use #-comments:
*.repo -- search for # in
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/deployment_guide/sec-configuring_yum_and_yum_repositories
*.cfg: don't know much about this one, but at least the motivating file uses #
https://github.com/buildout/buildout/blob/master/buildout.cfg
*.properties files:
https://en.wikipedia.org/wiki/.properties
*.desktop: per spec
https://specifications.freedesktop.org/desktop-entry-spec/latest/ar01s03.html#comments
Diffstat (limited to 'src/input_handler.cc')
0 files changed, 0 insertions, 0 deletions
