summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--emacs/.config/emacs/arkta/arkta-progmodes.el5
-rw-r--r--emacs/.config/emacs/arkta/arkta-treesit.el4
-rw-r--r--emacs/.config/emacs/init.el5
-rw-r--r--emacs/.config/emacs/straight/versions/default.el1
4 files changed, 13 insertions, 2 deletions
diff --git a/emacs/.config/emacs/arkta/arkta-progmodes.el b/emacs/.config/emacs/arkta/arkta-progmodes.el
index b8db189..ac7940d 100644
--- a/emacs/.config/emacs/arkta/arkta-progmodes.el
+++ b/emacs/.config/emacs/arkta/arkta-progmodes.el
@@ -274,9 +274,10 @@
274 :straight t 274 :straight t
275 :mode "\\.st\\'") 275 :mode "\\.st\\'")
276 276
277(use-package sml-mode 277(use-package sml-ts-mode
278 :straight t 278 :straight t
279 :mode "\\.sml\\'") 279 :mode "\\.sml\\'"
280 :hook (sml-ts-mode . arkta/disable-sp-strictness))
280 281
281(use-package svelte-mode 282(use-package svelte-mode
282 :straight t 283 :straight t
diff --git a/emacs/.config/emacs/arkta/arkta-treesit.el b/emacs/.config/emacs/arkta/arkta-treesit.el
index 7766c20..5df3049 100644
--- a/emacs/.config/emacs/arkta/arkta-treesit.el
+++ b/emacs/.config/emacs/arkta/arkta-treesit.el
@@ -200,6 +200,10 @@
200 ,(arkta/treesit-cond 200 ,(arkta/treesit-cond
201 (14 "v0.24.0"))) 201 (14 "v0.24.0")))
202 202
203 (sml "https://github.com/MatthewFluet/tree-sitter-sml"
204 ,(arkta/treesit-cond
205 (14 "v0.23.0")))
206
203 (toml "https://github.com/ikatyang/tree-sitter-toml.git" 207 (toml "https://github.com/ikatyang/tree-sitter-toml.git"
204 ,(arkta/treesit-cond 208 ,(arkta/treesit-cond
205 (13 "v0.5.1"))) 209 (13 "v0.5.1")))
diff --git a/emacs/.config/emacs/init.el b/emacs/.config/emacs/init.el
index 4c1553b..aedb379 100644
--- a/emacs/.config/emacs/init.el
+++ b/emacs/.config/emacs/init.el
@@ -74,6 +74,7 @@
74 (ruby-mode . ruby-ts-mode) 74 (ruby-mode . ruby-ts-mode)
75 (rust-mode . rust-ts-mode) 75 (rust-mode . rust-ts-mode)
76 (scala-mode . scala-ts-mode) 76 (scala-mode . scala-ts-mode)
77 (sml-mode . sml-ts-mode)
77 (yaml-mode . yaml-ts-mode) 78 (yaml-mode . yaml-ts-mode)
78 (toml-mode . toml-ts-mode) 79 (toml-mode . toml-ts-mode)
79 (tsx-mode . tsx-ts-mode) 80 (tsx-mode . tsx-ts-mode)
@@ -444,6 +445,10 @@
444(use-package smartparens 445(use-package smartparens
445 :straight t 446 :straight t
446 ;; See: (sp-cheat-sheet) and make some cool keybinds :) 447 ;; See: (sp-cheat-sheet) and make some cool keybinds :)
448 :init
449 (defun arkta/disable-sp-strictness ()
450 (smartparens-strict-mode -1)
451 (smartparens-mode +1))
447 :hook (prog-mode . smartparens-strict-mode) 452 :hook (prog-mode . smartparens-strict-mode)
448 :config 453 :config
449 (require 'smartparens-config)) 454 (require 'smartparens-config))
diff --git a/emacs/.config/emacs/straight/versions/default.el b/emacs/.config/emacs/straight/versions/default.el
index 6e57bf7..be92e83 100644
--- a/emacs/.config/emacs/straight/versions/default.el
+++ b/emacs/.config/emacs/straight/versions/default.el
@@ -67,6 +67,7 @@
67 ("smalltalk-mode" . "274b17efbf0dd9962842aa9eea76b117796d17ed") 67 ("smalltalk-mode" . "274b17efbf0dd9962842aa9eea76b117796d17ed")
68 ("smartparens" . "b629b4e893ba21ba5a381f6c0054bb72f8e96df2") 68 ("smartparens" . "b629b4e893ba21ba5a381f6c0054bb72f8e96df2")
69 ("sml-mode" . "c33659fd9b62fab436366f731daa4339691dd6bf") 69 ("sml-mode" . "c33659fd9b62fab436366f731daa4339691dd6bf")
70 ("sml-ts-mode" . "d2dabcc9d8f91eeee7048641e4c80fabb3583194")
70 ("straight.el" . "0ad6fd8f37bd918c72989df18c76a68649f0a372") 71 ("straight.el" . "0ad6fd8f37bd918c72989df18c76a68649f0a372")
71 ("svelte-mode" . "ac8fba901dc790976f9893e338c8ad1241b897c6") 72 ("svelte-mode" . "ac8fba901dc790976f9893e338c8ad1241b897c6")
72 ("swift-mode" . "c2fe47722fcab02a8bd40b443fc11687793591e9") 73 ("swift-mode" . "c2fe47722fcab02a8bd40b443fc11687793591e9")