plugins/lsp: change deno root_dir pattern
This commit is contained in:
parent
1067059290
commit
42e6ef422f
1 changed files with 3 additions and 1 deletions
|
@ -80,7 +80,9 @@ lsp_config.eslint.setup({})
|
||||||
-- deno
|
-- deno
|
||||||
-- To appropriately highlight codefences returned from denols
|
-- To appropriately highlight codefences returned from denols
|
||||||
vim.g.markdown_fenced_languages = { "ts=typescript" }
|
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
|
-- rust
|
||||||
lsp_config.rust_analyzer.setup({
|
lsp_config.rust_analyzer.setup({
|
||||||
|
|
Reference in a new issue