[Emacs] Move toml-mode out of rust-mode
This commit is contained in:
parent
35ca57001b
commit
db2d500df7
@ -310,9 +310,8 @@ Update: It turns out that it is term-exec-1 that is causing this environment
|
|||||||
variable to be set to something strange. When I tried to disable it, it seemed
|
variable to be set to something strange. When I tried to disable it, it seemed
|
||||||
to cause issues. Oh well...
|
to cause issues. Oh well...
|
||||||
** Don't use system font
|
** Don't use system font
|
||||||
|
I want to control my own font for emacs
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
;; Let me control my own goddamn fonts
|
|
||||||
;; XXX: This doesn't seem to work
|
|
||||||
(setq font-use-system-font nil)
|
(setq font-use-system-font nil)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
** Set default browser
|
** Set default browser
|
||||||
@ -2825,7 +2824,6 @@ The following is taken from [[https://github.com/syl20bnr/spacemacs/blob/a650877
|
|||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(use-package rust-mode
|
(use-package rust-mode
|
||||||
:mode (("\\.rs\\'" . rust-mode))
|
:mode (("\\.rs\\'" . rust-mode))
|
||||||
;; :hook (rust-mode . lsp)
|
|
||||||
:preface
|
:preface
|
||||||
(progn
|
(progn
|
||||||
(defvar imalison:use-lsp-rust t)
|
(defvar imalison:use-lsp-rust t)
|
||||||
@ -2839,7 +2837,6 @@ The following is taken from [[https://github.com/syl20bnr/spacemacs/blob/a650877
|
|||||||
(setq rust-format-on-save t)))
|
(setq rust-format-on-save t)))
|
||||||
:config
|
:config
|
||||||
(progn
|
(progn
|
||||||
(use-package toml-mode)
|
|
||||||
(add-hook 'rust-mode-hook 'imalison:rust-mode-hook)))
|
(add-hook 'rust-mode-hook 'imalison:rust-mode-hook)))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
*** haskell
|
*** haskell
|
||||||
@ -3016,6 +3013,11 @@ The following is taken from [[https://github.com/syl20bnr/spacemacs/blob/a650877
|
|||||||
(use-package dhall-mode
|
(use-package dhall-mode
|
||||||
:mode "\\.dhall\\'")
|
:mode "\\.dhall\\'")
|
||||||
#+end_src
|
#+end_src
|
||||||
|
*** toml
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(use-package toml-mode
|
||||||
|
:mode (("\\.toml\\'" . toml-mode)))
|
||||||
|
#+end_src
|
||||||
** Document
|
** Document
|
||||||
*** org
|
*** org
|
||||||
**** config
|
**** config
|
||||||
@ -4937,7 +4939,7 @@ load-theme hook (See the heading below).
|
|||||||
** Set Font
|
** Set Font
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(add-to-list 'default-frame-alist
|
(add-to-list 'default-frame-alist
|
||||||
'(font . "Source Code Pro-10:weight=semi-bold:antialias=true"))
|
'(font . "JetBrainsMono Nerd Font-10:weight=medium"))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
** imalison:appearance
|
** imalison:appearance
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
Loading…
Reference in New Issue
Block a user