mirror of
https://github.com/Foltik/dotfiles
synced 2025-02-19 23:13:50 -05:00
Formatting changes
This commit is contained in:
parent
7aba8637b6
commit
d679237e82
@ -1001,21 +1001,20 @@ Company integration is done with company-web.
|
|||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
*** JSON
|
*** JSON
|
||||||
Just an enhanced json mode
|
Mode for editing JSON files.
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(use-package json-mode
|
(use-package json-mode
|
||||||
:mode "\\.json\\'")
|
:mode "\\.json\\'")
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
*** YAML
|
*** YAML
|
||||||
Enhanced yaml mode
|
Mode for editing YAML files.
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(use-package yaml-mode
|
(use-package yaml-mode
|
||||||
:mode "\\.yaml\\'")
|
:mode "\\.yaml\\'")
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
*** Arch PKGBUILD
|
*** Arch PKGBUILD
|
||||||
For editing PKGBUILD files
|
Mode for editing PKGBUILD files.
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(use-package pkgbuild-mode
|
(use-package pkgbuild-mode
|
||||||
:mode ".*PKGBUILD\\'")
|
:mode ".*PKGBUILD\\'")
|
||||||
@ -1023,14 +1022,17 @@ For editing PKGBUILD files
|
|||||||
|
|
||||||
*** LaTeX
|
*** LaTeX
|
||||||
**** AUCTeX
|
**** AUCTeX
|
||||||
AUCTeX is a major mode for editing tex,
|
AUCTeX is a major mode for editing TeX.
|
||||||
CDLaTeX adds some minor niceities to it.
|
Company completions are handled by company-auctex and company-math.
|
||||||
company-auctex for completion.
|
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(use-package tex
|
(use-package tex
|
||||||
:defer t
|
:defer t
|
||||||
:ensure auctex
|
:ensure auctex
|
||||||
:general
|
:general
|
||||||
|
(jf-major-def
|
||||||
|
:keymaps 'TeX-mode-map
|
||||||
|
"e" 'TeX-command-run-all)
|
||||||
|
|
||||||
:custom
|
:custom
|
||||||
(TeX-auto-save t))
|
(TeX-auto-save t))
|
||||||
|
|
||||||
@ -1042,29 +1044,29 @@ company-auctex for completion.
|
|||||||
(TeX-mode . company-math-symbols-unicode)
|
(TeX-mode . company-math-symbols-unicode)
|
||||||
(TeX-mode . company-latex-commands)))
|
(TeX-mode . company-latex-commands)))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
**** cdlatex
|
**** Cdlatex
|
||||||
|
cdlatex adds better TeX-specific template expansions and other niceties.
|
||||||
***** Environment
|
***** Environment
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(setq foltz-cdlatex-envs nil)
|
(setq jf-cdlatex-envs nil)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
***** Commands
|
***** Commands
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(setq foltz-cdlatex-commands nil)
|
(setq jf-cdlatex-commands nil)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
***** Math Symbols
|
***** Math Symbols
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(setq foltz-cdlatex-symbols
|
(setq jf-cdlatex-symbols
|
||||||
'((?I ("\\infty"))))
|
'((?I ("\\infty"))))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
***** cdlatex
|
***** Setup
|
||||||
cdlatex adds better TeX-specific template expansions and other niceties.
|
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(use-package cdlatex
|
(use-package cdlatex
|
||||||
:hook (LaTeX-mode . cdlatex-mode)
|
:hook (LaTeX-mode . cdlatex-mode)
|
||||||
:custom
|
:custom
|
||||||
(cdlatex-env-alist foltz-cdlatex-envs)
|
(cdlatex-env-alist jf-cdlatex-envs)
|
||||||
(cdlatex-command-alist foltz-cdlatex-commands)
|
(cdlatex-command-alist jf-cdlatex-commands)
|
||||||
(cdlatex-math-symbol-alist foltz-cdlatex-symbols))
|
(cdlatex-math-symbol-alist jf-cdlatex-symbols))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
*** Rust
|
*** Rust
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
@ -1073,6 +1075,7 @@ cdlatex adds better TeX-specific template expansions and other niceties.
|
|||||||
:general)
|
:general)
|
||||||
|
|
||||||
(use-package flycheck-rust
|
(use-package flycheck-rust
|
||||||
|
:after flycheck
|
||||||
:hook (rust-mode . flycheck-rust-setup))
|
:hook (rust-mode . flycheck-rust-setup))
|
||||||
|
|
||||||
(use-package racer
|
(use-package racer
|
||||||
@ -1084,7 +1087,12 @@ cdlatex adds better TeX-specific template expansions and other niceties.
|
|||||||
|
|
||||||
(use-package cargo
|
(use-package cargo
|
||||||
:hook (rust-mode . cargo-minor-mode)
|
:hook (rust-mode . cargo-minor-mode)
|
||||||
:general)
|
:general
|
||||||
|
(jf-major-def
|
||||||
|
:keymaps 'rust-mode-map
|
||||||
|
"b" #'cargo-process-build
|
||||||
|
"r" #'cargo-process-run
|
||||||
|
"t" #'cargo-process-test))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
*** C/C++
|
*** C/C++
|
||||||
**** Irony
|
**** Irony
|
||||||
@ -1092,20 +1100,16 @@ Irony handles enhanced C/C++ operations powered by clang
|
|||||||
company-irony for company integration
|
company-irony for company integration
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(use-package irony
|
(use-package irony
|
||||||
:after counsel
|
:hook ((c-mode c++-mode) . irony-mode)
|
||||||
:hook ((c++-mode . irony-mode)
|
(irony-mode . irony-cdb-autosetup-compile-options))
|
||||||
(c-mode . irony-mode)
|
|
||||||
(irony-mode . irony-cdb-autosetup-compile-options)))
|
(use-package flycheck-irony
|
||||||
|
:after flycheck
|
||||||
|
:hook (irony-mode . flycheck-irony-setup))
|
||||||
|
|
||||||
(use-package company-irony
|
(use-package company-irony
|
||||||
:company irony-mode)
|
:company irony-mode)
|
||||||
|
|
||||||
(use-package company-irony-c-headers
|
(use-package company-irony-c-headers
|
||||||
:company irony-mode)
|
:company irony-mode)
|
||||||
|
|
||||||
(use-package flycheck-irony
|
|
||||||
:hook (irony-mode . flycheck-irony-setup))
|
|
||||||
#+END_SRC
|
|
||||||
**** Hotkeys
|
|
||||||
#+BEGIN_SRC emacs-lisp
|
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
Loading…
Reference in New Issue
Block a user