-
-
Notifications
You must be signed in to change notification settings - Fork 348
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Field | Description |
---|---|
Plugin | conform-nvim |
Nixpkgs | unstable |
Home Manager | unstable |
- I have read the FAQ and my bug is not listed there.
Description
Conform has deprecated the nested list syntax for stopping after the first available formatter (#491). New syntax for this uses a flat table, with an additional option stop_after_first
. Using the previous syntax causes a warning to be shown the first time you the formatter in a given instance of neovim.
I find I end up closing and re-opening Neovim quite often, so I'm seeing this warning extremely frequently and it is very disruptive.
Minimal, Reproducible Example (MRE)
programs.nixvim = {
enable = true;
plugins.conform-nvim = {
# See https://github.com/nix-community/nixvim/blob/1854d591cb0e5be6ad97f5091766cdf28e948265/plugins/lsp/conform-nvim.nix#L30
# Use a sub-list to run only the first available formatter
javascript = [ [ "prettierd" "prettier" ] ];
};
}
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working