Dkendal / nvim-treeclimber

Neovim structured editing plugin
Apache License 2.0
163 stars 3 forks source link

Immediate error (hsl) #5

Closed brycepg closed 1 year ago

brycepg commented 1 year ago

For any users here encountering this error I'm looking into this as an alternative: https://github.com/ziontee113/syntax-tree-surfer

This error occurs with lush when setup is called

Would love to see a working treesitter plugin (ASTs rock). This plugin looks rad, hopefully it can be polished up

E5113: Error while calling lua chunk: ...cal/nvim-data/lazy/lush.nvim/lua/lush/vivid/hsl_like.lua:284: hsl() expects (number, number, number) or (string)
stack traceback:
        [C]: in function 'assert'
        ...cal/nvim-data/lazy/lush.nvim/lua/lush/vivid/hsl_like.lua:284: in function 'hsl'
        ...m-data/lazy/nvim-treeclimber/lua/nvim-treeclimber/hi.lua:57: in main chunk
        [C]: in function 'require'
        ...nvim-data/lazy/nvim-treeclimber/lua/nvim-treeclimber.lua:11: in function 'setup'
        C:\Users\Bryce\AppData\Local\nvim\init.lua:382: in main chunk
Press ENTER or type command to continue
:version                                                                                                                NVIM v0.9.1                                                                                                             Build type: RelWithDebInfo                                                                                              LuaJIT 2.1.0-beta3                                                                                                      Compilation: C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe /MD /Zi /O2 /Ob1  -W3 -wd4311 -wd4146 -DUNIT_TESTING -D_CRT_SECURE_NO_WARNINGS -D_CRT_NONSTDC_NO_DEPRECATE -D_WIN32_WINNT=0x0602 -DMSWIN -DINCLUDE_GENERATED_DECLARATIONS -ID:/a/neovim/neovim/.deps/usr/include/luajit-2.1 -ID:/a/neovim/neovim/.deps/usr/include -ID:/a/neovim/neovim/.deps/usr/include -ID:/a/neovim/neovim/build/src/nvim/auto -ID:/a/neovim/neovim/build/include -ID:/a/neovim/neovim/build/cmake.config -ID:/a/neovim/neovim/src -ID:/a/neovim/neovim/.deps/usr/include -ID:/a/neovim/neovim/.deps/usr/include -ID:/a/neovim/neovim/.deps/usr/include -ID:/a/neovim/neovim/.deps/usr/include -ID:/a/neovim/neovim/.deps/usr/include -ID:/a/neovim/neovim/.deps/usr/include -ID:/a/neovim/neovim/.deps/usr/include                                                                                                                               system vimrc file: "$VIM\sysinit.vim"                                                                                  fall-back for $VIM: "C:/Program Files (x86)/nvim/share/nvim"                                                                                                                                                                                  Run :checkhealth for more info
Dkendal commented 1 year ago

Hi, thanks for the report. I'm looking into removing the lush dependency soon.

Dkendal commented 1 year ago

I'm quite busy at the moment but I plan on doing this mid July.

Dkendal commented 1 year ago

This is fixed on main now, Lush is no longer a dependency.