feat(typst-lsp): added

This commit is contained in:
u2515h
2024-01-14 16:34:26 +01:00
parent 274c74b03a
commit 9fadb93168
3 changed files with 41 additions and 6 deletions

View File

@@ -114,7 +114,7 @@ vim.g.rustaceanvim = {
-- standalone file support
-- setting it to false may improve startup time
standalone = true,
cmd = {(deps.rust_analyzer_path .. "/bin/rust-analyzer")},
cmd = {(deps.rust-analyzer_path .. "/bin/rust-analyzer")},
capabilities = require("cmp_nvim_lsp").default_capabilities(c),
on_attach = function(client, bufnr)
require("lsp-inlayhints").on_attach(client, bufnr)
@@ -281,7 +281,7 @@ rt.setup({
-- standalone file support
-- setting it to false may improve startup time
standalone = true,
cmd = {(deps.rust_analyzer_path .. "/bin/rust-analyzer")}
cmd = {(deps.rust-analyzer_path .. "/bin/rust-analyzer")}
}, -- rust-analyzer options
-- debugging stuff