Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not correctly parsing my setup config #39

Open
chris-av opened this issue Jul 16, 2023 · 4 comments
Open

Not correctly parsing my setup config #39

chris-av opened this issue Jul 16, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@chris-av
Copy link

chris-av commented Jul 16, 2023

Hello! Really love this plug in!! Was working maybe a year ago perfectly. Now it won't work. Whether I do the regular installation or building from source. The bug is consistent on two different machines: on a 2016 MacBook Pro, and on a Lenovo Thinkpad running Arch Linux.

Here is my Arch machine stats in case that matters:

OS: Arch Linux x86_64 
Host: 20S1S2FB00 ThinkPad T14 Gen 1 
Kernel: 6.4.1-arch1-1 
Terminal: kitty 
CPU: Intel i5-10310U (8) @ 4.400GHz 
GPU: Intel CometLake-U GT2 [UHD Graphics] 

NVIM: v0.9.1

I am using the bare minimum config. Doesn't matter if I do require('silicon').setup() or if I feed it an actual table with valid options, the behavior is the same. For now I am using this minimal config copied from the readme:

require('silicon').setup({
  font = 'FantasqueSansMono Nerd Font=16',
  theme = 'Monokai Extended',
})

I noticed two different behaviors:

  1. When doing the regular installation, neovim merely crashes. No error or output. Running nvim file will flash a blank screen and quickly exit neovim. :
silicon-err.mov
  1. When I build from source, neovim actually throws an error like this:

swappy-20230716_003509

use {
    'krivahtoo/silicon.nvim',
    run = './install.sh',                 # installing this way yields behavior 1)
    run = './install.sh build',           # installing this way yields behavior 2)
}

You can find my neovim config here and see how I am importing silicon. When building, it builds to completion. Error only shows if I import the silicon package and it breaks no matter what I put in the config.

Thanks again for the wonderful plug in!

@ozwaldorf
Copy link

Having issues also with a similar setup:

OS: Arch Linux x86_64
Kernel: 6.3.5-arch1-1
NVIM: 0.9.1

The issue is the exact same, silently crashes nvim when installed via the binary mode, and the string/boolean type error when using the build mode

@stefanlogue
Copy link

Running into this issue when building from source also on an M1 Pro MacBook Pro, NVIM 0.9.1

@krivahtoo krivahtoo added the bug Something isn't working label Aug 7, 2023
@krivahtoo
Copy link
Owner

Thanks @chris-av for reporting this.
I have been busy for the past few months, I haven't been able to work on silicon.nvim.
I think this is related to the Neovim version, currently silicon.nvim works on nightly builds. I will create a new branch for 0.9.

@tulgeywood
Copy link

Any chance this might get a fix or workaround?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants