| @ -0,0 +1,13 @@ | |||||
| (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 | |||||
| '(cython-mode scss-mode vue-mode tide rust-mode company-auctex tex-site auctex sphinx-doc company-lsp lsp-ui lsp-mode ws-butler use-package smartparens pip-requirements osx-clipboard monokai-theme markdown-mode helm-projectile helm-ag godoctor go-guru go-eldoc go-autocomplete flycheck-gometalinter doom-modeline dockerfile-mode docker-compose-mode diminish company-go company-anaconda))) | |||||
| (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. | |||||
| ) | |||||
| @ -0,0 +1,16 @@ | |||||
| (add-to-list 'auto-mode-alist '("\\.mjs\\'" . javascript-mode)) | |||||
| (setq js-indent-level 2 | |||||
| typescript-indent-level 2 | |||||
| mmm-js-mode-enter-hook (lambda () (setq syntax-ppss-table nil)) | |||||
| mmm-typescript-mode-enter-hook (lambda () (setq syntax-ppss-table nil))) | |||||
| (use-package tide | |||||
| :ensure t | |||||
| :after (typescript-mode company flycheck) | |||||
| :hook ((typescript-mode . tide-setup) | |||||
| (typescript-mode . tide-hl-identifier-mode) | |||||
| (before-save . tide-format-before-save))) | |||||
| (use-package vue-mode | |||||
| :ensure t) | |||||
| (use-package vue-html-mode | |||||
| :ensure t) | |||||
| @ -0,0 +1,18 @@ | |||||
| (use-package tex-site | |||||
| :defer t | |||||
| :ensure auctex | |||||
| :hook (LaTex-mode . auctex) | |||||
| :commands auctex | |||||
| :config | |||||
| (setq TeX-auto-save t) | |||||
| (setq TeX-parse-self t) | |||||
| (setq-default TeX-master nil) | |||||
| (setq TeX-global-PDF-mode t) | |||||
| (add-hook 'LaTeX-mode-hook 'visual-line-mode) | |||||
| (add-hook 'LaTeX-mode-hook 'flyspell-mode) | |||||
| (add-hook 'LaTeX-mode-hook 'LaTeX-math-mode) | |||||
| (add-hook 'LaTeX-mode-hook 'turn-on-reftex) | |||||
| (setq reftex-plug-into-AUCTeX t)) | |||||
| @ -0,0 +1,6 @@ | |||||
| (use-package rust-mode | |||||
| :diminish rust-mode | |||||
| :ensure t | |||||
| :mode (("\\.rs\\'" . rust-mode)) | |||||
| :init | |||||
| (setq rust-format-on-save t)) | |||||
| @ -0,0 +1,2 @@ | |||||
| (use-package scss-mode | |||||
| :ensure t) | |||||
| @ -0,0 +1,3 @@ | |||||
| #!/bin/bash | |||||
| # This hook is sourced after every virtualenv is activated. | |||||