NeoVIM/julia-lsp + formatting on subfolders respecting .JuliaFormatter.toml

abelsiqueira
Tue, 07 Nov 2023 13:22:23 +0000
Tooling

Hi NeoVIM users. How are you dealing with the formatting of the subfolders?

The issue:

I have .JuliaFormatter.toml at the root of the project

I have docs/Project.toml

If I open docs/make.jl, the LSP root is docs/, and the formatter doesn’t search for .JuliaFormatter.toml one step above (by design: JuliaFormatter.toml files not seen · Issue #1115 · julia-vscode/LanguageServer.jl · GitHub)

How are you dealing with that? Not formatting via VIM?

Thanks in advance.

2 posts - 2 participants