Just getting started learning Vim/Neovim and am just following along with some tutorials that said to just open up any repo on your system to play around.
I noticed that I don't have syntax highlighting for CSS if its in an HTML file inside of a <style>
block, but I do if I'm inside of a .css file.
I'm currently using LazyVim and did use "Mason" to install any language server that looked like it would enable CSS support.
Is this typical, that you'd have to switch the file type using :set filetype=css
to get highlighting for the <style>
block or is there something I'm not configuring correctly?
The example test html document
<!DOCTYPE html>
<html>
<head>
<title>Test</title>
<style>
div {
display: none;
color: #fff;
}
</style>
</head>
<body>
<div class="test">This is a test</div>
</body>
</html>
<style>
tag is not positioned correctly into the<html>
file structure or that there is something corrupted in your html file.