Add editorconfig
This commit is contained in:
parent
817ceb100a
commit
d69a431037
12
.editorconfig
Normal file
12
.editorconfig
Normal 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
|
16
path-unix.go
16
path-unix.go
@ -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()
|
||||
}
|
Loading…
Reference in New Issue
Block a user