Configuring tombi with stevearc/conform.nvim in neovim #780
Closed
PMassicotte
started this conversation in
General
Replies: 3 comments 11 replies
-
I have found that I could do this formatters_by_ft = {
toml = {
command = "tombi",
args = { "format", "$FILENAME" },
},
} Would you accept a PR providing these instructions? |
Beta Was this translation helpful? Give feedback.
11 replies
-
What features are you looking for? The reasons for the difference in format are generally as follows.
📝 When tombi is executed in a different directory, the logic for searching for |
Beta Was this translation helpful? Give feedback.
0 replies
-
Closing it since we have found workaround. For those in the future, there are two options:
formatters_by_ft = {
toml = {
command = "tombi",
args = { "format", "$FILENAME" },
},
}
#:schema tombi://json.schemastore.org/cargo.json
[package]
name = "mycli"
version = "0.1.0"
edition = "2024"
[dependencies] |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
First, thank you for this nice piece of work.
Kinda a long shot, but could not find more information about this specific issue I am facing.
I am trying to configure
tombi
withneovim
using conform.nvim.I have this in my config:
This is working for formatting. The issue is it does not produce the same result as I have with running the cli as:
For example, keys are not sorted, only the indentation is formatted.
Any idea?
Beta Was this translation helpful? Give feedback.
All reactions