LazyVim.LazyVim/lua/lazyvim/plugins/extras
Iordanis Petkakis 6dcd9794b1
fix(ocaml): get_language_id (#4327)
## Description
This fixes the error users get from local function `get_language_id`. 

From looking into [nvim-lspconfig
ocamllsp](https://github.com/neovim/nvim-lspconfig/blob/master/lua/lspconfig/server_configurations/ocamllsp.lua)
and other googling around, namely [tjdevries config
files](9b790b90c1/lua/custom/plugins/lsp.lua (L108-L115))
and [another
one](e31c0d61fd/nvim/after/plugin/lspconfig.lua (L67)),
it seems that we can directly set these as filetypes foregoing the
mapping via the additional local function which would also need the
[nvim-lspconfig language_id
mapping](d4814330b2/lua/lspconfig/server_configurations/ocamllsp.lua (L3-L10)).

Please bear in mind I don't do any Ocaml, so it would be great if other
users who do Ocaml could test this PR.
<!-- Describe the big picture of your changes to communicate to the
maintainers
  why we should accept this pull request. -->

## Related Issue(s)
Closes #4326
<!--
  If this PR fixes any issues, please link to the issue here.
  - Fixes #<issue_number>
-->

## Screenshots

<!-- Add screenshots of the changes if applicable. -->

## Checklist

- [x] I've read the
[CONTRIBUTING](https://github.com/LazyVim/LazyVim/blob/main/CONTRIBUTING.md)
guidelines.
2024-09-18 08:20:43 +02:00
..
coding fix(extra): make copilot-chat.lua fallback to the latest model (#4411) 2024-09-16 08:46:52 +02:00
dap fix(dap): extend dap.configurations from .vscode/launch.json (#4106) 2024-07-23 17:05:18 +02:00
editor fix(telescope): better find_command. Fixes #4031 2024-07-14 18:06:40 +02:00
formatting fix(prettier): fixup 2024-06-07 23:24:01 +02:00
lang fix(ocaml): get_language_id (#4327) 2024-09-18 08:20:43 +02:00
linting feat: use LazyVim everywhere instead of require("lazyvim.util") 2024-03-22 09:15:09 +01:00
lsp feat: moved neoconf.nvim to extras 2024-06-02 09:05:16 +02:00
test fix(neotest): support adapter key on adapter for playwright (#3824) 2024-06-27 16:04:26 +02:00
ui feat(editor): replace nvim-spectre with grug-far.nvim (#4099) 2024-07-20 21:39:39 +02:00
util feat(icons): provide language specific icons in extras (#3931) 2024-07-07 19:28:51 +02:00
vscode.lua feat(vscode): make use of vscode builtin terminal (#4392) 2024-09-18 08:16:29 +02:00