▲ 3 r/neovim
No highlights in .cpp file
I installed the newest neovim on my rocky 8 virtual machine and started with some plain init.lua configuration.
I added treesitter but I see no highlights at all in my text.
I have the following plugin setting
{
"nvim-treesitter/nvim-treesitter",
build = ":TSUpdate",
lazy = false,
config = function()
require("nvim-treesitter.config").setup({
ensure_installed = { "cpp", "c" },
highlight = { enable = true },
})
end,
}
I executed TSInstall cpp which worked. But TSModuleInfo is not recognized as a command.
u/terhajlito — 23 hours ago