diff options
| author | Yuan Fu | 2023-01-15 00:15:25 -0800 |
|---|---|---|
| committer | Yuan Fu | 2023-01-15 01:11:37 -0800 |
| commit | c78e19d99c01660284c6c4d58a2e98e1ba93fb6d (patch) | |
| tree | 260b3e87d2afed08a9582fb585bbcf1ac9a8b9ba /java | |
| parent | d13a329acff37b37091e137e3b04669ab7aab9ae (diff) | |
| download | emacs-c78e19d99c01660284c6c4d58a2e98e1ba93fb6d.tar.gz emacs-c78e19d99c01660284c6c4d58a2e98e1ba93fb6d.zip | |
Allow offset in tree-sitter indent rules to be functions
This is needed for fixing C indentation. See next comment.
* doc/lispref/modes.texi (Parser-based Indentation): Update manual.
* lisp/treesit.el (treesit-simple-indent): Try evaluating OFFSET as a
function if it's not integer nor variable.
Diffstat (limited to 'java')
0 files changed, 0 insertions, 0 deletions