clojure-emacs/clojure-ts-mode

V1 Todo List

dannyfreeman opened this issue · 3 comments

This is what I have left to do before this is ready for general use:

  • Font Locking
  • Fixed Indentation
  • Prompt for user to auto install clojure grammar if not found
    • Download and compile for user
    • OR Download precompiled binaries
  • List on melpa
  • imenu support
    • ns
    • defn/defmethod
    • def/defonce
    • defmacro
    • defprotocol/definterface/defmulti
    • deftype/defrecrod/defstruct
  • CI/CD
    • Linting
    • Tests (will come later, not sure how exactly to write them yet)
    • Build grammar binaries (perhaps this is best done in tree-sitter-clojure) no need to build binaries, emacs can do this now.
  • which-function-mode support
  • Add clojure-ts-mode to eglot, lsp-mode

This issue is for me to keep track of what needs to be done, not for gathering feedback. Anyone should feel free to open a separate issue if they have a question, bug, request, etc.

Regarding installing the clojure grammar, https://github.com/emacs-mirror/emacs/blob/0562006da3b6f0147069a9aea75c08a9a0a4e6d8/lisp/treesit.el#L2658 is available for major modes like this one to use now.

I have moved semantic indentation and listing on non-gnu ELPA in new ticket in this repository.

#9
#8

I did everything here. Marking done