diff --git a/config.el b/config.el index f3b2c3b..9685f48 100644 --- a/config.el +++ b/config.el @@ -504,6 +504,7 @@ (setq sly-complete-symbol-function 'sly-flex-completions)) (map! :map corfu-map [escape] 'corfu-quit) +(setq tab-always-indent t) ;; cl-collider cl-patterns emacs helpers TODO: test this (after! lisp-mode @@ -536,3 +537,5 @@ ;; remove org agenda from the splash screen (assoc-delete-all "Open org-agenda" +doom-dashboard-menu-sections) + +(setq +tree-sitter-hl-enabled-modes t) diff --git a/init.el b/init.el index 8fded25..f5aa72b 100644 --- a/init.el +++ b/init.el @@ -107,7 +107,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 @@ -117,9 +117,8 @@ :lang ;;agda ; types of types of types of types... ;;beancount ; mind the GAAP - (cc +lsp) ; C > C++ == 1 - (clojure +lsp) ; java with a lisp - (common-lisp +lsp) ; if you've seen one lisp, you've seen them all + (cc +lsp +tree-sitter +tree-sitter) ; java with a lisp + (common-lisp +lsp +tree-sitter) ; if you've seen one lisp, you've seen them all ;;coq ; proofs-as-programs ;;crystal ; ruby at the speed of c ;;csharp ; unity, .NET, and mono shenanigans @@ -139,12 +138,12 @@ ;;gdscript ; the language you waited for ;;(go +lsp) ; the hipster dialect ;;(graphql +lsp) ; Give queries a REST - (haskell +lsp) ; a language that's lazier than I am + (haskell +lsp +tree-sitter) ; 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 + (json +tree-sitter) ; At least it ain't XML (java +lsp) ; the poster child for carpal tunnel syndrome - (javascript +lsp) ; all(hope(abandon(ye(who(enter(here)))))) + (javascript +lsp +tree-sitter) ; 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 @@ -161,7 +160,7 @@ purescript ; javascript, but functional (python +lsp) ; beautiful is better than ugly qt ; the 'cutest' gui framework ever - racket ; a DSL for DSLs + (racket +lsp +tree-sitter) ; a DSL for DSLs ;;raku ; the artist formerly known as perl6 ;;rest ; Emacs as a REST client ;;rst ; ReST in peace @@ -174,7 +173,7 @@ ;;solidity ; do you need a blockchain? No. ;;swift ; who asked for emoji variables? ;;terra ; Earth and Moon in alignment for performance. - (web +lsp) + (web +lsp +tree-sitter) yaml ; JSON, but readable ;;zig ; C, but simpler