mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-01-19 21:37:57 +08:00
41 lines
2.1 KiB
EmacsLisp
41 lines
2.1 KiB
EmacsLisp
;;; Directory Local Variables for emacs clang flycheck
|
|
;;; For more information see (info "(emacs) Directory Variables")
|
|
|
|
;;; Turn flycheck mode on for our c++ stuff and tell jedi where to look for our python stuff.
|
|
(
|
|
;; (c++-mode (eval . (flycheck-mode)))
|
|
|
|
|
|
(python-ts-mode (jedi:server-args . ("--sys-path" "__EFRO_PROJECT_ROOT__/tools"
|
|
"--sys-path" "__EFRO_PROJECT_ROOT__/src/assets/ba_data/python"
|
|
"--sys-path" "__EFRO_PROJECT_ROOT__/build/dummymodules"
|
|
;; "--log-level" "DEBUG" "--log" "/Users/ericf/Desktop/jedilog"
|
|
))
|
|
(python-black-extra-args . __PYTHON_BLACK_EXTRA_ARGS__))
|
|
|
|
;; Shorter name in projectile status bar to save valuable space.
|
|
(nil . ((projectile-project-name . "__EFRO_PROJECT_SHORTNAME__")))
|
|
|
|
;; Projectile indexing and search will ignore the following
|
|
;; (in addition to git-ignored stuff which it ignores by default)
|
|
;; NOTE TO SELF: this means searches in spinoff projects will mostly fail
|
|
;; because everything is gitignored; should search in parent repo instead.
|
|
(nil . ((projectile-globally-ignored-directories . ("docs"
|
|
"submodules"
|
|
"src/external"
|
|
"src/assets/ba_data/python-site-packages"
|
|
"src/assets/pylib-android"
|
|
"src/assets/pylib-apple"
|
|
"src/assets/windows"))))
|
|
|
|
;; Trying to get project.el to work the same as projectile since its built in.
|
|
(nil . ((project-vc-ignores . ("docs"
|
|
"submodules"
|
|
"src/external"
|
|
"src/assets/ba_data/python-site-packages"
|
|
"src/assets/pylib-android"
|
|
"src/assets/pylib-apple"
|
|
"src/assets/windows"))))
|
|
|
|
)
|