Files
neovim/src/nvim
Jesse van der Pluijm c785d5cdf0 fix(startup): source init.lua from XDG_CONFIG_DIRS
Problem:

`init.lua` files in `$XDG_CONFIG_DIRS` directories were not being sourced during startup, even though the documentation states they should be searched alongside `init.vim`.

See:

e51f5e17e1/runtime/doc/starting.txt (L495-L496)

Solution:

Modify `do_user_initialization()` to search for `init.lua` in each `$XDG_CONFIG_DIRS` directory before falling back to `init.vim`, matching the behavior for `$XDG_CONFIG_HOME`. Also show `E5422` error if both `init.lua` and `init.vim` exist in the same directory.

Fixes #37405
2026-02-06 16:11:22 +01:00
..
2025-11-19 20:43:15 -08:00
2026-01-12 03:50:57 +00:00
2025-12-20 22:07:27 -05:00
2025-12-20 22:07:27 -05:00
2024-01-11 21:37:23 +01:00
2024-01-11 21:37:23 +01:00
2025-12-15 13:55:15 -05:00
2023-11-28 22:23:56 +01:00
2024-01-11 21:37:23 +01:00
2026-01-12 03:50:57 +00:00
2025-11-16 20:36:07 -08:00
2024-01-11 21:37:23 +01:00
2024-01-11 21:37:23 +01:00
2025-09-13 22:49:50 -04:00
2024-01-11 21:37:23 +01:00
2025-12-06 20:33:02 -05:00
2026-01-02 00:27:35 -05:00
2025-11-19 20:43:15 -08:00
2025-12-16 12:55:32 +08:00