]> git.rmz.io Git - dotfiles.git/commitdiff
nvim/coding: add annotations to nvim-cmp config
authorSamir Benmendil <me@rmz.io>
Wed, 12 Apr 2023 21:15:52 +0000 (22:15 +0100)
committerSamir Benmendil <me@rmz.io>
Tue, 31 Oct 2023 23:08:51 +0000 (23:08 +0000)
nvim/lua/plugins/coding.lua

index 263071dbc127fb61a2fd31b7d178df6ffbe2a95c..a765a79ae258c206207843c4ab7fa35242f035d7 100644 (file)
@@ -12,6 +12,7 @@ return {
   -- auto completion
   {
     "hrsh7th/nvim-cmp",
+    ---@param opts cmp.ConfigSchema
     opts = function(_, opts)
       local has_words_before = function()
         unpack = unpack or table.unpack