Josh Caswell
Josh Caswell
I believe I know why this happens. I've had a related issue with deletion unexpectedly adding to the kill-ring. The `sp-delete-*` commands try to avoid touching the `kill-ring` by let-binding...
Sure thing! Here's the call chain that I see: `kill-region` checks whether the last command was also a kill, and if so calls `kill-append`: https://github.com/emacs-mirror/emacs/blob/emacs-27/lisp/simple.el#L4764-L4766 `kill-append` constructs the new kill...
I'm not sure what the best way to address this is. If you have a suggested or preferred approach, @Fuco1, I would be happy to try to come up with...
Thanks, but your commands don't skip delimiters as smartparens does. With point at the beginning of `'((foo bar) baz)`, smartparens forward delete produces ``` '(( bar) baz) ```` as opposed...
I also have a Swift grammar that I have been developing and using with emacs-tree-sitter for the past year: https://gitlab.com/woolsweater/tree-sitter-swifter . I was unaware of this other effort until now;...
@konrad1977 I believe the best way to try any alternative grammar is to follow the tree-sitter-langs instructions for [Building Grammars From Source](https://github.com/emacs-tree-sitter/tree-sitter-langs#building-grammars-from-source). You would just change the appropriate language submodule...
@konrad1977 Good idea! I have added a README and some screenshots to my repo. I find the performance of elisp-tree-si/tter and my grammar to be a non-issue in daily use....
@ubolonton elisp-tree-sitter does not support multiple grammars for a programming language, does it? I am unsure how best to handle this situation where there are two options. (I doubt that...
Just one more case that I thought was worth pointing out. Xcode's newish `if let` alignment behavior triggers this rule as well. (Aligning the second and following clauses with the...
This is fairly easy to customize; see [Syntax Highlighting > Customization](https://ubolonton.github.io/emacs-tree-sitter/syntax-highlighting/customization/) on the wiki. There are two steps. First you need to change the [highlight query attribute for the elements...