This is a fork of qianmarv/sap-abap-mode. The development of the original project has been discontinued.
sap-abap-mode
currently supports syntax highlighting and indentation1 of
ABAP development files and CDS views.
Add this repository to your load-path
:
(add-to-list 'load-path "path/to/sap-abap-mode")
(require 'abap-mode)
(add-to-list 'auto-mode-alist '("\\.abap\\'" . abap-mode))
;; ABAP CDS Mode
(require 'abap-cds-mode)
(add-to-list 'auto-mode-alist '("\\.cds\\'" . abap-cds-mode))
;; ADT files as well
(add-to-list 'auto-mode-alist '("\\.\\(asprog\\|asinc\\|aclass\\)\\'" . abap-mode))
(add-to-list 'auto-mode-alist '("\\.asddls\\'" . abap-cds-mode))
1: the indentation rules only cover basic statements