Skip to content

Latest commit

 

History

History
17 lines (14 loc) · 747 Bytes

README.md

File metadata and controls

17 lines (14 loc) · 747 Bytes

Ballerina-mode

Emacs major mode for Ballerina language.

Objectives

I wrote this mostly for my personal use and is expected to be used in conjunction the ballerina language server.

Configuring LSP

Since emacs-29+ comes with eglot out of the box, and ballerina language server comes with any ballerina installation you can setup the language server without any external dependencies,

(with-eval-after-load 'eglot
  (add-to-list 'eglot-server-programs
               '(ballerina-mode . ("bal" "start-language-server"))))
(add-hook 'ballerina-mode-hook 'eglot-ensure)

Similar projects