refactor(sydnix-cli): rewrite sydnix-cli

holy shit. why. why did i write the first version LOL. so fucking ocmplicated. and half broken.
This commit is contained in:
2025-12-01 14:05:21 -07:00
parent 1a685b4bf4
commit ea0c455824
30 changed files with 103 additions and 1154 deletions

View File

@@ -10,7 +10,7 @@
(use-package smartparens
:hook (on-first-buffer . smartparens-global-mode)
:commands (sp-pair sp-local-pair sp-with-modes
sp-point-in-comment sp-point-in-string)
sp-point-in-comment sp-point-in-string)
:custom
;; Overlays are too distracting and not terribly helpful. show-parens does
;; this for us already (and is faster), so...
@@ -59,8 +59,8 @@ It is only enabled it if `smartparens-global-mode' is on."
("" . "")))
(sp-pair (car pair) (cdr pair)))
(sp-local-pair
'(js-mode nix-mode)
"{" nil :post-handlers '(("||\n[i]" "RET"))))
(sp-with-modes '(js-mode nix-mode)
(sp-local-pair "{" nil :post-handlers '(("||\n[i]" "RET")))
(sp-local-pair "[" nil :post-handlers '(("||\n[i]" "RET")))))
(provide 'syd/smartparens)