Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add syntaxes for prominent (configuration) files like /etc/fstab #593

Closed
7 of 9 tasks
sharkdp opened this issue Jun 11, 2019 · 6 comments
Closed
7 of 9 tasks

Add syntaxes for prominent (configuration) files like /etc/fstab #593

sharkdp opened this issue Jun 11, 2019 · 6 comments
Labels
good first issue Good for newcomers help wanted Extra attention is needed syntax-request

Comments

@sharkdp
Copy link
Owner

sharkdp commented Jun 11, 2019

It would be great if we could offer (even simple) syntax highlighting for some of the more famous configuration files:

config:

  • /etc/fstab
  • /etc/passwd and /etc/group
  • /etc/resolv.conf
  • /etc/hosts
  • /etc/ssh_config and /etc/sshd_config

less important (IMO):

  • /etc/X11/xorg.conf and /etc/X11/xorg.conf.d/*
  • /etc/ld.so.conf

non-config files that would be nice to have:

  • /proc/cpuinfo
  • /proc/meminfo

This is partly related to #592

@sharkdp sharkdp added help wanted Extra attention is needed good first issue Good for newcomers syntax-request labels Jun 11, 2019
@sharkdp
Copy link
Owner Author

sharkdp commented Oct 28, 2019

see updates in #698 and #703

@sharkdp
Copy link
Owner Author

sharkdp commented Oct 29, 2019

and more updates in #696 #706

@sharkdp
Copy link
Owner Author

sharkdp commented Dec 22, 2019

Added simple syntaxes for /proc/meminfo and /proc/cpuinfo.

I'm going to close this for now, as all the important things have been covered.

@sharkdp sharkdp closed this as completed Dec 22, 2019
@sharkdp
Copy link
Owner Author

sharkdp commented Mar 22, 2020

This has been released in bat 0.13.

@dufferzafar
Copy link

dufferzafar commented Jun 4, 2020

@sharkdp Does bat have syntax highlighting for nginx / apache configs?

Sublime pacakges for the same:

https://github.com/colinta/ApacheConf.tmLanguage

https://github.com/brandonwamboldt/sublime-nginx/tree/master/Syntaxes

@sharkdp
Copy link
Owner Author

sharkdp commented Jun 5, 2020

Could you please open a new "syntax request" ticket? Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed syntax-request
Projects
None yet
Development

No branches or pull requests

2 participants