feat(ess): add +stan

Docs will be updated later, along with the rest of the pending docs
rewrite.
This commit is contained in:
Henrik Lissner 2021-10-18 11:43:07 +02:00
parent 388f59d9e0
commit 376f9b797c
2 changed files with 23 additions and 0 deletions

View file

@ -89,3 +89,18 @@
"m" #'ess-noweb-mark-chunk "m" #'ess-noweb-mark-chunk
"p" #'ess-noweb-previous-chunk "p" #'ess-noweb-previous-chunk
"n" #'ess-noweb-next-chunk)) "n" #'ess-noweb-next-chunk))
(use-package! stan-mode
:when (featurep! +stan)
:hook (stan-mode . stan-mode-setup)
:hook (stan-mode . eldoc-stan-setup)
:init
(use-package! company-stan
:when (featurep! :completion company)
:hook (stan-mode . company-stan-setup))
(use-package! flycheck-stan
:when (featurep! :checkers syntax)
:hook (stan-mode . flycheck-stan-stanc2-setup)
:hook (stan-mode . flycheck-stan-stanc3-setup)))

View file

@ -5,3 +5,11 @@
(package! ess-R-data-view :pin "d6e98d3ae1e2a2ea39a56eebcdb73e99d29562e9") (package! ess-R-data-view :pin "d6e98d3ae1e2a2ea39a56eebcdb73e99d29562e9")
(package! polymode :pin "54888d6c15249503e1a66da7bd7761a9eda9b075") (package! polymode :pin "54888d6c15249503e1a66da7bd7761a9eda9b075")
(package! poly-R :pin "c42ff3a4d0da96ccb7f826dca5c6b2eb558a2ab5") (package! poly-R :pin "c42ff3a4d0da96ccb7f826dca5c6b2eb558a2ab5")
(when (featurep! +stan)
(package! stan-mode :pin "9bb858b9f1314dcf1a5df23e39f9af522098276b")
(package! eldoc-stan :pin "9bb858b9f1314dcf1a5df23e39f9af522098276b")
(when (featurep! :completion company)
(package! company-stan :pin "9bb858b9f1314dcf1a5df23e39f9af522098276b"))
(when (featurep! :checkers syntax)
(package! flycheck-stan :pin "9bb858b9f1314dcf1a5df23e39f9af522098276b")))