How to set Neovim+SpaceVim to syntax highlight Hugo (markdown, TOML, Go+HTML, CSS) files?

508 Views Asked by At

I am on Manjaro using Neovim and SpaceVim vanilla installations. The editor works fantastically well.

Since I am new to vim-style editing, I do not want to mess my configuration. Yet I'm not very savvy about how to add plugins to Neovim+SpaceVim.

I want my Hugo files to have a proper syntax highlighting. Files's content are TOML (.toml), markdown (.md, but not .markdown), Go+HTML (.html with some Go templates inside) and CSS (.css).

I tried to use the vim-go plugin using yay package manager, but there was no syntax highlighting :(

If you could help me, please take into account that I'm very new to this vim-universe. Thanks!

0

There are 0 best solutions below