languages/ocaml: remove invalid filetypes

`:checkhealth` output:

```
- ⚠️ WARNING Unknown filetype 'menhir' (Hint: filename extension != filetype).
- ⚠️ WARNING Unknown filetype 'ocamlinterface' (Hint: filename extension != filetype).
- ⚠️ WARNING Unknown filetype 'ocamllex' (Hint: filename extension != filetype).
- ⚠️ WARNING Unknown filetype 'reason' (Hint: filename extension != filetype).
```
This commit is contained in:
poz 2026-05-13 02:21:10 +02:00
commit c58930be36
No known key found for this signature in database
2 changed files with 3 additions and 1 deletions

View file

@ -482,6 +482,8 @@ https://github.com/gorbit99/codewindow.nvim
`geom`, `comp`).
- Remove invalid filetype from go lsp config (`gotmpl`).
- Remove invalid filetype from markdown lsp config (`mdx`).
- Remove invalid filetypes from ocaml lsp config (`menhir`, `ocamlinterface`,
`ocamllex` and `reason`).
[itscrystalline](https://github.com/itscrystalline):

View file

@ -68,7 +68,7 @@ in {
vim.lsp = {
presets = genAttrs cfg.lsp.servers (_: {enable = true;});
servers = genAttrs cfg.lsp.servers (_: {
filetypes = ["ocaml" "menhir" "ocamlinterface" "ocamllex" "reason" "dune"];
filetypes = ["ocaml" "dune"];
});
};
})