languages/html: remove shtml and htm from filetypes

`:checkhealth` output:

```
- ⚠️ WARNING Unknown filetype 'shtml' (Hint: filename extension != filetype).
- ⚠️ WARNING Unknown filetype 'htm' (Hint: filename extension != filetype).
```
This commit is contained in:
poz 2026-05-13 02:59:41 +02:00
commit b2ddb0c38c
No known key found for this signature in database
2 changed files with 2 additions and 1 deletions

View file

@ -484,6 +484,7 @@ https://github.com/gorbit99/codewindow.nvim
- Remove invalid filetype from markdown lsp config (`mdx`). - Remove invalid filetype from markdown lsp config (`mdx`).
- Remove invalid filetypes from ocaml lsp config (`menhir`, `ocamlinterface`, - Remove invalid filetypes from ocaml lsp config (`menhir`, `ocamlinterface`,
`ocamllex` and `reason`). `ocamllex` and `reason`).
- Remove invalid filetypes from html lsp config (`shtml` and `htm`).
[itscrystalline](https://github.com/itscrystalline): [itscrystalline](https://github.com/itscrystalline):

View file

@ -117,7 +117,7 @@ in {
vim.lsp = { vim.lsp = {
presets = genAttrs cfg.lsp.servers (_: {enable = true;}); presets = genAttrs cfg.lsp.servers (_: {enable = true;});
servers = genAttrs cfg.lsp.servers (_: { servers = genAttrs cfg.lsp.servers (_: {
filetypes = ["html" "shtml" "xhtml" "htm"]; filetypes = ["html" "xhtml"];
}); });
}; };
}) })