Rationale:
Currently geany functionality for Lisp dialects is limited to syntax highlighting and only covers [Common] Lisp and Clojure (currently not full built-in file type). The following change not only expands functionality to existing Lisps dialects but adds support for two major Lisp dialects, Scheme and Racket.
Changes:
- Add and integrate universal-ctags parsers for Lisp, Clojure, Scheme and Racket (based on Scheme parser)
- Add built-in filetypes for Clojure, Scheme and Racket (following HACKING instructions)
- Modify calltip functionality to work with current document file type defined wordchars
Existing problems:
- Parser capability to identify symbols is limited to functions (Lisp, Clojure, Scheme, Racket), variables (Scheme, Racket) and namespaces (Clojure)
- Calltip only works by typing a open paren after function name which is not suitable for Lisp dialects
- Racket filetype keywords are not being consistently highlighted
- Racket parser is minimal adaptation of Scheme parser
You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/1922
Commit Summary
- Add TagManager parser for Clojure, Lisp and Scheme
- Add Racket parser and lisp-based builtin filetypes
- Minor fixes relating to the filetypes
- Remove reference to scheme tag file
- Make use of current editor wordchars for calltip
- Add generated keywords to filetype.rkt
File Changes
Patch Links:
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.![](https://github.com/notifications/beacon/ABDrJ7GIuU8KrFBeYyKgyezIkS06AXpHks5uPCjVgaJpZM4V1lrk.gif)