Skip to content

Instantly share code, notes, and snippets.

View bartkl's full-sized avatar

Bart Kleijngeld bartkl

View GitHub Profile
@habamax
habamax / emacs-python-treesitter-eglot.org
Last active March 8, 2025 21:16
Setup Emacs for Python with Treesitter and Eglot

Emacs, Python, Treesitter and Eglot

Treesitter (“better”/faster syntax highlighting)

  1. Make sure you have Emacs with treesitter support:

    M-: (treesit-available-p) RET should return t

  2. Make sure you have installed python treesitter grammar
@sgur
sgur / .dircolors.wsl
Last active February 11, 2022 15:21
Dircolors for WSL
# dircolors for WSL
# Usage: eval `dircolors ~/.dircolors.wsl` (bash)
# http://www.bigsoft.co.uk/blog/index.php/2008/04/11/configuring-ls_colors
TERM Eterm
TERM ansi
TERM color-xterm
TERM con[0-9]*x[0-9]*
TERM cons25