ref(nvim): merged utils into helpers

This commit is contained in:
Léana 江 2024-01-28 11:55:16 +01:00 committed by Léana 江
parent 18a6f46a71
commit dfdb428d04
4 changed files with 26 additions and 31 deletions

View file

@ -1,7 +1,6 @@
(import-macros {: exec! : map! : setlocal!} :hibiscus.vim)
(local {: require-then : fst} (require :helpers))
(local {: require-then : fst : foreach} (require :helpers))
(local map vim.keymap.set)
(local Foreach (. (require :utils) :Foreach))
(local servers
{:bashls {}
@ -129,7 +128,7 @@
new-virt-text))]
(require-then :ufo #($.setup {:fold_virt_text_handler handler})))
(Foreach servers (fn [k v]
(foreach servers (fn [k v]
(let [config {: capabilities
:on_attach #((on_attach $) (v.on_attach $))
:settings v.settings}]