Skip to content

heshanpadmasiri/ballerina-mode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Emacs mode for ballerina language

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published