Add EditorConfig and YouCompleteMe files
This commit is contained in:
parent
bc6c3aa16e
commit
1582122ca2
2 changed files with 18 additions and 0 deletions
9
.editorconfig
Normal file
9
.editorconfig
Normal 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
9
.ycm_extra_conf.py
Normal 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"
|
||||||
|
}
|
Loading…
Reference in a new issue