Skip to content

.editorconfig doesnt apply to tombi #1386

@snoweuph

Description

@snoweuph

I have confirmed that this is a bug related to nvf

  • This is a bug, and not an user error or a support request. I understand that my issue will be closed if it is not a bug in nvf.
  • I have checked the issues tab and confirmed that my issue has not yet been reported. I understand that my issue will be closed if it is a duplicate.

Description

tombi-toml/tombi#1473

I also noticed it not working in basicly all other files like .rs or .nix. using my old config based on Lazy+none-ls i have zero problems.

and no, I didn't disable vim.globals.editorconfig

Installation Method

Standalone (flake outputs, nix profile install, etc.)

Installation Method (Other)

No response

nvf Version

main

Reproduction steps

  1. add an editor config
  2. restart your nvim
  3. see it not getting apllied to any formatters

Expected behavior

if I set an indent of 4 spaces, i want 4 spaces.
If a project wants an indent of 2 tabs, it should get 2 tabs.

Actual Behavior

nothing. just the default behaviours it seems. im getting 2 spaces in toml and 4 spaces in rust whatever i do, it doesn't care.

System Information

- system: `"x86_64-linux"`
 - host os: `Linux 6.12.67, NixOS, 26.05 (Yarara), 26.05.20260126.bfc1b8a`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.31.3`
 - channels(root): `"nixos-24.11"`
 - nixpkgs: `/nix/store/12azrzlywd7jmsg1q9n4dpqqgb33p2wl-source`

Relevant log output

-

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions