-
-
Notifications
You must be signed in to change notification settings - Fork 308
[pack/lua] Random choice of source formatting pattern on save file #1690
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Checklist
- I have searched through the AstroNvim documentation
- I have searched through the existing issues of this project
- I have searched the existing issues of plugins related to this issue
- I can replicate the bug with the minimal
repro.luaprovided below
Neovim version (nvim -v)
NVIM v0.11.4
Operating system/version
EndeavourOS Linux
Terminal/GUI
alacritty
Describe the bug
I use an astrocommunity pack/lua
~/.config/nvim/lua/community.lua:
...
---@type LazySpec
return {
...
{ import = "astrocommunity.pack.lua" },
...
}
This is all, no modifications ever attempted.
Steps to Reproduce
Unfortunately, I can't supply a way to reproduce the bug. There are two source format styles: one uses two spaces for an indentation, no parentheses for a single argument, etc. Another uses a tab for indentation, function calls always with parentheses for a single argument, etc.
I just cant predict which style will be used for formatting on save file.
Expected behavior
I expect a single Lua formatting style to be used on save file always. A manual choice is preferable.
Screenshots
No response
Additional Context
No response
Minimal configuration
N/AReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working