1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-29 13:41:03 +01:00
home-manager/tests/modules/programs/neovim
Evgeny Zislis 1df816c407
fix: ensure newline after vim.cmd[[source...]] in neovim init.lua (#7219)
Fix an issue where the generated ~/.config/nvim/init.lua lacks a newline after the vim.cmd [[source ...]] directive. Without this newline, subsequent lua configuration is concatenated onto the same line, breaking lua syntax.

init.lua Before:

vim.cmd [[source /nix/store/...]]vim.opt.rtp:prepend(...)

After:

vim.cmd [[source /nix/store/...]]
vim.opt.rtp:prepend(...)
2025-06-09 22:10:54 +02:00
..
coc-config.expected neovim: Add coc support (#2154) 2021-07-25 22:40:07 -04:00
coc-config.nix treewide: reformat nixfmt-rfc-style 2025-04-08 08:50:05 -07:00
default.nix programs.neovim: add extraLuaConfig (#3639) 2023-02-05 12:09:26 +01:00
extra-lua-init.nix treewide: reformat nixfmt-rfc-style 2025-04-08 08:50:05 -07:00
no-init.nix treewide: reformat nixfmt-rfc-style 2025-04-08 08:50:05 -07:00
plugin-config.expected fix: ensure newline after vim.cmd[[source...]] in neovim init.lua (#7219) 2025-06-09 22:10:54 +02:00
plugin-config.nix fix: ensure newline after vim.cmd[[source...]] in neovim init.lua (#7219) 2025-06-09 22:10:54 +02:00
runtime.nix treewide: reformat nixfmt-rfc-style 2025-04-08 08:50:05 -07:00
stubs.nix treewide: reformat nixfmt-rfc-style 2025-04-08 08:50:05 -07:00