Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add more nodes to elisp parser, remove
s
dependency, add vimscript
This commit includes some new features and changes: * Add more nodes/rule set to elisp parser. This add support for folding lists and special forms such as `if`, `defvar` and etc. * Remove dependency in `s.el` library. There was only 1 function from s.el in use, it was replaced by its built-in alternative. * Add vimscript support through vimscript-ts-mode. It only add folding for `functions` and `if` conditionals. * Add more missing `*-ts-modes` to `treesit-fold-range-alist` list. This also rmeove some modes that doesn't exists or unlikely to exist.
- Loading branch information