Add editorconfig

This commit is contained in:
Sasha Koshka 2024-04-29 16:24:04 -04:00
parent 817ceb100a
commit d69a431037
2 changed files with 12 additions and 16 deletions

12
.editorconfig Normal file
View File

@ -0,0 +1,12 @@
root = true
[*]
end_of_line = lf
insert_final_newline = true
indent_style = tab
indent_size = 8
charset = utf-8
[*.md]
indent_style = space
indent_size = 2

View File

@ -1,16 +0,0 @@
//go:build unix && !darwin
package nasin
import "git.tebibyte.media/tomo/xdg/basedir"
func userDataDir () (string, error) {
return basedir.DataHome()
}
func userConfigDir () (string, error) {
return basedir.ConfigHome()
}
func userCacheDir () (string, error) {
return basedir.CacheHome()
}