Skip to content

Error on uncomment #187

Description

@yuntan

Following error occurred when uncommenting lines.

[Vim(if):E5108: Error executing lua /Users/yuto/.local/share/nvim/plugged/caw.vim/lua/caw.lua:26: attempt to index field 'hl_map' (a nil val
ue)<00>stack traceback:<00><09>/Users/yuto/.local/share/nvim/plugged/caw.vim/lua/caw.lua:26: in function 'has_syntax'<00><09>[string "luaeva
l()"]:1: in main chunk]::[function caw#keymapping_stub[78]..66[11]..71[2]..68[2]..58[4]..69, line 9]

sample code:

// set ft=typescript
    const timer = setInterval(() => {
      if (!replayRef.current?.contentWindow) {return;}
      // replayRef.current?.contentWindow?.addEventListener("message", (ev) => {
      //   if (ev.origin === `${location.protocol}//${location.host}`) {
      //     console.log(ev.data);
      //     window.postMessage(ev.data, "*");
      //   }
      // });
      clearInterval(timer);
    }, 100);
スクリーンショット 2023-08-04 19 37 27

neovim: v0.9.1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions