glacambre / firenvim

Embed Neovim in Chrome, Firefox & others.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

your plugin manager did not load the firenvim

niksingh710 opened this issue · comments

  • OS Version: Arch Linux
  • Browser Version: Mozilla Firefox 117.0
  • Browser Addon Version: 0.2.15
  • Neovim Plugin Version:
        dir    /home/niksingh710/.local/share/nvim/lazy/firenvim
        url    https://github.com/glacambre/firenvim
        branch master
        commit 138424d
        readme README.md

What I tried to do

removing plugin from browser and re adding it.

What happened

It was working fine then i thought to rewrite my nvim config by moving the old one to nvim.bak folder in config dir.

and now in new config i get this error
image

output or command echo 'abcde{}' | /home/$USER/.local/share/firenvim/firenvim | copy

Firenvim not in runtime path. &rtp=/home/niksingh710/.config/nvim,/home/niksingh710/.local/share/nvim/lazy/lazy.nvim,/home/niksingh710/.local/share/nvim/lazy/nvim-notify,/home/niksingh710/.local/share/nvim/lazy/nui.nvim,/home/niksingh710/.local/share/nvim/lazy/noice.nvim,/home/niksingh710/.local/share/nvim/lazy/lualine.nvim,/home/niksingh710/.local/share/nvim/lazy/formatter.nvim,/home/niksingh710/.local/share/nvim/lazy/cmp_luasnip,/home/niksingh710/.local/share/nvim/lazy/LuaSnip,/home/niksingh710/.local/share/nvim/lazy/cmp-cmdline,/home/niksingh710/.local/share/nvim/lazy/cmp-path,/home/niksingh710/.local/share/nvim/lazy/nvim-cmp,/home/niksingh710/.local/share/nvim/lazy/cmp-buffer,/home/niksingh710/.local/share/nvim/lazy/cmp-nvim-lsp,/home/niksingh710/.local/share/nvim/lazy/lspsaga.nvim,/home/niksingh710/.local/share/nvim/lazy/mason.nvim,/home/niksingh710/.local/share/nvim/lazy/mason-lspconfig.nvim,/home/niksingh710/.local/share/nvim/lazy/nvim-lspconfig,/home/niksingh710/.local/share/nvim/lazy/bufferline.nvim,/home/niksingh710/.local/share/nvim/lazy/alpha-nvim,/home/niksingh710/.local/share/nvim/lazy/treesitter-indent-object.nvim,/home/niksingh710/.local/share/nvim/lazy/indent-blankline.nvim,/home/niksingh710/.local/share/nvim/lazy/nvim-ts-autotag,/home/niksingh710/.local/share/nvim/lazy/nvim-treesitter,/home/niksingh710/.local/share/nvim/lazy/telescope-fzf-native.nvim,/home/niksingh710/.local/share/nvim/lazy/todo-comments.nvim,/home/niksingh710/.local/share/nvim/lazy/plenary.nvim,/home/niksingh710/.local/share/nvim/lazy/telescope.nvim,/home/niksingh710/.local/share/nvim/lazy/which-key.nvim,/home/niksingh710/.local/share/nvim/lazy/transparent.nvim,/home/niksingh710/.local/share/nvim/lazy/tokyodark.nvim,/home/niksingh710/.local/share/nvim/lazy/neoscroll.nvim,/home/niksingh710/.local/share/nvim/lazy/persisted.nvim,/home/niksingh710/.local/share/nvim/lazy/nvim-web-devicons,/home/niksingh710/.local/share/nvim/lazy/nvim-tree.lua,/home/niksingh710/.local/share/nvim/lazy/dressing.nvim,/home/niksingh710/.local/share/nvim/lazy/nvim-lastplace,/home/niksingh710/.local/share/nvim/lazy/gitsigns.nvim,/home/niksingh710/.local/share/nvim/lazy/animation.nvim,/home/niksingh710/.local/share/nvim/lazy/middleclass,/home/niksingh710/.local/share/nvim/lazy/windows.nvim,/home/niksingh710/.local/share/nvim/lazy/Comment.nvim,/home/niksingh710/.local/share/nvim/lazy/fidget.nvim,/home/niksingh710/.local/share/nvim/lazy/nvim-colorizer.lua,/usr/share/nvim/runtime,/usr/lib/nvim,/home/niksingh710/.local/state/nvim/lazy/readme,/home/niksingh710/.local/share/nvim/lazy/cmp_luasnip/after,/home/niksingh710/.local/share/nvim/lazy/cmp-cmdline/after,/home/niksingh710/.local/share/nvim/lazy/cmp-path/after,/home/niksingh710/.local/share/nvim/lazy/cmp-buffer/after,/home/niksingh710/.local/share/nvim/lazy/cmp-nvim-lsp/after,/home/niksingh710/.local/share/nvim/lazy/tokyodark.nvim/after%~ [                                                                                                                                                                                                                                    ]

on Console
image

{
			"glacambre/firenvim",

			-- Lazy load firenvim
			-- Explanation: https://github.com/folke/lazy.nvim/discussions/463#discussioncomment-4819297
			cond = not vim.g.started_by_firenvim,
			build = function()
				require("lazy").load({ plugins = "firenvim", wait = true })
				vim.fn["firenvim#install"](0)
			end,
			lazy = false,
		},```

sorry for the indentation just pasted without formatting.

I think you're not supposed to use both cond and lazy in your lazy.nvim setup - could you try to remove the cond line and let us know if it changes the behavior of echo 'abcde{}' | /home/$USER/.local/share/firenvim/firenvim?

Got that working tysm mate