Skip to content

Not correctly parsing my setup config #39

@chris-av

Description

@chris-av

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions