Skip to content
/ mason.el Public

Package manager for LSP, DAP, linters, and more for the Emacs Operating System

License

Notifications You must be signed in to change notification settings

deirn/mason.el

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mason.el MELPA

mason.el is installer for LSP servers, DAP servers, linters and formatters, inspired by mason.nvim.

Package registry at mason-org/mason-registry.

  • Run M-x mason-install RET to install packages.
  • Run M-x mason-manager RET to open package manager.

Requirements

mason.el will call external programs such as cargo and npm to install the packages, or tar and gzip to extract downloaded archives.

Call (mason-doctor) to see the requirements of each package type.

Installation

mason.el is available on MELPA, install it in your favorite way and call (mason-ensure) to setup the environment.

Install it with use-package

(use-package mason
  :ensure t
  :config
  (mason-ensure)
  ;; or
  :hook
  (after-init-hook . mason-ensure))

Snippets

Programmatically installing packages

mason.el can be used to install packages programmatically:

(mason-ensure
 (lambda ()
   (ignore-errors (mason-install "basedpyright"))
   (ignore-errors (mason-install "jdtls"))
   (ignore-errors (mason-install "clangd"))))

This will install the missing packages.

Screenshots

Mason manager Package info
mason-manager Package info
M-x mason-install M-x mason-log
mason-install mason-log

About

Package manager for LSP, DAP, linters, and more for the Emacs Operating System

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

  •  

Packages

No packages published