Many things

This commit is contained in:
Andrea Ciceri 2022-11-02 22:51:05 +01:00
parent 3b11f01f84
commit 6b3c9e83f7
No known key found for this signature in database
GPG key ID: A1FC89532D1C5654
17 changed files with 139 additions and 28 deletions

View file

@ -96,16 +96,24 @@
(define-key vterm-mode-map (kbd (format "M-%d" workspace-number)) nil)))
(after! polymode (progn
(define-hostmode poly-nix-hostmode :mode 'nix-mode)
(define-hostmode poly-nix-hostmode :mode 'nix-mode)
(define-innermode poly-sh-innermode
:mode 'sh-mode
:head-matcher "^.*=.*''.*$"
:tail-matcher "^.*''.*;.*$"
:head-mode 'host
:tail-mode 'host)
(define-innermode poly-sh-innermode
:mode 'sh-mode
:head-matcher "^.*[+=].*''"
:tail-matcher "''.*[+;].*$"
:head-mode 'host
:tail-mode 'host)
(define-polymode poly-nix-mode
:hostmode 'poly-nix-hostmode
:innermodes '(poly-sh-innermode))
))
(define-polymode poly-nix-mode
:hostmode 'poly-nix-hostmode
:innermodes '(poly-sh-innermode))
))
(after! org
(setq-default prettify-symbols-alist
'(("[ ]" "")
("[X]" "")
("[-]" "")
("#+begin_src" "λ")
("#+end_src" "λ"))))

View file

@ -105,7 +105,7 @@
;;taskrunner ; taskrunner for all your projects
terraform ; infrastructure as code
;;tmux ; an API for interacting with tmux
tree-sitter ; syntax and parsing, sitting in a tree...
;; tree-sitter ; syntax and parsing, sitting in a tree...
;;upload ; map local to remote projects via ssh/ftp
:os
@ -152,7 +152,7 @@
;;lua ; one-based indices? one-based indices
markdown ; writing docs for people to ignore
;;nim ; python + lisp at the speed of c
(nix +tree-sitter) ; I hereby declare "nix geht mehr!"
(nix) ; I hereby declare "nix geht mehr!"
;;ocaml ; an objective camel
(org +roam2) ; organize your plain life in plain text
;;php ; perl's insecure younger brother