summaryrefslogtreecommitdiff
path: root/lisp/files.el
diff options
context:
space:
mode:
authorYuan Fu <casouri@gmail.com>2023-03-04 01:09:00 -0800
committerYuan Fu <casouri@gmail.com>2023-03-04 01:20:02 -0800
commit4c16fd3a51286e1b1685bfb28e0cd6ae2358c37d (patch)
treeab4ad617437865d73c3587a712edda4f41ba7d5e /lisp/files.el
parentf47b39301589feb2cb846a3c62f94411d993be78 (diff)
downloademacs-4c16fd3a51286e1b1685bfb28e0cd6ae2358c37d.tar.gz
emacs-4c16fd3a51286e1b1685bfb28e0cd6ae2358c37d.tar.bz2
emacs-4c16fd3a51286e1b1685bfb28e0cd6ae2358c37d.zip
Change tree-sitter indent anchor 'point-min' to 'column-0'
Point-min isn't necessarily at column 0, using line-beginning-position is better. column-0 is also more intuitive. * doc/lispref/modes.texi (Parser-based Indentation): Update manual. * lisp/progmodes/c-ts-mode.el (c-ts-mode--indent-styles): * lisp/progmodes/java-ts-mode.el (java-ts-mode--indent-rules): * lisp/progmodes/rust-ts-mode.el (rust-ts-mode--indent-rules): * lisp/progmodes/typescript-ts-mode.el: (typescript-ts-mode--indent-rules): Change point-min to column-0. * lisp/treesit.el (treesit-simple-indent-presets): Change point-min to column-0.
Diffstat (limited to 'lisp/files.el')
0 files changed, 0 insertions, 0 deletions