diff options
| author | theprimeagain <the.primeagen@gmail.com> | 2026-02-04 08:11:36 -0700 |
|---|---|---|
| committer | theprimeagain <the.primeagen@gmail.com> | 2026-02-04 08:11:36 -0700 |
| commit | 1a9f9ee7284ca5aefc87398cacf656c20d7658c3 (patch) | |
| tree | 6fb0a88b5dc7103283da080882e6f41ba9b8e543 /lua/99/extensions | |
| parent | 89b39ed2455aaf1505d4541930afda112bb8a693 (diff) | |
| download | a4-1a9f9ee7284ca5aefc87398cacf656c20d7658c3.tar.xz a4-1a9f9ee7284ca5aefc87398cacf656c20d7658c3.zip | |
prevent cmp from being required
Diffstat (limited to 'lua/99/extensions')
| -rw-r--r-- | lua/99/extensions/init.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lua/99/extensions/init.lua b/lua/99/extensions/init.lua index a6e2bd6..debc1a8 100644 --- a/lua/99/extensions/init.lua +++ b/lua/99/extensions/init.lua @@ -1,5 +1,3 @@ -local cmp = require("99.extensions.cmp") - --- @class _99.Extensions.Source --- @field init_for_buffer fun(_99: _99.State): nil --- @field init fun(_99: _99.State): nil @@ -13,6 +11,7 @@ local function get_source(completion) end local source = completion.source if source == "cmp" then + local cmp = require("99.extensions.cmp") return cmp end end |
