plugins/lsp: change deno root_dir pattern

This commit is contained in:
Dmitriy Pleshevskiy 2022-11-18 14:04:39 +03:00
parent 1067059290
commit 42e6ef422f
Signed by: pleshevskiy
GPG key ID: 1B59187B161C0215

View file

@ -80,7 +80,9 @@ lsp_config.eslint.setup({})
-- deno
-- To appropriately highlight codefences returned from denols
vim.g.markdown_fenced_languages = { "ts=typescript" }
lsp_config.denols.setup({})
lsp_config.denols.setup({
root_dir = lsp_config.util.root_pattern("deno.json", "deno.jsonc"),
})
-- rust
lsp_config.rust_analyzer.setup({