jmacdonald / amp

A complete text editor for your terminal.

Home Page:https://amp.rs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

.editorconfig is not being used

pbgc opened this issue · comments

commented

Hi,

Looking at #116 I thought .editorconfig was being read and used.
Tried it for the first time .. and it seems to me that it's begin ignored ..
For example using this .editorconfig:


root = true

[*]
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
charset = utf-8

[*.json]
indent_style = space
indent_size = 2

[*.js]
indent_style = space
indent_size = 8

[*.ts]
indent_style = space
indent_size = 2

I don't get the 8 indentation (defined as 8 just to test :)).
With the same file ... NeoVim use the 8.

Am I doing something wrong ?

EDIT: not only the ident_size. For example trim_trailing_whitespace = false also. It seems it's being ignored

commented

Ok .. It seems it was never merged but closed.
Sorry for the confusion!