mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-05-19 22:27:40 +02:00
feat: emacs - nushell-mode & evil-smartparens
This commit is contained in:
@@ -104,6 +104,7 @@
|
||||
;; so avoid editing large markdown file in emacs, use neovim instead...
|
||||
(after! markdown-mode
|
||||
(global-font-lock-mode 0))
|
||||
|
||||
;; use alejandra to format nix files
|
||||
(use-package lsp-nix
|
||||
:ensure lsp-mode
|
||||
@@ -113,3 +114,10 @@
|
||||
:custom
|
||||
(lsp-nix-nil-formatter
|
||||
["alejandra"]))
|
||||
(use-package nushell-mode
|
||||
:config
|
||||
(setq nushell-enable-auto-indent 1))
|
||||
|
||||
;; enable evil-smartparens
|
||||
(after! smartparens
|
||||
(add-hook 'smartparens-enabled-hook #'evil-smartparens-mode))
|
||||
|
||||
@@ -13,6 +13,8 @@
|
||||
;;
|
||||
;; Alternatively, press 'gd' (or 'C-c c d') on a module to browse its
|
||||
;; directory (for easy access to its source code).
|
||||
|
||||
|
||||
(doom! :input
|
||||
;;bidi ; (tfel ot) thgir etirw uoy gnipleh
|
||||
chinese ; TODO: use (chinese +rime)
|
||||
@@ -58,10 +60,9 @@
|
||||
fold ; (nigh) universal code folding
|
||||
(format +onsave)
|
||||
; automated prettiness
|
||||
;;lispy ; vim for lisp, for people who don't like vim
|
||||
multiple-cursors ; editing in many places at once
|
||||
;;objed ; text object editing for the innocent
|
||||
;;parinfer ; turn lisp into python, sort of
|
||||
;; parinfer ; turn lisp into python, sort of
|
||||
;;rotate-text ; cycle region at point between text candidates
|
||||
snippets ; my elves. They type so I don't have to
|
||||
;;word-wrap ; soft wrapping with language-aware indent
|
||||
|
||||
@@ -16,6 +16,10 @@
|
||||
:recipe
|
||||
(:host github :repo "wakatime/wakatime-mode" :files
|
||||
("*.el" "dist")))
|
||||
(package! nushell-mode :recipe
|
||||
(:host github :repo "mrkkrp/nushell-mode"))
|
||||
(package! evil-smartparens)
|
||||
|
||||
;; To install SOME-PACKAGE from MELPA, ELPA or emacsmirror:
|
||||
;; (package! some-package)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user