diff options
| author | Joshua Liu <joshua.liu@sourceobby.com> | 2026-08-02 23:13:15 -0400 |
|---|---|---|
| committer | Joshua Liu <joshua.liu@sourceobby.com> | 2026-08-02 23:13:15 -0400 |
| commit | 04dfd76d4aea0a84c837d768a0d7692295f24966 (patch) | |
| tree | ebd38e81792996448b29e486151ce0b9a77f0ef2 /lua | |
| parent | 692428b52339c1d4e0fccd312bf467789d2f1b15 (diff) | |
feat: making this fucking POS work. apparently I needed the autoload directory and cannot use hyphens in the namemaster
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/latex_wordcount.lua (renamed from lua/latex-wordcount.lua) | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lua/latex-wordcount.lua b/lua/latex_wordcount.lua index 01af4ff..e0f0fef 100644 --- a/lua/latex-wordcount.lua +++ b/lua/latex_wordcount.lua @@ -888,7 +888,7 @@ end -- --------------------------------------------------------------------- if vim ~= nil and vim.api ~= nil and vim.api.nvim_create_user_command ~= nil then - vim.api.nvim_create_user_command("MultiLatexWordCount", function(opts) + vim.api.nvim_create_user_command("GetWordCountMulti", function(opts) local config = M.default_config() if opts.args and opts.args ~= "" then local ok, err = pcall(M.load_config, config, opts.args) @@ -904,7 +904,7 @@ if vim ~= nil and vim.api ~= nil and vim.api.nvim_create_user_command ~= nil the end end, { nargs = "?", complete = "file", desc = "Count real (visible) words in the current LaTeX buffer (Including other files)" }) - vim.api.nvim_create_user_command("SingleLatexWordCount", function(opts) + vim.api.nvim_create_user_command("GetWordCountSingle", function(opts) local config = M.default_config() if opts.args and opts.args ~= "" then local ok, err = pcall(M.load_config, config, opts.args) |
