lasse16 / dotfiles

These are my dotfiles, including a basic setup and disable script.
2 stars 0 forks source link

Add tree sitter for highlighting #2

Closed lasse16 closed 3 years ago

lasse16 commented 3 years ago

This is a basic setup of tree-sitter and the basic grammars used by it. Only a few TODOs are left. One, highlight in markdown is not yet supported. Second, find out what the binaries in .tree-sitter/bin are for. Three, select a proper theme for highlighting.

I'm hoping they are enough for highlighting and I can remove the full repositories stored. There are some grammars installed for which no binary was created. INVESTIGATE.

At this point, Im thinking about creating a custom theme and storing it somewhere in my dotfiles, sort of like a color palete. The current colorschemes are doubled and tripled at certain positions. Vim uses its own nord, so does the Windows Terminal emulator, and vifm, and currently tree-sitter too. There should be a way to unify these.

lasse16 commented 3 years ago

Merged. TODOs are tracked by issues.

They still reference this merge request as their is some background information in here, that might still be useful.