Comments (6)
Thanks for the issue!
Unfortunately, without more information I can not reproduce. It looks like there is some other file explorer plugin loaded, so it would be better to have at least somewhat minimal reproduction steps here.
from mini.nvim.
Same problem here. How can I provide you with more information?
from mini.nvim.
Same problem here. How can I provide you with more information?
Ideally - a minimal 'init.lua' that I can use with NVIM_APPIMAGE
to reproduce.
At bare minimum - which relevant parts of LazyVim are used at startup. It seems like there should be at least some file explorer and 'mini.starter'.
from mini.nvim.
Same problem here. Steps to reproduce on macOS 14.5:
- Checkout/clone LazyVim starter https://github.com/LazyVim/starter to ~/.config/testnvim
- Export NVIM_APPNAME=testnvim
- Remove testvim/lua/plugins/example.lua
- Add testvim/lua/plugins/core.lua (code from below)
- Open nvim with new file ('nvim somefile.txt')
- Check the error message
Thank you for checking.
-- Core Plugins
-- "echasnovski/mini.starter (Mini Starter)
return {
-- Use mini.starter instead of alpha
{ import = "lazyvim.plugins.extras.ui.mini-starter" },
{
"echasnovski/mini.starter",
version = "*",
event = "VimEnter",
opts = function()
local logo = table.concat({
"██╗ █████╗ ███████╗██╗ ██╗██╗ ██╗██╗███╗ ███╗ Z",
"██║ ██╔══██╗╚══███╔╝╚██╗ ██╔╝██║ ██║██║████╗ ████║ Z",
"██║ ███████║ ███╔╝ ╚████╔╝ ██║ ██║██║██╔████╔██║ z",
"██║ ██╔══██║ ███╔╝ ╚██╔╝ ╚██╗ ██╔╝██║██║╚██╔╝██║ z",
"███████╗██║ ██║███████╗ ██║ ╚████╔╝ ██║██║ ╚═╝ ██║",
"╚══════╝╚═╝ ╚═╝╚══════╝ ╚═╝ ╚═══╝ ╚═╝╚═╝ ╚═╝",
}, "\n")
local pad = string.rep(" ", 22)
local new_section = function(name, action, section)
return { name = name, action = action, section = pad .. section }
end
local starter = require("mini.starter")
--stylua: ignore
local config = {
evaluate_single = true,
header = logo,
items = {
new_section("aliases", "e $HOME/.aliases", "Dotfiles"),
new_section("dialog", "e $HOME/.dialog", "Dotfiles"),
new_section("environment", "e $HOME/.environment", "Dotfiles"),
new_section("functions", "e $HOME/.functions", "Dotfiles"),
new_section("motd", "e $HOME/.motd", "Dotfiles"),
new_section("projects", "e $HOME/.projects", "Dotfiles"),
new_section("shellrc", "e $HOME/.shellrc", "Dotfiles"),
new_section("tmux", "e $HOME/.config/tmux/tmux.conf", "Dotfiles"),
new_section("vimrc", "e $HOME/.vimrc", "Dotfiles"),
new_section("zshrc", "e $HOME/.zshrc", "Dotfiles"),
new_section("recent files", "Telescope oldfiles", "Telescope"),
new_section("grep text", "Telescope live_grep", "Telescope"),
new_section("lazy", "Lazy", "Config"),
new_section("init.lua", "e $MYVIMRC", "Config"),
new_section("new file", "ene | startinsert", "Built-in"),
new_section("quit", "qa", "Built-in"),
},
content_hooks = {
starter.gen_hook.adding_bullet(pad .. "░ ", false),
starter.gen_hook.aligning("center", "center"),
},
}
return config
end,
},
}
from mini.nvim.
Same problem here. Steps to reproduce on macOS 14.5:
Thanks, I can reproduce this. As I can not reproduce this with my own config and nvim somefile.txt
, this looks like a conflict with some other plugin. I'll take a look.
from mini.nvim.
This is the issue with LazyVim, not 'mini.starter'. The message goes away if { import = "lazyvim.plugins.extras.ui.mini-starter" },
line is removed. There is this call in 'lazyvim.plugins.extras.ui.mini-starter' which does not guard against the appeared message because it is not an error.
I think the suggested solution is to remove { import = "lazyvim.plugins.extras.ui.mini-starter" },
from the config as you mostly have 'mini.starter' setup in your config.
Closing as not an issue with 'mini.starter'.
from mini.nvim.
Related Issues (20)
- Everything is good HOT 2
- `mini.surround`: typo in docs HOT 1
- Inconsistent spaces in mini.splitjoin HOT 1
- mini.pairs: Triple quotes / backticks HOT 1
- Potential Issue with Windows OS Paths on opening COMMIT_EDITMSG buffers - Mini.Git HOT 4
- Beta-testing 'mini.icons' HOT 91
- Work with motions HOT 1
- When opening mini.files in a buffer deep into a project, I want mini.files to show that file. HOT 4
- mini.breadcrumbs plugin to show breadcrumbs of current cursor position using treesitter. HOT 1
- mini.files content.postfix HOT 1
- Add git conflict resolution HOT 1
- docs improvement (`mini.surround`) HOT 1
- [mini.sessions] Session management based on git branches HOT 3
- [mini.ai] Allow to return a different region depending on the operator. HOT 2
- mini.eolmark to show eol mark at cursor line? HOT 2
- unsure how to make the tests pass again after headless update HOT 6
- Surround arround motion HOT 1
- How to load 3rd party colour schemes to properly override default highlight rules? HOT 2
- Option to change what keys are mapped to fix macros HOT 1
- Terminal Color Synchronization with OSC 10 and 11 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mini.nvim.