[t-vim] doesn't load, can't find `module-catcodes`
Greetings, I have been using `t-vim` more or less extensively and I have found that in some recent update it stopped loading. It fails to find and load `module-catcodes`, which apparently defines `\(un)protectmodulecatcodes`. Is there a workaround? I have tried replacing the special (un)protects with regular ones, but it didn't seem to get me further. Kirill
I have been using `t-vim` more or less extensively and I have found that in some recent update it stopped loading. It fails to find and load `module-catcodes`, which apparently defines `\(un)protectmodulecatcodes`. Is there a workaround? I have tried replacing the special (un)protects with regular ones, but it didn't seem to get me further.
Can you double check if the module is installed correctly? I tested on a new machine with the following test file (I use neovim rather than vim as I don't have vim installed here) and everything works fine. \usemodule[vim] \setupvimtyping[vimcommand=nvim] \definevimtyping[JULIA][syntax=julia] \starttext \startJULIA print("Hello world") \stopJULIA \stoptext Aditya
I have just reinstalled ConTeXt and the module in hopes I was missing a file for whatever reason. The steps I took are: - Deleted last installation's folder; - Got the ConTeXt LMTX archive from the installation page on PRAGMA ADE's website and extracted it; - Ran the installation script after making it executable; - Ran `mtxrun --generate` and `context --make` just in case; - Went into <ConTeXt root>/tex and ran `mtxrun --script install-modules --install vim`. Unfortunately, the issue hasn't been fixed. I tried compiling a test document that just loads the module and has some text and it fails on the `\usemodule`. The compilation log says that `vim` is loaded, `syntax-highlight` and `syntax-groups` are loaded, but it could not find `filter` and `module-catcodes`. Should there perhaps be a `t-module-catcodes` (and/or `t-filter`) file somewhere within module files? I have ConTeXt version 2024.12.30 16:14.
Am 04.02.25 um 08:15 schrieb Kirill Davidov:
Unfortunately, the issue hasn't been fixed. I tried compiling a test document that just loads the module and has some text and it fails on the `\usemodule`. The compilation log says that `vim` is loaded, `syntax-highlight` and `syntax-groups` are loaded, but it could not find `filter` and `module-catcodes`. Should there perhaps be a `t-module- catcodes` (and/or `t-filter`) file somewhere within module files? I have ConTeXt version 2024.12.30 16:14.
The vim module requires the filter module (also by Aditya), install it. Hraban
Yup, I was just missing `filter` as a dependency. Installed that and it works now. Thanks!
participants (3)
-
Aditya Mahajan
-
Henning Hraban Ramm
-
Kirill Davidov