summaryrefslogtreecommitdiff
path: root/fnl/config/lsp/mason.fnl
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2023-01-08 02:49:49 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2023-01-08 02:49:49 +0100
commit86fc163e549d78136855ac2b45e91ffb2f43affc (patch)
tree20fab78a2ff2635af5ac95f2b2a11d9d07ace0e1 /fnl/config/lsp/mason.fnl
parent0d7f782cb4e68cff000beb00e8ab64308a66f3f0 (diff)
Refactor config loading
Diffstat (limited to 'fnl/config/lsp/mason.fnl')
-rw-r--r--fnl/config/lsp/mason.fnl14
1 files changed, 8 insertions, 6 deletions
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 :<leader>m 2 :<cmd>Mason<cr> :desc :Mason}]
+ :config opts}