diff --git a/plugin/build.lua b/plugin/build.lua index e0a65dd..d3ba88d 100644 --- a/plugin/build.lua +++ b/plugin/build.lua @@ -35,7 +35,7 @@ function build.set_dir(dirname) -- This is a callback so doesn't run on the main thread which causes -- issues for running commands, so schedule that on the main thread. vim.schedule(function() - vim.cmd('LspRestart') + vim.cmd('LspRestart clangd') echo('Build directory selected: ' .. dirname, 'DiagnosticInfo') end) end, @@ -67,7 +67,7 @@ function build.set_dir(dirname) -- This is a callback so doesn't run on the main thread which causes -- issues for running commands, so schedule that on the main thread. vim.schedule(function() - vim.cmd('LspRestart') + vim.cmd('LspRestart clangd') echo('Build directory selected: ' .. dirname, 'DiagnosticInfo') end) end