arthurbacci / Teditor

A simple text/code editor
GNU General Public License v3.0
73 stars 7 forks source link

.editorconfig support #27

Open arthurbacci opened 3 years ago

arthurbacci commented 3 years ago

Add a configuration file interpreter for basic configuration.

bynect commented 3 years ago

I have implemented a very rudimentary config file parser, could you please tell me what do you think about it? Should I do pr for this? Branch: https://github.com/bynect/Teditor/tree/config2

arthurbacci commented 3 years ago

I was thinking about a .ini like syntax. Something like this:

[c]
autotab 1
use-spaces 0
tablen 4

[py]
autotab 1
use-spaces 1
tablen 2
arthurbacci commented 3 years ago

I will implement it ;)

bynect commented 3 years ago

I will implement it ;)

What do you think about supporting an universal configuration file like editorconfig? (Not necessarily the only one)

arthurbacci commented 3 years ago

I will implement it ;)

What do you think about supporting an universal configuration file like editorconfig? (Not necessarily the only one)

I think it is a good idea.

arthurbacci commented 6 days ago

Editorconfig support seems to be working on #66. @bynect