Something went wrong. Try again.
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354(import-macros {: pack! : spec! : require!} :macros)
(fn mini-hl [ctx] (let [(_ hl) ((. (require :mini.icons) :get) :lsp ctx.kind)] hl))
(let [columns [[:label] (doto [:kind_icon :kind :source_name] (tset :gap 1))] components {:kind_icon {:text (fn [ctx] (let [(icon) ((. (require :mini.icons) :get) :lsp ctx.kind)] icon)) :highlight mini-hl} :kind {:highlight mini-hl} :source_name {:text #(.. "[" $.source_name "]") :highlight mini-hl}} draw {:align_to :cursor : columns : components} completion {:documentation {:auto_show false} :ghost_text {:enabled true} :menu {: draw}} keymap {:preset :none :<C-h> [:select_and_accept] :<C-s> [:show :show_documentation :hide_documentation] :<C-e> [:hide] :<C-n> [:select_next :fallback_to_mappings] :<C-p> [:select_prev :fallback_to_mappings]} providers {:lsp {:score_offset 45} :snippets {:score_offset 55} :path {:score_offset 15} :buffer {:score_offset 15} :ripgrep {:module :blink-ripgrep :name :rg :opts {:backend {:ripgrep {:max_filesize :400K}}} :score_offset 1}} sources {:default [:lsp :path :snippets :buffer :ripgrep] : providers} opts {: keymap :appearance {:nerd_font_variant :mono} :signature {:enabled true} : completion :cmdline {:enabled false} :snippets {:preset :default} : sources :fuzzy {:implementation :prefer_rust_with_warning :prebuilt_binaries {:force_version :v1.6.0}}}] (pack! [(spec! "https://github.com/saghen/blink.cmp" {:version (vim.version.range :1.*) :event :InsertEnter :dep_of :obsidian.nvim :after (fn [] (require! :blink-ripgrep) ((. (require :profiler) :require_and_setup) :blink-cmp opts))}) (spec! "https://github.com/mikavilpas/blink-ripgrep.nvim" {:dep_of :blink.cmp})]))