christianvoigt / argdown

a simple syntax for complex argumentation
https://argdown.org
918 stars 30 forks source link

Emacs syntax highlighting mode (feature request) #91

Open g4v4g4i opened 5 years ago

g4v4g4i commented 5 years ago

Would be great to support some other standard editors like the mighty emacs. In emacs syntax-highlighting for new languages can easily implemented (here's a howto). Given it's huge user-base this could be interesting.

christianvoigt commented 5 years ago

I agree, emacs support would be great. With https://github.com/emacs-lsp/lsp-mode and the @argdown/language-server node package it would also be easy to get the linter and other code assistance running in emacs.

However, I currently do not have time for this and also think that this should be done by someone who actually uses emacs (I would help with integrating @argdown/language-server). I am open for pull requests for this (if this should be part of the official Argdown repo).

Here are the links to the current syntax highlighting implementations:

@xylomorph: aren't you using emacs for Argdown?

aindilis commented 3 years ago

I'm also interested in an Emacs mode for Argdown (I tried to get lsp-mode working with Go to figure out how to use LSP in Emacs in order to get a start on writing the Emacs Argdown mode, but was unsuccessful).

aindilis commented 2 years ago

I'm attempting to get this working again. I've installed using nvm/npm the @argdown/language-server package, but don't know how to run it using npx.