Blackmorse / highline.nvim

Neovim plugin for highlighting the lines
MIT License
0 stars 0 forks source link

module 'highlights' not found: #1

Open mcrajah opened 3 months ago

mcrajah commented 3 months ago

I am trying to build a plugin around your example. I get the following error when loading. I am using

NVIM v0.10.1 Build type: Release LuaJIT 2.1.1720049189

I am also on lunarvim (uses lazy plugin manager). After adding the plugin to my config, your repo got cloned, but then gave the following error. Can you let me know what I could be missing?

Error detected while processing /Users/rajah/.local/share/lunarvim/lvim/init.lua:
E5113: Error while calling lua chunk: vim/_editor.lua:0: /Users/rajah/.local/share/lunarvim/lvim/init.lua..nvim_exe
c2() called at /Users/rajah/.local/share/lunarvim/lvim/init.lua:0..ColorScheme Autocommands for "*": Vim(lua):E5108
: Error executing lua [string ":lua"]:1: module 'highlights' not found:
        no field package.preload['highlights']
cache_loader: module highlights not found
cache_loader_lib: module highlights not found
        no file './highlights.lua'
        no file '/opt/homebrew/share/luajit-2.1/highlights.lua'
        no file '/usr/local/share/lua/5.1/highlights.lua'
        no file '/usr/local/share/lua/5.1/highlights/init.lua'
        no file '/opt/homebrew/share/lua/5.1/highlights.lua'
        no file '/opt/homebrew/share/lua/5.1/highlights/init.lua'
        no file './highlights.so'
        no file '/usr/local/lib/lua/5.1/highlights.so'
        no file '/opt/homebrew/lib/lua/5.1/highlights.so'
        no file '/usr/local/lib/lua/5.1/loadall.so'
stack traceback:
        [C]: in function 'require'
        [string ":lua"]:1: in main chunk
        [C]: in function 'nvim_exec2'
        vim/_editor.lua: in function 'cmd'
        .../rajah/.local/share/lunarvim/lvim/lua/lvim/core/theme.lua:86: in function 'setup'
        .../rajah/.local/share/lunarvim/lvim/init.lua:19: in main chunk
stack traceback:
        [C]: in function 'nvim_exec2'
        vim/_editor.lua: in function 'cmd'
        .../rajah/.local/share/lunarvim/lvim/lua/lvim/core/theme.lua:86: in function 'setup'
        .../rajah/.local/share/lunarvim/lvim/init.lua:19: in main chunk
Press ENTER or type command to continue
Blackmorse commented 2 months ago

Hi, @mcrajah Could you specify please at what time exaclty this error does occur? On the NeoVim startup or while executing :Highline command?