summaryrefslogtreecommitdiff
path: root/lua/plugins/completion.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/plugins/completion.lua')
-rw-r--r--lua/plugins/completion.lua65
1 files changed, 0 insertions, 65 deletions
diff --git a/lua/plugins/completion.lua b/lua/plugins/completion.lua
deleted file mode 100644
index 79946e1..0000000
--- a/lua/plugins/completion.lua
+++ /dev/null
@@ -1,65 +0,0 @@
-return {
- {
- "blink.cmp",
- event = { "InsertEnter", "CmdlineEnter" },
- for_cat = "core.completion",
- load = function(name)
- require("lzextras").loaders.multi({
- name,
- -- "blink-ripgrep.nvim",
- "friendly-snippets",
- })
- end,
- after = function(_)
- require("blink.cmp").setup({
- keymap = { preset = "default" },
- appearance = { nerd_font_variant = "mono" },
- signature = { enabled = false },
- completion = {
- documentation = {
- auto_show = false,
- },
- menu = {
- draw = {
- columns = {
- { "label", "label_description", gap = 1 },
- { "kind_icon", "kind", gap = 1 },
- },
- treesitter = { "lsp" },
- },
- },
- },
- sources = {
- default = { "lsp", "path", "snippets", "buffer", "cmdline", "omni" },
- providers = {
- path = {
- score_offset = 25,
- },
- lsp = {
- fallbacks = {},
- score_offset = 20,
- },
- snippets = {
- score_offset = 20,
- },
- buffer = {
- score_offset = 5,
- },
- -- ripgrep = {
- -- module = "blink-ripgrep",
- -- name = "Ripgrep",
- -- opts = {
- -- project_root_marker = { ".git", "flake.nix", "flake.lock" },
- -- backend = {
- -- use = "gitgrep-or-ripgrep",
- -- customize_icon_highlight = false,
- -- },
- -- },
- -- },
- },
- },
- fuzzy = { implementation = "prefer_rust_with_warning" },
- })
- end,
- },
-}