aboutsummaryrefslogtreecommitdiffstats
path: root/lua/nvim-lsp-installer/servers/taplo/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/nvim-lsp-installer/servers/taplo/init.lua')
-rw-r--r--lua/nvim-lsp-installer/servers/taplo/init.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/lua/nvim-lsp-installer/servers/taplo/init.lua b/lua/nvim-lsp-installer/servers/taplo/init.lua
index 94ddcc62..0d584e6b 100644
--- a/lua/nvim-lsp-installer/servers/taplo/init.lua
+++ b/lua/nvim-lsp-installer/servers/taplo/init.lua
@@ -1,5 +1,5 @@
local server = require "nvim-lsp-installer.server"
-local cargo = require "nvim-lsp-installer.installers.cargo"
+local cargo = require "nvim-lsp-installer.core.managers.cargo"
return function(name, root_dir)
return server.Server:new {
@@ -7,6 +7,7 @@ return function(name, root_dir)
root_dir = root_dir,
languages = { "toml" },
homepage = "https://taplo.tamasfe.dev/lsp/",
+ async = true,
installer = cargo.crate "taplo-cli",
default_options = {
cmd_env = cargo.env(root_dir),