lfrc file format #775
-
I would like to enable syntax highlighting in vim for the lf config file (lfrc). Vim cannot find the file type automatically, so I have to set it manually. What file type is it? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
@fritzrehde It's a custom format and there are no vim syntax available for it that I'm aware of. Setting |
Beta Was this translation helpful? Give feedback.
@fritzrehde It's a custom format and there are no vim syntax available for it that I'm aware of. Setting
ft=conf
helps to highlight comments and string quotes which is good enough for most purposes. In fact, vim already sets this automatically for files with some comments in the first 5 lines on my system. One additional trick is to setfdm=marker
andfmr={{,}}
to fold multiline commands.