Skip to content

Commit

Permalink
chore(bundler-nvim): add denops load error log
Browse files Browse the repository at this point in the history
  • Loading branch information
ttak0422 committed Mar 31, 2024
1 parent 0214be3 commit 03bc679
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 7 deletions.
5 changes: 4 additions & 1 deletion bundler-nvim/lua/bundler/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,10 @@ M.load_denops = function(self, id)
return
end
if status == "running" then
pcall(vim.fn["denops#plugin#load"], name, script)
ok = pcall(vim.fn["denops#plugin#load"], name, script)
if not ok then
log.error("failed to load denops plugin: ", name)
end
end
vim.fn["denops#plugin#wait"](name)
end
Expand Down
2 changes: 1 addition & 1 deletion bundler/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion bundler/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "bundler"
version = "2.1.0"
version = "2.2.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
2 changes: 1 addition & 1 deletion nix/bundler-nvim.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
bundler-nvim = {
package = pkgs.vimUtils.buildVimPlugin {
pname = "bundler-nvim";
version = "2.1.0";
version = "2.2.0";
src = ./../bundler-nvim;
};
};
Expand Down
2 changes: 1 addition & 1 deletion nix/bundler-vim.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
bundler-vim = {
package = pkgs.vimUtils.buildVimPlugin {
pname = "bundler-vim";
version = "2.1.0";
version = "2.2.0";
src = ./../bundler-vim;
};
};
Expand Down
2 changes: 1 addition & 1 deletion nix/neovim-flake-module.nix
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ in {

cfgFiles = mkDerivation {
pname = "bundler-nvim-config";
version = "2.1.0";
version = "2.2.0";
phases = [ "installPhase" ];
installPhase = ''
mkdir $out
Expand Down
2 changes: 1 addition & 1 deletion nix/vim-flake-module.nix
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ in {

cfgFiles = mkDerivation {
pname = "bundler-vim-config";
version = "2.1.0";
version = "2.2.0";
phases = [ "installPhase" ];
installPhase = ''
mkdir $out
Expand Down

0 comments on commit 03bc679

Please sign in to comment.