emacs: Tweaks
- disable smartparens in favour of electric-pair-mode - stop eglot from logging so much - add dhall-mode
This commit is contained in:
parent
5a94b93c35
commit
9ddb1f47af
1 changed files with 12 additions and 2 deletions
|
@ -764,9 +764,9 @@ Enable =magit= integration
|
|||
|
||||
** General settings
|
||||
|
||||
Auto balance parenthesese.
|
||||
Auto balance parenthesese. *Note:* Switched to =electric-pair-mode=
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
#+begin_src emacs-lisp :tangle no
|
||||
(use-package smartparens
|
||||
:ghook 'prog-mode-hook)
|
||||
#+end_src
|
||||
|
@ -1013,6 +1013,7 @@ Visualise git changes in the gutter, next to the line numbers
|
|||
#+begin_src emacs-lisp
|
||||
(use-package eglot
|
||||
:config
|
||||
(fset #'json--log-event #'ignore) ;; Performance boost by not logging every event
|
||||
(add-to-list 'eglot-server-programs
|
||||
'(conf-toml-mode . ("taplo" "lsp" "stdio")))
|
||||
(add-to-list 'eglot-server-programs
|
||||
|
@ -1574,6 +1575,15 @@ jinja2
|
|||
turn-on-haskell-unicode-input-method))
|
||||
#+end_src
|
||||
|
||||
*** Dhall
|
||||
|
||||
Dhall is a programmable configuration language that you can think of as: JSON + functions + types + imports
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
(use-package dhall-mode
|
||||
:mode "\\.dhall\\'")
|
||||
#+end_src
|
||||
|
||||
* Org
|
||||
|
||||
** Main org setup
|
||||
|
|
Loading…
Reference in a new issue