Add EditorConfig and YouCompleteMe files

This commit is contained in:
Midgard 2020-06-16 01:32:23 +02:00
parent bc6c3aa16e
commit 1582122ca2
Signed by untrusted user who does not match committer: midgard
GPG key ID: 511C112F1331BBB4
2 changed files with 18 additions and 0 deletions

9
.editorconfig Normal file
View file

@ -0,0 +1,9 @@
# https://editorconfig.org
root = true
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
indent_style = tab

9
.ycm_extra_conf.py Normal file
View file

@ -0,0 +1,9 @@
import os
def Settings(**kwargs):
if not os.path.exists("venv"):
raise Exception("Run tools/create_venv.sh first")
return {
"interpreter_path": "./venv/bin/python"
}