From 5de7e2288c1b5b453e6fd5bd4e7c731ff1898247 Mon Sep 17 00:00:00 2001 From: coolneng Date: Fri, 13 Jan 2023 22:25:48 +0100 Subject: [PATCH] Use tree-sitter for better syntax highlighting --- init.el | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/init.el b/init.el index a5c4891..f6b1e25 100644 --- a/init.el +++ b/init.el @@ -102,13 +102,15 @@ ;;rgb ; creating color strings ;;terraform ; infrastructure as code ;;tmux ; an API for interacting with tmux + tree-sitter ; syntax and parsing, sitting in a tree... upload ; map local to remote projects via ssh/ftp :lang ;;agda ; types of types of types of types... ;;assembly ; assembly for fun or debugging ;;beancount ; mind the GAAP - (cc +lsp) ; C > C++ == 1 + (cc +lsp + +tree-sitter) ; C > C++ == 1 ;;clojure ; java with a lisp ;;common-lisp ; if you've seen one lisp, you've seen them all ;;coq ; proofs-as-programs @@ -129,12 +131,14 @@ ;;fstar ; (dependent) types and (monadic) effects and Z3 ;;fortran ; in FORTRAN, GOD is REAL (unless declared INTEGER) ;;gdscript ; the language you waited for - (go +lsp) ; the hipster dialect - ;;(haskell +lsp) ; a language that's lazier than I am + (go +lsp + +tree-sitter) ; 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 +lsp) ; the poster child for carpal tunnel syndrome + (json +tree-sitter) ; At least it ain't XML + (java +lsp + +tree-sitter) ; the poster child for carpal tunnel syndrome ;;(javascript +lsp) ; all(hope(abandon(ye(who(enter(here)))))) ;;julia ; a better, faster MATLAB ;;kotlin ; a better, slicker Java(Script) @@ -144,7 +148,7 @@ ;;lua ; one-based indices? one-based indices markdown ; writing docs for people to ignore ;;nim ; python + lisp at the speed of c - nix ; I hereby declare "nix geht mehr!" + (nix +tree-sitter) ; I hereby declare "nix geht mehr!" ;;ocaml ; an objective camel (org ; organize your plain life in plain text +dragndrop ; drag & drop files/images into org buffers @@ -161,7 +165,8 @@ ;;purescript ; javascript, but functional (python +lsp ; beautiful is better than ugly +pyright - +poetry) + +poetry + +tree-sitter) ;;qt ; the 'cutest' gui framework ever ;;racket ; a DSL for DSLs ;;raku ; the artist formerly known as perl6 @@ -171,12 +176,12 @@ ;;rust ; Fe2O3.unwrap().unwrap().unwrap().unwrap() ;;scala ; java, but good ;;scheme ; a fully conniving family of lisps - sh ; she sells {ba,z,fi}sh shells on the C xor + (sh +tree-sitter) ; she sells {ba,z,fi}sh shells on the C xor ;;sml ;;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 +tree-sitter) ; the tubes yaml ; JSON, but readable ;;zig ; C, but simpler