summaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorJoshua Liu <joshua.liu@sourceobby.com>2026-08-02 23:13:15 -0400
committerJoshua Liu <joshua.liu@sourceobby.com>2026-08-02 23:13:15 -0400
commit04dfd76d4aea0a84c837d768a0d7692295f24966 (patch)
treeebd38e81792996448b29e486151ce0b9a77f0ef2 /plugin
parent692428b52339c1d4e0fccd312bf467789d2f1b15 (diff)
feat: making this fucking POS work. apparently I needed the autoload directory and cannot use hyphens in the namemaster
Diffstat (limited to 'plugin')
-rw-r--r--plugin/latex_wordcount.vim (renamed from plugin/latex-wordcount.vim)13
1 files changed, 4 insertions, 9 deletions
diff --git a/plugin/latex-wordcount.vim b/plugin/latex_wordcount.vim
index 1ea85fe..c1c2ff6 100644
--- a/plugin/latex-wordcount.vim
+++ b/plugin/latex_wordcount.vim
@@ -1,4 +1,4 @@
-" Title: latex-wordcount.vim
+" Title: latex_wordcount.vim
" Description: A plugin to provide a more accurate wordcount of a LaTeX
" document
" Last Change: 14 July, 2026
@@ -13,15 +13,10 @@ endif
let g:loaded_latex_wordcount = 1
" Exposes the plugin's functions for use as commands in Vim.
-command! -nargs=0 GetWordCountSingle call latex-wordcount#GetWordCountSingle()
-command! -nargs=0 GetWordCountMulti call latex-wordcount#GetWordCountMulti()
-"command! -nargs=0 AspellCheck call latex-wordcount#AspellCheck()
+command! -nargs=0 GetWordCountSingle call latex_wordcount#GetWordCountSingle()
+command! -nargs=0 GetWordCountMulti call latex_wordcount#GetWordCountMulti()
if !exists('g:json_path')
- let g:json_path= "~/.config"
+ let g:json_path= "~/.config/nvim/cmds.json"
endif
-"
-"if !exists('g:my_plugin_max_items')
-" let g:my_plugin_max_items = 50
-"endif