Comments (9)
Yes @MattiaSilvestri this seems like a local system issue, and not a nvim-ide issue.
from nvim-ide.
This plugin doesnt play too well with lazy loading as of right now. Is it being lazy loaded?
from nvim-ide.
Going to close for now, if you still run into this issue feel free to re-open
from nvim-ide.
Hi, sorry for the late reply, I disabled lazy loading but I still get errors:
Error executing vim.schedule lua callback: ...ttia/.local/share/nvim/lazy/nvim-ide/lua/ide/lib/buf.lua:173: Expected lua string
stack traceback:
[C]: in function 'nvim_buf_set_keymap'
...ttia/.local/share/nvim/lazy/nvim-ide/lua/ide/lib/buf.lua:173: in function 'set_keymap_normal'
...azy/nvim-ide/lua/ide/components/bufferlist/component.lua:94: in function 'setup_buffer'
...azy/nvim-ide/lua/ide/components/bufferlist/component.lua:127: in function 'open'
....local/share/nvim/lazy/nvim-ide/lua/ide/panels/panel.lua:127: in function '_attach_component'
....local/share/nvim/lazy/nvim-ide/lua/ide/panels/panel.lua:277: in function 'open'
...hare/nvim/lazy/nvim-ide/lua/ide/workspaces/workspace.lua:147: in function 'init'
...azy/nvim-ide/lua/ide/workspaces/workspace_controller.lua:167: in function 'assign_ws'
...azy/nvim-ide/lua/ide/workspaces/workspace_controller.lua:271: in function ''
vim/_editor.lua: in function ''
vim/_editor.lua: in function <vim/_editor.lua:0>
from nvim-ide.
Can you show me your config? Or are you just calling an empty setup function?
-- Opinionated way of setting per-buffer keymaps, this is the typical
-- usage for nvim-ide components.
function Buf.set_keymap_normal(buf, keymap, cb)
vim.api.nvim_buf_set_keymap(buf, "n", keymap, "", { silent = true, callback = cb })
end
This is the line that's failing for you, but I don't experience any issues on load.
Also what vim version are you on?
from nvim-ide.
Pushed fix for this :)
from nvim-ide.
Please re-open if issue persists.
from nvim-ide.
Hi, sorry for the delayed replies but I've been quite busy lately...unfortunately I still get some errors, like this when I open a workspace from AstroNvim startpage:
Error detected while processing BufEnter Autocommands for "*":
Error executing lua callback: ...local/share/nvim/lazy/nvim-ide/lua/ide/logger/logger.lua:59: Invalid buffer id: 2
stack traceback:
[C]: in function 'nvim_buf_set_lines'
...local/share/nvim/lazy/nvim-ide/lua/ide/logger/logger.lua:59: in function '_log'
...local/share/nvim/lazy/nvim-ide/lua/ide/logger/logger.lua:82: in function 'debug'
...al/share/nvim/lazy/nvim-ide/lua/ide/panels/component.lua:138: in function 'is_displayed'
.../lazy/nvim-ide/lua/ide/components/explorer/component.lua:641: in function <.../lazy/nvim-ide/lua/ide/components/explorer/component.lua:639>
[C]: in function 'nvim_buf_delete'
...azy/neovim-session-manager/lua/session_manager/utils.lua:78: in function <...azy/neovim-session-manager/lua/session_manager/utils.lua:70>
and this when I attempt to open the explorer side pane:
Error executing Lua callback: .../lazy/nvim-ide/lua/ide/components/explorer/component.lua:204: attempt to concatenate field 'name' (a nil value)
stack traceback:
.../lazy/nvim-ide/lua/ide/components/explorer/component.lua:204: in function 'post_win_create'
....local/share/nvim/lazy/nvim-ide/lua/ide/panels/panel.lua:186: in function '_attach_component'
....local/share/nvim/lazy/nvim-ide/lua/ide/panels/panel.lua:277: in function 'open'
...al/share/nvim/lazy/nvim-ide/lua/ide/panels/component.lua:190: in function 'focus'
.../lazy/nvim-ide/lua/ide/components/explorer/component.lua:194: in function 'callback'
...azy/nvim-ide/lua/ide/workspaces/workspace_controller.lua:143: in function 'recursive_argument_selection'
...azy/nvim-ide/lua/ide/workspaces/workspace_controller.lua:147: in function 'recursive_argument_selection'
...azy/nvim-ide/lua/ide/workspaces/workspace_controller.lua:156: in function <...azy/nvim-ide/lua/ide/workspaces/workspace_controller.lua:99>
My neovim version is 0.9.2 and I copied the config from your personal dotfiles (not the example in this repo), just to be sure I'm not doing anything wrong. At this point I have the suspect it might be an incompatibility with AstroNvim?
from nvim-ide.
I just noticed that the plugin works flawlessly on another machine runnig Ubuntu 22.04, where I have a clone of my neovim config. Maybe the issue can be related to my OS (Manjaro)?
from nvim-ide.
Related Issues (20)
- Explorer holds on to cwd when tab was created HOT 6
- Error when starting more than one terminal from terminal browser HOT 5
- Explorer: When you create a file, if cursor is over a non-expanded directory, it should create the file in the parent directory HOT 4
- More questions than problems HOT 1
- Panel size changes when terminal is created HOT 5
- Can you provide a docker image?
- Error on neovim exit HOT 7
- newlines in Outline causing error HOT 7
- Option to prevent terminal browser auto open on start HOT 2
- Cannot leave terminal in VI mode HOT 1
- Error while calling lua chunk: attempt to index a boolean value in nvim-ide plugin HOT 1
- "Unknown function: rand" Error while loading nvim-ide HOT 2
- When there are other panels (dap-ui), opening a diff would messed up the layout
- `:Workspace RightPanelToggle` from a keymap doesn't work the first time, unless you do a keymap for `:Workspace LeftPanelToggle` first HOT 2
- Expected lua string HOT 6
- error on focus of hidden component
- Warning at launch HOT 2
- Fail to expand file Explorer HOT 4
- `:Workspace` command does not work, panels do not load. HOT 1
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 nvim-ide.