AdamNiederer / ng2-mode

Angular Support for Emacs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GPLv3 MELPA

ng2-mode

The Angular 2+ support Emacs needs

Screenshot

Features

Dependencies

Installation

Install this package with M-x package-install RET ng2-mode. It will automatically be activated on *.{component|service|pipe|directive|guard|module}.ts and *.component.html files, as well as whenever you type M-x ng2-mode.

If you want lsp-mode integration for your typescript files, add this to ~/.emacs.d/init.el:

(with-eval-after-load 'typescript-mode (add-hook 'typescript-mode-hook #'lsp))

Functions

  • ng2-mode - Enable either ng2-ts-mode or ng2-html-mode, depending on the buffer's file extension
  • ng2-ts-mode - Enable Angular 2 TypeScript mode
  • ng2-html-mode - Enable Angular 2 Template mode

Contributing

If you want to see a function in either mode, feel free to open an issue or a pull request.

License

GPLv3+

About

Angular Support for Emacs

License:GNU General Public License v3.0


Languages

Language:Emacs Lisp 100.0%