mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
fixed get_language_id
This commit is contained in:
parent
d1fffee3e3
commit
a3c2fbe1a1
1 changed files with 1 additions and 2 deletions
|
|
@ -19,7 +19,7 @@ return {
|
|||
servers = {
|
||||
ocamllsp = {
|
||||
get_language_id = function(_, ftype)
|
||||
return ftype
|
||||
return language_id_of[ftype]
|
||||
end,
|
||||
root_dir = function(fname)
|
||||
return require("lspconfig.util").root_pattern(
|
||||
|
|
@ -32,7 +32,6 @@ return {
|
|||
"*.ml"
|
||||
)(fname)
|
||||
end,
|
||||
on_attach = on_attach,
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue