mirror of
https://github.com/NotAShelf/nvf.git
synced 2026-05-19 05:24:22 +00:00
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:
parent
c58930be36
commit
b2ddb0c38c
2 changed files with 2 additions and 1 deletions
|
|
@ -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):
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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"];
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue