added support for php
This commit is contained in:
parent
08223cbc72
commit
f354e51c48
0
.gitignore
vendored
Normal file → Executable file
0
.gitignore
vendored
Normal file → Executable file
0
.projectile
Normal file → Executable file
0
.projectile
Normal file → Executable file
26
Emacs/.emacs
Normal file → Executable file
26
Emacs/.emacs
Normal file → Executable file
@ -17,5 +17,31 @@
|
||||
(require 'setup-general)
|
||||
(require 'setup-org)
|
||||
(require 'setup-appearance)
|
||||
|
||||
(require 'setup-c)
|
||||
(require 'setup-python)
|
||||
|
||||
(require 'setup-web)
|
||||
(custom-set-variables
|
||||
;; custom-set-variables was added by Custom.
|
||||
;; If you edit it by hand, you could mess it up, so be careful.
|
||||
;; Your init file should contain only one such instance.
|
||||
;; If there is more than one, they won't work right.
|
||||
'(package-selected-packages nil))
|
||||
(custom-set-faces
|
||||
;; custom-set-faces was added by Custom.
|
||||
;; If you edit it by hand, you could mess it up, so be careful.
|
||||
;; Your init file should contain only one such instance.
|
||||
;; If there is more than one, they won't work right.
|
||||
'(org-block ((t (:inherit fixed-pitch))))
|
||||
'(org-code ((t (:inherit (shadow fixed-pitch)))))
|
||||
'(org-document-info ((t (:foreground "dark orange"))))
|
||||
'(org-document-info-keyword ((t (:inherit (shadow fixed-pitch)))))
|
||||
'(org-indent ((t (:inherit (org-hide fixed-pitch)))))
|
||||
'(org-link ((t (:foreground "royal blue" :underline t))))
|
||||
'(org-meta-line ((t (:inherit (font-lock-comment-face fixed-pitch)))))
|
||||
'(org-property-value ((t (:inherit fixed-pitch))))
|
||||
'(org-special-keyword ((t (:inherit (font-lock-comment-face fixed-pitch)))))
|
||||
'(org-table ((t (:inherit fixed-pitch :foreground "#83a598"))))
|
||||
'(org-tag ((t (:inherit (shadow fixed-pitch) :weight bold :height 0.8))))
|
||||
'(org-verbatim ((t (:inherit (shadow fixed-pitch))))))
|
||||
|
0
Emacs/custom/setup-appearance.el
Normal file → Executable file
0
Emacs/custom/setup-appearance.el
Normal file → Executable file
0
Emacs/custom/setup-c.el
Normal file → Executable file
0
Emacs/custom/setup-c.el
Normal file → Executable file
7
Emacs/custom/setup-general.el
Normal file → Executable file
7
Emacs/custom/setup-general.el
Normal file → Executable file
@ -18,7 +18,7 @@
|
||||
|
||||
(defun tabify-before-save ()
|
||||
(cond
|
||||
((derived-mode-p 'prog-mode)
|
||||
((and (derived-mode-p 'prog-mode) (not (eq major-mode python-mode)))
|
||||
(tabify (point-min) (point-max)))
|
||||
((eq major-mode 'org-mode)
|
||||
(untabify (point-min) (point-max)))))
|
||||
@ -129,4 +129,9 @@
|
||||
;; this is the most annoying thing in the worlddddd
|
||||
(global-unset-key (kbd "C-z"))
|
||||
|
||||
;; to manage environments
|
||||
(use-package envrc
|
||||
:config
|
||||
(envrc-mode))
|
||||
|
||||
(provide 'setup-general)
|
||||
|
0
Emacs/custom/setup-org.el
Normal file → Executable file
0
Emacs/custom/setup-org.el
Normal file → Executable file
3
Emacs/custom/setup-python.el
Executable file
3
Emacs/custom/setup-python.el
Executable file
@ -0,0 +1,3 @@
|
||||
(add-hook 'python-mode-hook 'lsp-deferred)
|
||||
|
||||
(provide 'setup-python)
|
0
Emacs/custom/setup-web.el
Normal file → Executable file
0
Emacs/custom/setup-web.el
Normal file → Executable file
0
Readme.org
Normal file → Executable file
0
Readme.org
Normal file → Executable file
Loading…
x
Reference in New Issue
Block a user