Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs: describe priority between editorconfig and autocmd like FileType #28484

Closed
kaddkaka opened this issue Apr 24, 2024 · 1 comment · Fixed by #28609
Closed

Docs: describe priority between editorconfig and autocmd like FileType #28484

kaddkaka opened this issue Apr 24, 2024 · 1 comment · Fixed by #28609

Comments

@kaddkaka
Copy link
Contributor

Problem

:h editorconfig does not explain when and how the settings are applied, jus that it is automatic (in nvim 0.9.4).

It seems like it applies FileType autocmd first and then editorconfig after that - so that editorconfig has precedence. To override the editorconfig one can explicitly do :set ft=python for example.

Expected behavior

The behavior should be described in the help page.

@kaddkaka kaddkaka added the enhancement feature request label Apr 24, 2024
@justinmk justinmk added this to the backlog milestone Apr 24, 2024
@wookayin
Copy link
Member

Related #27425 (stale, closed)

dundargoc added a commit to dundargoc/neovim that referenced this issue May 13, 2024
dundargoc added a commit to dundargoc/neovim that referenced this issue May 13, 2024
dundargoc added a commit to dundargoc/neovim that referenced this issue May 13, 2024
dundargoc added a commit to dundargoc/neovim that referenced this issue May 13, 2024
Closes neovim#28484.

Co-authored-by: Chris <[email protected]>
Co-authored-by: Gregory Anders <[email protected]>
Co-authored-by: Jake B <[email protected]>
Co-authored-by: Jonathan Raines <[email protected]>
Co-authored-by: Yi Ming <[email protected]>
Co-authored-by: Zane Dufour <[email protected]>
Co-authored-by: zeertzjq <[email protected]>
dundargoc added a commit to dundargoc/neovim that referenced this issue May 13, 2024
Closes neovim#28484.
Closes neovim#28719.

Co-authored-by: Chris <[email protected]>
Co-authored-by: Gregory Anders <[email protected]>
Co-authored-by: Jake B <[email protected]>
Co-authored-by: Jonathan Raines <[email protected]>
Co-authored-by: Yi Ming <[email protected]>
Co-authored-by: Zane Dufour <[email protected]>
Co-authored-by: zeertzjq <[email protected]>
@dundargoc dundargoc mentioned this issue May 13, 2024
dundargoc added a commit to dundargoc/neovim that referenced this issue May 14, 2024
Closes neovim#28484.
Closes neovim#28719.

Co-authored-by: Chris <[email protected]>
Co-authored-by: Gregory Anders <[email protected]>
Co-authored-by: Jake B <[email protected]>
Co-authored-by: Jonathan Raines <[email protected]>
Co-authored-by: Yi Ming <[email protected]>
Co-authored-by: Zane Dufour <[email protected]>
Co-authored-by: zeertzjq <[email protected]>
dundargoc added a commit to dundargoc/neovim that referenced this issue May 14, 2024
Closes neovim#28484.
Closes neovim#28719.

Co-authored-by: Chris <[email protected]>
Co-authored-by: Gregory Anders <[email protected]>
Co-authored-by: Jake B <[email protected]>
Co-authored-by: Jonathan Raines <[email protected]>
Co-authored-by: Yi Ming <[email protected]>
Co-authored-by: Zane Dufour <[email protected]>
Co-authored-by: zeertzjq <[email protected]>
dundargoc added a commit to dundargoc/neovim that referenced this issue May 14, 2024
Closes neovim#28484.
Closes neovim#28719.

Co-authored-by: Chris <[email protected]>
Co-authored-by: Gregory Anders <[email protected]>
Co-authored-by: Jake B <[email protected]>
Co-authored-by: Jonathan Raines <[email protected]>
Co-authored-by: Yi Ming <[email protected]>
Co-authored-by: Zane Dufour <[email protected]>
Co-authored-by: zeertzjq <[email protected]>
zeertzjq added a commit to dundargoc/neovim that referenced this issue May 14, 2024
Closes neovim#28484.
Closes neovim#28719.

Co-authored-by: Chris <[email protected]>
Co-authored-by: Gregory Anders <[email protected]>
Co-authored-by: Jake B <[email protected]>
Co-authored-by: Jonathan Raines <[email protected]>
Co-authored-by: Yi Ming <[email protected]>
Co-authored-by: Zane Dufour <[email protected]>
Co-authored-by: zeertzjq <[email protected]>
zeertzjq added a commit that referenced this issue May 14, 2024
Closes #28484.
Closes #28719.

Co-authored-by: Chris <[email protected]>
Co-authored-by: Gregory Anders <[email protected]>
Co-authored-by: Jake B <[email protected]>
Co-authored-by: Jonathan Raines <[email protected]>
Co-authored-by: Yi Ming <[email protected]>
Co-authored-by: Zane Dufour <[email protected]>
Co-authored-by: zeertzjq <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants