2024-07-10 22:17:04 -03:00
|
|
|
((nil
|
|
|
|
(eval . (let ((root (projectile-project-root)))
|
|
|
|
(let ((includes (list "/opt/psn00bsdk/include/libpsn00b"
|
2024-07-11 09:27:03 -03:00
|
|
|
(concat root "include")))
|
|
|
|
(neotreebuf (seq-filter (lambda (buf) (equal (buffer-name buf) " *NeoTree*"))
|
|
|
|
(buffer-list))))
|
2024-07-10 22:17:04 -03:00
|
|
|
(setq-local flycheck-clang-include-path includes)
|
2024-07-11 09:27:03 -03:00
|
|
|
(setq-local flycheck-gcc-include-path includes)
|
|
|
|
(when neotreebuf
|
|
|
|
(with-current-buffer (first neotreebuf)
|
|
|
|
(setq-local neo-hidden-regexp-list
|
|
|
|
(append '("\\pcsx.json$"
|
|
|
|
"\\.frag$"
|
|
|
|
"\\.vert$"
|
|
|
|
"\\.lua$"
|
|
|
|
"\\.mcd$")
|
|
|
|
(default-value 'neo-hidden-regexp-list)))
|
|
|
|
(neotree-refresh))))))))
|
|
|
|
|