try to fix snippets

This commit is contained in:
Barrett Ruth 2025-09-15 12:43:24 -04:00
parent 20b058f034
commit 35008bea32
4 changed files with 100 additions and 5 deletions

View file

@ -14,7 +14,7 @@ end, {
desc = "Competitive programming helper",
complete = function(ArgLead, CmdLine, _)
local languages_module = require("cp.languages")
local languages = languages_module.all
local languages = vim.tbl_keys(languages_module.canonical_filetypes)
if ArgLead:match("^--lang=") then
local lang_completions = {}