klen / klen/nvim-config-local

Nested autocmds not triggered on DirChanged

Open
#13 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Lua
Stars
180
Forks
8
PR merge metrics
No merged PRs in 30d

Description

Any reason why for `DirChanged` nested autocmds are not triggered? I see that for other events there is option `nested = true` set.

What I'm trying to do is change colorscheme in `.nvim.lua` (this works) and it should trigger ColorScheme event for setting up lualine theme, but event is not triggered.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the .nvim.lua loading path and Neovim's DirChanged autocmd behavior; reproduce a colorscheme change and observe whether the ColorScheme event fires. Done means nested autocmds triggered by DirChanged behave consistently with the other events and allow the lualine theme setup to run.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.