1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-28 07:45:00 +00:00
emacs/lisp/textmodes
Yuan Fu fbb4eb919b
Support treesit-defun-name in tree-sitter major modes
* lisp/progmodes/csharp-mode.el (csharp-ts-mode--defun-name): New
function.
(csharp-ts-mode--imenu-1): Extract into new function.
(csharp-ts-mode): Setup treesit-defun-name-function.
* lisp/progmodes/java-ts-mode.el (java-ts-mode--defun-name): New
function.
(java-ts-mode--imenu-1): Extract into new function.
(java-ts-mode): Setup treesit-defun-name-function.
* lisp/progmodes/js.el (js-treesit-current-defun): Remove function.
This function is not used (for a while already).
(js--treesit-defun-name): New function.
(js--treesit-imenu-1): Extract into new function.
(js-ts-mode): Setup treesit-defun-name-function.
* lisp/progmodes/json-ts-mode.el (json-ts-mode--defun-name): New
function.
(json-ts-mode--imenu-1): Extract into new function.
(json-ts-mode): Setup treesit-defun-name-function.
* lisp/progmodes/python.el (python--treesit-defun-name): New function.
(python--imenu-treesit-create-index-1): Extract into new function.
(python-ts-mode): Setup treesit-defun-name-function.
* lisp/progmodes/rust-ts-mode.el (rust-ts-mode--defun-name): New
function.
(rust-ts-mode--imenu-1): Extract into new function.
(rust-ts-mode): Setup treesit-defun-name-function.
* lisp/textmodes/css-mode.el (css--treesit-defun-name): New function.
(css--treesit-imenu-1): Extract into new function.
(css-ts-mode): Setup treesit-defun-name-function.
* lisp/textmodes/toml-ts-mode.el (toml-ts-mode--get-table-name):
Remove function.
(toml-ts-mode--defun-name): New function.
(toml-ts-mode--imenu-1): Extract into new function.
(toml-ts-mode): Setup treesit-defun-name-function.
2022-12-24 18:43:03 -08:00
..
artist.el Delete variable window-system-version obsolete since 24.3 2022-09-09 11:27:30 +02:00
bib-mode.el ; Simplify two functions after recent change 2022-07-31 12:04:17 +02:00
bibtex-style.el
bibtex.el Prefer defvar-keymap in bibtex.el 2022-10-07 22:45:28 +02:00
conf-mode.el Make conf-javaprop-mode only claim that # lines are comments 2022-08-20 11:54:33 +02:00
css-mode.el Support treesit-defun-name in tree-sitter major modes 2022-12-24 18:43:03 -08:00
dns-mode.el Prefer defvar-keymap in dns-mode-map 2022-07-30 12:07:49 +02:00
emacs-authors-mode.el Support outline-minor-mode in emacs-authors-mode 2022-09-10 05:03:58 +02:00
emacs-news-mode.el Adapt manual names in emacs-news-mode 2022-12-09 15:53:00 +01:00
enriched.el Remove redundant let-bindings of inhibit-point-motion-hooks 2022-10-07 12:16:47 -04:00
fill.el Prefer defcustom :safe to putting 'safe-local-variable' 2022-07-06 20:50:42 +02:00
flyspell.el Fix overlays order in Flyspell (bug#58970) 2022-11-03 19:35:45 +02:00
glyphless-mode.el
ispell.el Fix running spell-checking in remote buffers 2022-09-17 10:10:10 +03:00
less-css-mode.el ; Prefer HTTPS to HTTP in many URLs 2022-10-15 13:06:45 +02:00
makeinfo.el
mhtml-mode.el
nroff-mode.el Prefer defvar-keymap in nroff-mode-map 2022-07-30 12:07:49 +02:00
page-ext.el Prefer defvar-keymap in page-ext.el 2022-10-29 04:02:20 +02:00
page.el
paragraphs.el Use use-region-beginning/end in replacement commands (bug#45607) 2022-09-04 19:55:59 +03:00
picture.el Merge from origin/emacs-28 2022-09-16 16:27:37 +02:00
pixel-fill.el
po.el
refbib.el ; Simplify two functions after recent change 2022-07-31 12:04:17 +02:00
refer.el
refill.el
reftex-auc.el
reftex-cite.el ; Fix typos 2022-11-18 16:02:19 +01:00
reftex-dcr.el
reftex-global.el Consider key=val labels when renumbering 2022-09-12 09:34:23 +02:00
reftex-index.el ; Fix typos 2022-11-18 16:02:19 +01:00
reftex-parse.el
reftex-ref.el Remove XEmacs compat code from reftex-ref.el 2022-08-03 11:39:25 +02:00
reftex-sel.el Prefer command remapping to substitute-key-definition 2022-08-01 18:15:51 +02:00
reftex-toc.el Prefer command remapping to substitute-key-definition 2022-08-01 18:15:51 +02:00
reftex-vars.el ; Fix docstring 2022-12-22 18:23:34 +01:00
reftex.el Fix handling of % when searching in .tex or .dtx files 2022-12-14 21:17:30 +01:00
remember.el Prefer defvar-keymap in several cases 2022-09-13 15:05:38 +02:00
rst.el Don't warn about some deleted variables in rst.el 2022-09-09 11:27:30 +02:00
sgml-mode.el ; Prefer HTTPS to HTTP in many URLs 2022-10-15 13:06:45 +02:00
string-edit.el Fix thinko in read-string-from-buffer 2022-10-12 13:40:51 +02:00
table.el Remove redundant library installation instructions 2022-11-11 04:29:29 +01:00
tex-mode.el ; Fix typos 2022-11-18 16:02:19 +01:00
texinfmt.el
texinfo.el * lisp/textmodes/texinfo.el (texinfo-flymake): Improve docstring. 2022-12-13 18:59:07 +01:00
texnfo-upd.el
text-mode.el Fix defvar-keymap example in elisp manual 2022-08-06 17:17:38 +02:00
tildify.el Remove some useless eval-when-compile 2022-07-04 14:56:11 +02:00
toml-ts-mode.el Support treesit-defun-name in tree-sitter major modes 2022-12-24 18:43:03 -08:00
two-column.el
underline.el
word-wrap-mode.el
yaml-ts-mode.el Add yaml-ts-mode (Bug#60105) 2022-12-16 14:55:02 -08:00