Error detected while processing User Autocommands for "AstroColorScheme":
Error executing lua callback: ...ite/pack/packer/opt/heirline.nvim/lua/heirline/utils.lua:398: attempt to index field 'statusline' (a nil value)
stack traceback:
...ite/pack/packer/opt/heirline.nvim/lua/heirline/utils.lua:398: in function 'on_colorscheme'
/Users/nate/.config/nvim/lua/configs/heirline.lua:292: in function </Users/nate/.config/nvim/lua/configs/heirline.lua:292>
[C]: in function 'nvim_exec_autocmds'
/Users/nate/.config/nvim/lua/core/utils/init.lua:162: in function </Users/nate/.config/nvim/lua/core/utils/init.lua:162>
Heirline: setup() takes only one argument: config
example:
require('heirline').setup({
statusline = ...,
winbar = ..,
tabline = ...,
statuscolumn = ...})
Open any file, see error and notice that the tab bar at the top doesn’t look right. (No tabs or anything)
I just did a PackerSync and AstroUpdate, which broke it. Things were working fine before that. I assume Heirline changed in the past few days.
Error detected while processing User Autocommands for "AstroColorScheme":
Error executing lua callback: ...ite/pack/packer/opt/heirline.nvim/lua/heirline/utils.lua:398: attempt to index field 'statusline' (a nil value)
stack traceback:
...ite/pack/packer/opt/heirline.nvim/lua/heirline/utils.lua:398: in function 'on_colorscheme'
/home/voijin/.config/nvim/lua/configs/heirline.lua:292: in function </home/voijin/.config/nvim/lua/configs/heirline.lua:292>
[C]: in function 'nvim_exec_autocmds'
/home/voijin/.config/nvim/lua/core/utils/init.lua:162: in function </home/voijin/.config/nvim/lua/core/utils/init.lua:162>
Error detected while processing User Autocommands for "AstroColorScheme":
Error executing lua callback: ...ite/pack/packer/opt/heirline.nvim/lua/heirline/utils.lua:398: attempt to index field 'statusline' (a nil value)
stack traceback:
...ite/pack/packer/opt/heirline.nvim/lua/heirline/utils.lua:398: in function 'on_colorscheme'
/home/voijin/.config/nvim/lua/configs/heirline.lua:292: in function </home/voijin/.config/nvim/lua/configs/heirline.lua:292>
[C]: in function 'nvim_exec_autocmds'
/home/voijin/.config/nvim/lua/core/utils/init.lua:162: in function </home/voijin/.config/nvim/lua/core/utils/init.lua:162>
I dont have much in my personal config, I can share that too if that would help. This has been happening since last few days, during which I thought another AstroNvim update might help (no update happened after that).
Checklist
- Using a stable version of Neovim (i.e. not neovim nightly)
-
:PackerSync -
:AstroUpdate - Restarted AstroNvim
AstroNvim version
v2.11.8
Neovim version (>= 0.8)
NVIM v0.8.2
Operating system/version
macOS 12.5
Describe the bug
I open any file and receive this message in the bottom:
Error detected while processing User Autocommands for "AstroColorScheme":
Error executing lua callback: ...ite/pack/packer/opt/heirline.nvim/lua/heirline/utils.lua:398: attempt to index field 'statusline' (a nil value)
stack traceback:
...ite/pack/packer/opt/heirline.nvim/lua/heirline/utils.lua:398: in function 'on_colorscheme'
/Users/nate/.config/nvim/lua/configs/heirline.lua:292: in function </Users/nate/.config/nvim/lua/configs/heirline.lua:292>
[C]: in function 'nvim_exec_autocmds'
/Users/nate/.config/nvim/lua/core/utils/init.lua:162: in function </Users/nate/.config/nvim/lua/core/utils/init.lua:162>
When I dismiss it, I see a popup in the top right that says:
Heirline: setup() takes only one argument: config
example:
require('heirline').setup({
statusline = ...,
winbar = ..,
tabline = ...,
statuscolumn = ...})
Steps to Reproduce
Open any file, see error and notice that the tab bar at the top doesn’t look right. (No tabs or anything)
Expected behavior
No errors and a working tab bar
Screenshots
Additional Context
I just did a PackerSync and AstroUpdate, which broke it. Things were working fine before that. I assume Heirline changed in the past few days.
Checklist
- Using a stable version of Neovim (i.e. not neovim nightly)
-
:PackerSync -
:AstroUpdate - Restarted AstroNvim
AstroNvim version
v2.11.8
Neovim version (>= 0.8)
NVIM v0.8.2
Operating system/version
macOS 12.5
Describe the bug
I open any file and receive this message in the bottom:
Error detected while processing User Autocommands for "AstroColorScheme":
Error executing lua callback: ...ite/pack/packer/opt/heirline.nvim/lua/heirline/utils.lua:398: attempt to index field 'statusline' (a nil value)
stack traceback:
...ite/pack/packer/opt/heirline.nvim/lua/heirline/utils.lua:398: in function 'on_colorscheme'
/Users/nate/.config/nvim/lua/configs/heirline.lua:292: in function </Users/nate/.config/nvim/lua/configs/heirline.lua:292>
[C]: in function 'nvim_exec_autocmds'
/Users/nate/.config/nvim/lua/core/utils/init.lua:162: in function </Users/nate/.config/nvim/lua/core/utils/init.lua:162>
When I dismiss it, I see a popup in the top right that says:
Heirline: setup() takes only one argument: config
example:
require('heirline').setup({
statusline = ...,
winbar = ..,
tabline = ...,
statuscolumn = ...})
Steps to Reproduce
Open any file, see error and notice that the tab bar at the top doesn’t look right. (No tabs or anything)
Expected behavior
No errors and a working tab bar
Screenshots
Additional Context
I just did a PackerSync and AstroUpdate, which broke it. Things were working fine before that. I assume Heirline changed in the past few days.
Checklist
- [X] Using a stable version of Neovim (i.e. not neovim nightly)
- [X]
:PackerSync - [X]
:AstroUpdate - [X] Restarted AstroNvim
AstroNvim version
v2.11.7
Neovim version (>= 0.8)
0.8.2
Operating system/version
macOS 13.0
Describe the bug
I updated AstronVim and saw an error with the heirline configuration. I had bufferline=false and heirline_bufferline = true, but I don’t otherwise have any custom configuration for heirline
Steps to Reproduce
- Run
:AstroUpdateand install latestheirline - Launch nvim
Expected behavior
No errors on startup
Screenshots
On startup, I see this traceback:
Error detected while processing User Autocommands for "AstroColorScheme":
Error executing lua callback: ...ite/pack/packer/opt/heirline.nvim/lua/heirline/utils.lua:398: attempt to index field 'statusline' (a nil value)
stack traceback:
...ite/pack/packer/opt/heirline.nvim/lua/heirline/utils.lua:398: in function 'on_colorscheme'
~/.config/nvim/lua/configs/heirline.lua:292: in function <~/.config/nvim/lua/configs/heirline.lua:292>
[C]: in function 'nvim_exec_autocmds'
~/.config/nvim/lua/core/utils/init.lua:162: in function <~/.config/nvim/lua/core/utils/init.lua:162>
From:
https://github.com/AstroNvim/AstroNvim/blob/feb332dfcb977fe5e76d496dae28dc35ae6688a3/lua/configs/heirline.lua#L287-L293
Then after hitting Enter twice, this UI Error appears that references the breaking change in heirline:
Additional Context
See breaking change here: https://github.com/rebelot/heirline.nvim/issues/17#issuecomment-1377410379
I don’t have a lot of time now, but I can provide more details in a few hours
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.
Users / Profile
AstroNvim Member Since
10 months ago
Following
0
Following
0
Followers
53
Followers
53
Repos
5
Repos
5
Gists
0
Gists
0
Activity
09 Feb 2023
Mehalter
AstroNvim is an aesthetic and feature-rich neovim config that is extensible and easy to use with a great set of plugins
On 09 Feb 2023 at 12:49:49
Wyw
started
Started On 09 Feb 2023 at 12:49:45
Cveligkos
started
Started On 09 Feb 2023 at 12:39:44
Purefun
started
Started On 09 Feb 2023 at 12:35:08
Mehalter
chore(neo-tree): enable diagnostics in neo-tree by default
Pushed On 09 Feb 2023 at 12:09:50
Jh-devv
started
Started On 09 Feb 2023 at 07:43:06
TheRealMaN
started
Started On 09 Feb 2023 at 04:28:45
Ej-agas
started
Started On 09 Feb 2023 at 03:56:26
Mehalter
update black belt config
Pushed On 09 Feb 2023 at 12:17:06
Mehalter
update black belt config
Pushed On 09 Feb 2023 at 12:15:41
Mehalter
update old links
Pushed On 09 Feb 2023 at 12:15:19
Mehalter
chore(github): update docs links
Pushed On 09 Feb 2023 at 12:12:45
Mehalter
chore(status): optimize file_icon function
Pushed On 08 Feb 2023 at 05:37:12
Jay-babu
WIP: AstroNvim v3.0.0
Created so it is easier to leave comments. If you have another preference, please let me know
NOTE: This branch is not officially supported and we cannot guarantee everything works or is documented. If you want to try to use it please proceed with caution and know you will have to read the source code if things seem to not work as they did previously.
Development for v3.0.0 is basically finished and the WIP docs can be found here: https://v3.astronvim.pages.dev/nightly
Tentative Release Cycle (Based on Neovim v0.9 Release Cycle)
- March 1, 2023 : AstroNvim v3.0 release to nightly (Neovim v0.9 releases as stable)
- March 8, 2023: AstroNvim v3.0 release to stable
TODO
- [x] Update all existing documentation pages with new configuration structure
- [x] Update neo-tree buffer switching to match the rest of buffer switching
- [X] Move to dedicated theme plugin (https://github.com/AstroNvim/astrotheme)
- [x] Update Default Plugin Configurations Page
- [x] Update documentation for the new
AstroNvim/astrothemeplugin - [x] Write the Migration to v3 Guide
- [x] Document installing AstroNvim on Neovim v0.8 with v2
- [ ] Add documentation page for all AstroNvim exposed
Userautocmdevents - [ ] Add recipe for vim-tab based
tablinewith Heirline - [ ] Resolve all v3
TODOnotes from code
Forked On 08 Feb 2023 at 05:26:59
Jay-babu
Thanks!
On 08 Feb 2023 at 05:26:59
Jay-babu
WIP: AstroNvim v3.0.0
Created so it is easier to leave comments. If you have another preference, please let me know
NOTE: This branch is not officially supported and we cannot guarantee everything works or is documented. If you want to try to use it please proceed with caution and know you will have to read the source code if things seem to not work as they did previously.
Development for v3.0.0 is basically finished and the WIP docs can be found here: https://v3.astronvim.pages.dev/nightly
Tentative Release Cycle (Based on Neovim v0.9 Release Cycle)
- March 1, 2023 : AstroNvim v3.0 release to nightly (Neovim v0.9 releases as stable)
- March 8, 2023: AstroNvim v3.0 release to stable
TODO
- [x] Update all existing documentation pages with new configuration structure
- [x] Update neo-tree buffer switching to match the rest of buffer switching
- [X] Move to dedicated theme plugin (https://github.com/AstroNvim/astrotheme)
- [x] Update Default Plugin Configurations Page
- [x] Update documentation for the new
AstroNvim/astrothemeplugin - [x] Write the Migration to v3 Guide
- [x] Document installing AstroNvim on Neovim v0.8 with v2
- [ ] Add documentation page for all AstroNvim exposed
Userautocmdevents - [ ] Add recipe for vim-tab based
tablinewith Heirline - [ ] Resolve all v3
TODOnotes from code
Merged On 08 Feb 2023 at 05:27:00
Jay-babu
Commented On 08 Feb 2023 at 05:27:00
Mehalter
chore(mappings): add confirmation to <leader>q
Pushed On 08 Feb 2023 at 04:46:21
Notohin
started
Started On 08 Feb 2023 at 04:14:55
Mehalter
add documentation on AstroNvim provided autocmd events
Pushed On 08 Feb 2023 at 02:28:44
Mehalter
refactor(mason)!: rename AstroMasonUpdateComplete autocmd event to AstroMasonUpdateCompleted
Pushed On 08 Feb 2023 at 02:22:59
Grimgort
started
Started On 08 Feb 2023 at 01:30:08
Mehalter
feat: add AstroBufsUpdated User autocmd event when buffers are updated
Pushed On 08 Feb 2023 at 11:34:19
Mehalter
WIP: AstroNvim v3.0.0
Created so it is easier to leave comments. If you have another preference, please let me know
NOTE: This branch is not officially supported and we cannot guarantee everything works or is documented. If you want to try to use it please proceed with caution and know you will have to read the source code if things seem to not work as they did previously.
Development for v3.0.0 is basically finished and the WIP docs can be found here: https://v3.astronvim.pages.dev/nightly
Tentative Release Cycle (Based on Neovim v0.9 Release Cycle)
- March 1, 2023 : AstroNvim v3.0 release to nightly (Neovim v0.9 releases as stable)
- March 8, 2023: AstroNvim v3.0 release to stable
TODO
- [x] Update all existing documentation pages with new configuration structure
- [x] Update neo-tree buffer switching to match the rest of buffer switching
- [X] Move to dedicated theme plugin (https://github.com/AstroNvim/astrotheme)
- [x] Update Default Plugin Configurations Page
- [x] Update documentation for the new
AstroNvim/astrothemeplugin - [x] Write the Migration to v3 Guide
- [x] Document installing AstroNvim on Neovim v0.8 with v2
- [ ] Resolve all v3
TODOnotes from code
Forked On 08 Feb 2023 at 11:24:43
Mehalter
You can do something like this in your `user/lazy.lua` (or in the correct place in your `user/init.lua`):
«`lua
return function(config)
vim.list_extend(config.spec, { { import = «user.custom.plugins» } })
return config
end
«`
On 08 Feb 2023 at 11:24:43
Mehalter
WIP: AstroNvim v3.0.0
Created so it is easier to leave comments. If you have another preference, please let me know
NOTE: This branch is not officially supported and we cannot guarantee everything works or is documented. If you want to try to use it please proceed with caution and know you will have to read the source code if things seem to not work as they did previously.
Development for v3.0.0 is basically finished and the WIP docs can be found here: https://v3.astronvim.pages.dev/nightly
Tentative Release Cycle (Based on Neovim v0.9 Release Cycle)
- March 1, 2023 : AstroNvim v3.0 release to nightly (Neovim v0.9 releases as stable)
- March 8, 2023: AstroNvim v3.0 release to stable
TODO
- [x] Update all existing documentation pages with new configuration structure
- [x] Update neo-tree buffer switching to match the rest of buffer switching
- [X] Move to dedicated theme plugin (https://github.com/AstroNvim/astrotheme)
- [x] Update Default Plugin Configurations Page
- [x] Update documentation for the new
AstroNvim/astrothemeplugin - [x] Write the Migration to v3 Guide
- [x] Document installing AstroNvim on Neovim v0.8 with v2
- [ ] Resolve all v3
TODOnotes from code
Merged On 08 Feb 2023 at 11:24:44
Mehalter
Commented On 08 Feb 2023 at 11:24:44
Migo1989
started
Started On 08 Feb 2023 at 11:23:24
Ultra980
My own config of AstroNvim
Forked On 08 Feb 2023 at 10:54:17
Yangtao-jr
started
Started On 08 Feb 2023 at 07:49:40
Erickhilda
started
Started On 08 Feb 2023 at 06:45:09
Jay-babu
WIP: AstroNvim v3.0.0
Created so it is easier to leave comments. If you have another preference, please let me know
NOTE: This branch is not officially supported and we cannot guarantee everything works or is documented. If you want to try to use it please proceed with caution and know you will have to read the source code if things seem to not work as they did previously.
Development for v3.0.0 is basically finished and the WIP docs can be found here: https://v3.astronvim.pages.dev/nightly
Tentative Release Cycle (Based on Neovim v0.9 Release Cycle)
- March 1, 2023 : AstroNvim v3.0 release to nightly (Neovim v0.9 releases as stable)
- March 8, 2023: AstroNvim v3.0 release to stable
TODO
- [x] Update all existing documentation pages with new configuration structure
- [x] Update neo-tree buffer switching to match the rest of buffer switching
- [X] Move to dedicated theme plugin (https://github.com/AstroNvim/astrotheme)
- [x] Update Default Plugin Configurations Page
- [x] Update documentation for the new
AstroNvim/astrothemeplugin - [x] Write the Migration to v3 Guide
- [x] Document installing AstroNvim on Neovim v0.8 with v2
- [ ] Resolve all v3
TODOnotes from code
Merged On 08 Feb 2023 at 05:03:44
Jay-babu
Commented On 08 Feb 2023 at 05:03:44
Jay-babu
WIP: AstroNvim v3.0.0
Created so it is easier to leave comments. If you have another preference, please let me know
NOTE: This branch is not officially supported and we cannot guarantee everything works or is documented. If you want to try to use it please proceed with caution and know you will have to read the source code if things seem to not work as they did previously.
Development for v3.0.0 is basically finished and the WIP docs can be found here: https://v3.astronvim.pages.dev/nightly
Tentative Release Cycle (Based on Neovim v0.9 Release Cycle)
- March 1, 2023 : AstroNvim v3.0 release to nightly (Neovim v0.9 releases as stable)
- March 8, 2023: AstroNvim v3.0 release to stable
TODO
- [x] Update all existing documentation pages with new configuration structure
- [x] Update neo-tree buffer switching to match the rest of buffer switching
- [X] Move to dedicated theme plugin (https://github.com/AstroNvim/astrotheme)
- [x] Update Default Plugin Configurations Page
- [x] Update documentation for the new
AstroNvim/astrothemeplugin - [x] Write the Migration to v3 Guide
- [x] Document installing AstroNvim on Neovim v0.8 with v2
- [ ] Resolve all v3
TODOnotes from code
Forked On 08 Feb 2023 at 05:03:43
Jay-babu
I tried playing with this, but was unable to do so successfully. From what I understand `user.plugins` would be imported into `lazy.nvim`. I was wanted to know if there was a way to specify multiple places to import? like add on `user.custom.plugins` to lazy.nvim import
On 08 Feb 2023 at 05:03:43
Jay-babu
WIP: AstroNvim v3.0.0
Created so it is easier to leave comments. If you have another preference, please let me know
NOTE: This branch is not officially supported and we cannot guarantee everything works or is documented. If you want to try to use it please proceed with caution and know you will have to read the source code if things seem to not work as they did previously.
Development for v3.0.0 is basically finished and the WIP docs can be found here: https://v3.astronvim.pages.dev/nightly
Tentative Release Cycle (Based on Neovim v0.9 Release Cycle)
- March 1, 2023 : AstroNvim v3.0 release to nightly (Neovim v0.9 releases as stable)
- March 8, 2023: AstroNvim v3.0 release to stable
TODO
- [x] Update all existing documentation pages with new configuration structure
- [x] Update neo-tree buffer switching to match the rest of buffer switching
- [X] Move to dedicated theme plugin (https://github.com/AstroNvim/astrotheme)
- [x] Update Default Plugin Configurations Page
- [x] Update documentation for the new
AstroNvim/astrothemeplugin - [x] Write the Migration to v3 Guide
- [x] Document installing AstroNvim on Neovim v0.8 with v2
- [ ] Resolve all v3
TODOnotes from code
Forked On 08 Feb 2023 at 04:35:22
Jay-babu
That makes sense. I will attempt to do that
On 08 Feb 2023 at 04:35:22
Checklist
- Using a stable version of Neovim (i.e. not neovim nightly)
-
:PackerSync -
:AstroUpdate - Restarted AstroNvim
AstroNvim version
v2.11.8
Neovim version (>= 0.8)
NVIM v0.8.2
Operating system/version
macOS 12.5
Describe the bug
I open any file and receive this message in the bottom:
Error detected while processing User Autocommands for "AstroColorScheme":
Error executing lua callback: ...ite/pack/packer/opt/heirline.nvim/lua/heirline/utils.lua:398: attempt to index field 'statusline' (a nil value)
stack traceback:
...ite/pack/packer/opt/heirline.nvim/lua/heirline/utils.lua:398: in function 'on_colorscheme'
/Users/nate/.config/nvim/lua/configs/heirline.lua:292: in function </Users/nate/.config/nvim/lua/configs/heirline.lua:292>
[C]: in function 'nvim_exec_autocmds'
/Users/nate/.config/nvim/lua/core/utils/init.lua:162: in function </Users/nate/.config/nvim/lua/core/utils/init.lua:162>
When I dismiss it, I see a popup in the top right that says:
Heirline: setup() takes only one argument: config
example:
require('heirline').setup({
statusline = ...,
winbar = ..,
tabline = ...,
statuscolumn = ...})
Steps to Reproduce
Open any file, see error and notice that the tab bar at the top doesn’t look right. (No tabs or anything)
Expected behavior
No errors and a working tab bar
Screenshots
Additional Context
I just did a PackerSync and AstroUpdate, which broke it. Things were working fine before that. I assume Heirline changed in the past few days.






