fix(nvim): defer vim calls

This commit is contained in:
matt1432 2024-12-22 12:42:29 -05:00
commit ae8e828514
11 changed files with 62 additions and 20 deletions
homeManagerModules/neovim/langs/markdown

View file

@ -35,8 +35,9 @@ in {
if (devShells['markdown'] == nil) then
devShells['markdown'] = 1;
require('nix-develop').nix_develop({'${flakeEnv}#markdown'});
vim.cmd[[LspStart]];
require('nix-develop').nix_develop({'${flakeEnv}#markdown'}, vim.schedule_wrap(function()
vim.cmd[[LspStart]];
end));
end
end,
});