Score:0

.conf file syntax highlighting on neovim

jp flag

I am using Neovim 8.0. previously I used nano, which had syntax highlighting for .conf files. But in neovim there is treesitter for popular languages. I don't know if there are any option for .conf file. So, is there any way to get syntax Highlighting for .conf file on neovim?

Hi-Angel avatar
es flag
Hmm, for me `nvim` highlights a conf file without any additional configuration. Might be some distro defaults though *(I'm not on Ubuntu)*. Anyway, can you show what `~/.vimrc` file you're using or do you not have any? In the latter case, try creating a `~/.vimrc` file with this line `syntax on`, then test whether syntax highlight appeared
muru avatar
us flag
Which .conf? Apache?
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.