From 86fc163e549d78136855ac2b45e91ffb2f43affc Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Sun, 8 Jan 2023 02:49:49 +0100 Subject: Refactor config loading --- fnl/config/lsp/mason.fnl | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'fnl/config/lsp/mason.fnl') diff --git a/fnl/config/lsp/mason.fnl b/fnl/config/lsp/mason.fnl index adc60a4..fd40102 100644 --- a/fnl/config/lsp/mason.fnl +++ b/fnl/config/lsp/mason.fnl @@ -1,9 +1,11 @@ ;; Mason manages external tooling, e.g. lsp, formatters, and linters. -(module config.lsp.mason {autoload {util config.util}}) -(def- opts {:ui {:icons {:package_installed "✓" - :package_pending "➜" - :package_uninstalled "✗"}} - :max_concurrent_installers 10}) +(local opts {:ui {:icons {:package_installed " " + :package_pending " " + :package_uninstalled " "}} + :max_concurrent_installers 10}) -(util.setup :mason opts) +{1 :williamboman/mason.nvim + :cmd :Mason + :keys [{1 :m 2 :Mason :desc :Mason}] + :config opts} -- cgit v1.2.3-70-g09d2