Added languages
This commit is contained in:
@@ -184,7 +184,10 @@
|
||||
'org-babel-load-languages
|
||||
'((emacs-lisp . t)
|
||||
(python . t)
|
||||
(scheme . t)))
|
||||
(scheme . t)
|
||||
(javascript . t)
|
||||
(html . t)
|
||||
(css . t)))
|
||||
|
||||
(push '("conf-unix" . conf-unix) org-src-lang-modes))
|
||||
|
||||
@@ -198,7 +201,10 @@
|
||||
(add-to-list 'org-structure-template-alist '("el" . "src emacs-lisp"))
|
||||
(add-to-list 'org-structure-template-alist '("py" . "src python"))
|
||||
(add-to-list 'org-structure-template-alist '("yml" . "src yaml"))
|
||||
(add-to-list 'org-structure-template-alist '("scm" . "src scheme")))
|
||||
(add-to-list 'org-structure-template-alist '("scm" . "src scheme"))
|
||||
(add-to-list 'org-structure-template-alist '("js" . "src javascript"))
|
||||
(add-to-list 'org-structure-template-alist '("html" . "src html"))
|
||||
(add-to-list 'org-structure-template-alist '("css" . "src css")))
|
||||
|
||||
;; ;; Define a function that automatically executes rymacs/org-babel-tangle-config (a wrapper around org-babel-tangle) when saving this file.
|
||||
;; (defun rymacs/org-babel-tangle-config ()
|
||||
|
||||
@@ -93,7 +93,7 @@
|
||||
(eval +overlay) ; run code, run (also, repls)
|
||||
;;gist ; interacting with github gists
|
||||
lookup ; navigate your code and its documentation
|
||||
;;lsp ; M-x vscode
|
||||
lsp ; M-x vscode
|
||||
magit ; a git porcelain for Emacs
|
||||
;;make ; run make tasks from Emacs
|
||||
;;pass ; password manager for nerds
|
||||
@@ -131,13 +131,13 @@
|
||||
;;fsharp ; ML stands for Microsoft's Language
|
||||
;;fstar ; (dependent) types and (monadic) effects and Z3
|
||||
;;gdscript ; the language you waited for
|
||||
;;(go +lsp) ; the hipster dialect
|
||||
(go +lsp) ; the hipster dialect
|
||||
;;(haskell +lsp) ; a language that's lazier than I am
|
||||
;;hy ; readability of scheme w/ speed of python
|
||||
;;idris ; a language you can depend on
|
||||
json ; At least it ain't XML
|
||||
;;(java +meghanada) ; the poster child for carpal tunnel syndrome
|
||||
;;javascript ; all(hope(abandon(ye(who(enter(here))))))
|
||||
javascript ; all(hope(abandon(ye(who(enter(here))))))
|
||||
;;julia ; a better, faster MATLAB
|
||||
;;kotlin ; a better, slicker Java(Script)
|
||||
;;latex ; writing papers in Emacs has never been so fun
|
||||
@@ -167,7 +167,7 @@
|
||||
;;solidity ; do you need a blockchain? No.
|
||||
;;swift ; who asked for emoji variables?
|
||||
;;terra ; Earth and Moon in alignment for performance.
|
||||
;;web ; the tubes
|
||||
web ; the tubes
|
||||
yaml ; JSON, but readable
|
||||
;;zig ; C, but simpler
|
||||
|
||||
|
||||
@@ -12,6 +12,8 @@
|
||||
(package! visual-fill-column)
|
||||
(package! org-roam)
|
||||
(package! deft)
|
||||
(package! tide)
|
||||
|
||||
|
||||
;; To install SOME-PACKAGE from MELPA, ELPA or emacsmirror:
|
||||
;(package! some-package)
|
||||
|
||||
@@ -21,8 +21,12 @@ export PATH=/home/ry/.cargo/bin:$PATH
|
||||
export PATH=/bin:$PATH
|
||||
# doom
|
||||
export PATH=~/.config/emacs/bin:$PATH
|
||||
# Go PKG BIN
|
||||
export PATH=~/code/go/bin:$PATH
|
||||
# ansible config
|
||||
export ANSIBLE_CONFIG=~/.config/ansible/ansible.cfg
|
||||
# Go PATH
|
||||
export GOPATH=~/code/go
|
||||
|
||||
# locale --- #
|
||||
export LANG=en_US.UTF-8
|
||||
|
||||
11
Emacs.org
11
Emacs.org
@@ -257,7 +257,10 @@ Org Babel allows us to evaluate source code blocks within org mode. With this fu
|
||||
'org-babel-load-languages
|
||||
'((emacs-lisp . t)
|
||||
(python . t)
|
||||
(scheme . t)))
|
||||
(scheme . t)
|
||||
(javascript . t)
|
||||
(html . t)
|
||||
(css . t)))
|
||||
|
||||
(push '("conf-unix" . conf-unix) org-src-lang-modes))
|
||||
|
||||
@@ -279,8 +282,10 @@ Here we use a package called org-tempo.
|
||||
(add-to-list 'org-structure-template-alist '("el" . "src emacs-lisp"))
|
||||
(add-to-list 'org-structure-template-alist '("py" . "src python"))
|
||||
(add-to-list 'org-structure-template-alist '("yml" . "src yaml"))
|
||||
(add-to-list 'org-structure-template-alist '("scm" . "src scheme")))
|
||||
|
||||
(add-to-list 'org-structure-template-alist '("scm" . "src scheme"))
|
||||
(add-to-list 'org-structure-template-alist '("js" . "src javascript"))
|
||||
(add-to-list 'org-structure-template-alist '("html" . "src html"))
|
||||
(add-to-list 'org-structure-template-alist '("css" . "src css")))
|
||||
#+end_src
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user