about summary refs log tree commit diff
path: root/fnl/nvrc/packs/cmp.fnl
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2022-03-12 14:11:44 +0900
committersefidel <contact@sefidel.net>2022-03-12 14:11:44 +0900
commitbfe3c876513be13f099997ca7b1bdcd91e2f58f7 (patch)
treed0452595dbc66f5c69d3c0fd736009ad13d450f1 /fnl/nvrc/packs/cmp.fnl
parentde95ea87833f04611329339c80d723bde696093f (diff)
downloadnvimrc-bfe3c876513be13f099997ca7b1bdcd91e2f58f7.tar.gz
nvimrc-bfe3c876513be13f099997ca7b1bdcd91e2f58f7.zip
feat(lsp)!: ccls -> clangd
Diffstat (limited to 'fnl/nvrc/packs/cmp.fnl')
-rw-r--r--fnl/nvrc/packs/cmp.fnl2
1 files changed, 2 insertions, 0 deletions
diff --git a/fnl/nvrc/packs/cmp.fnl b/fnl/nvrc/packs/cmp.fnl
index 7e88eea..ef3d5eb 100644
--- a/fnl/nvrc/packs/cmp.fnl
+++ b/fnl/nvrc/packs/cmp.fnl
@@ -7,6 +7,7 @@
         : select_next_item
         : select_prev_item} (require :cmp))
 (local under-compare (require :cmp-under-comparator))
+(local clangd-score (require :clangd_extensions.cmp_scores))
 (local luasnip (require :luasnip))
 
 (set! completeopt "menuone,noselect")
@@ -72,6 +73,7 @@
                       {:name :nvim_lsp_signature_help}]
             :sorting {:comparators [compare.offset
                                     compare.exact
+                                    clangd-score
                                     compare.score
                                     under-compare.under
                                     compare.kind