Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Molten #1331

Closed
4 tasks done
laguill opened this issue Jan 24, 2025 · 3 comments
Closed
4 tasks done

Molten #1331

laguill opened this issue Jan 24, 2025 · 3 comments
Labels
question Further information is requested

Comments

@laguill
Copy link

laguill commented Jan 24, 2025

Checklist

  • I have searched through the AstroNvim documentation
  • I have searched through the existing issues of this project
  • I have searched the existing issues of plugins related to this issue
  • I can replicate the bug with the minimal repro.lua provided below

Neovim version (nvim -v)

0.10.3

Operating system/version

ubuntu

Terminal/GUI

kitty

Describe the bug

I installed molten from the community repo but I am getting this error

Is it related to heirline ?

E5108: Error executing lua Vim:E117: Unknown function: MoltenStatusLineInit                                                                                               
stack traceback:                                                                                                                                                          
        [C]: in function 'initialized'                                                                                                                                    
        ...nity/lua/astrocommunity/code-runner/molten-nvim/init.lua:116: in function 'condition'                                                                          
        ...hare/nvim/lazy/heirline.nvim/lua/heirline/statusline.lua:317: in function '_eval'                                                                              
        ...hare/nvim/lazy/heirline.nvim/lua/heirline/statusline.lua:398: in function '_eval'                                                                              
        ...hare/nvim/lazy/heirline.nvim/lua/heirline/statusline.lua:473: in function 'eval'                                                                               
        ...ocal/share/nvim/lazy/heirline.nvim/lua/heirline/init.lua:114: in function <...ocal/share/nvim/lazy/heirline.nvim/lua/heirline/init.lua:109> 

Steps to Reproduce

Enable molten in community.lua
{ import = "astrocommunity.code-runner.molten-nvim" },

Expected behavior

.

Screenshots

No response

Additional Context

No response

Minimal configuration

-- save as repro.lua
-- run with nvim -u repro.lua
-- DO NOT change the paths
local root = vim.fn.fnamemodify("./.repro", ":p")

-- set stdpaths to use .repro
for _, name in ipairs({ "config", "data", "state", "runtime", "cache" }) do
  vim.env[("XDG_%s_HOME"):format(name:upper())] = root .. "/" .. name
end

-- bootstrap lazy
local lazypath = root .. "/plugins/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
  -- stylua: ignore
  vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", "--branch=stable", lazypath })
end
vim.opt.rtp:prepend(vim.env.LAZY or lazypath)

-- install plugins
local plugins = {
  { "AstroNvim/AstroNvim", import = "astronvim.plugins" },
  { "AstroNvim/astrocommunity" },

  -- add any other plugins/customizations here
  { import = "astrocommunity.pack.python-ruff" },
  { import = "astrocommunity.pack.quarto" },
  { import = "astrocommunity.code-runner.vim-slime" },
  { import = "astrocommunity.media.img-clip-nvim" },
  { import = "astrocommunity.color.headlines-nvim" },
  { import = "astrocommunity.snippet.mini-snippets" },
  { import = "astrocommunity.code-runner.molten-nvim" },
  { import = "astrocommunity.pack.chezmoi" },
  { import = "astrocommunity.pack.json" },
  { import = "astrocommunity.pack.toml" },
  { import = "astrocommunity.diagnostics.trouble-nvim" },
  { import = "astrocommunity.scrolling.mini-animate" },
  { import = "astrocommunity.colorscheme.catppuccin" },
  { import = "astrocommunity.recipes.heirline-vscode-winbar" },
  { import = "astrocommunity.utility.noice-nvim" },
  { import = "astrocommunity.git.diffview-nvim" },
  { import = "astrocommunity.file-explorer.telescope-file-browser-nvim" },
  { import = "astrocommunity.workflow.bad-practices-nvim" },
  { import = "astrocommunity.workflow.hardtime-nvim" },
  { import = "astrocommunity.workflow.precognition-nvim" },
}
require("lazy").setup(plugins, {
  root = root .. "/plugins",
})

-- add anything else here (autocommands, vim.filetype, etc.)
@laguill laguill added the bug Something isn't working label Jan 24, 2025
@laguill
Copy link
Author

laguill commented Jan 24, 2025

I add to reload my python environment and then run :UpdateRemotePlugins to make it works

@Uzaaft
Copy link
Member

Uzaaft commented Jan 25, 2025

Are you using it correctly per the docs of that plugin?
This doesnt seem like a bug to me but a user error.

@Uzaaft Uzaaft added question Further information is requested and removed bug Something isn't working labels Jan 25, 2025
@laguill
Copy link
Author

laguill commented Jan 27, 2025

I missed to installed python depencies in my venv

@laguill laguill closed this as completed Jan 27, 2025
@AstroNvim AstroNvim locked and limited conversation to collaborators Jan 27, 2025
@Uzaaft Uzaaft converted this issue into discussion #1338 Jan 27, 2025

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants