GithubHelp home page GithubHelp logo

OS not supported about glow.nvim HOT 6 CLOSED

ellisonleao avatar ellisonleao commented on June 19, 2024 1
OS not supported

from glow.nvim.

Comments (6)

Ghasak avatar Ghasak commented on June 19, 2024 2

Hi @mengano-net
I have added a pull request
HotFix
I have used the as you suggested vim.loop.os_uname().sysname
instead jit.os
You can achieve temporarily until get approved the same at
~/.local/share/nvim/site/pack/packer/start/glow.nvim/lua/glow
Simply by changing the line
local raw_os = jit.os
to
local raw_os = vim.loop.os_uname().sysname
I hope this is useful

from glow.nvim.

mengano-net avatar mengano-net commented on June 19, 2024

More details that will hopefully aid troubleshooting

❯ .local/bin/glow --version
glow version 1.4.1 (4863f57)
❯ .local/bin/glow test.md

  This is a test

  test

  italics

  This is a test that I'm writing to see if this dam thing gets wrapped automatically, in fact I'm checking several
  things here.

  This is yet another paragraph that I'm writing to check this thing or this other thing and figure out wrapping

   Header

  ## HEADER 2

    testing

  This is another test that I'm writing in order to test this  GoYo plugin . To be honest, I'm not sure about it

  Does this mean that a new line starts after having a single space left? Nah, that can't be


~
❯```

from glow.nvim.

ellisonleao avatar ellisonleao commented on June 19, 2024

@Ghasak and @mengano-net can you guys show the output for:

:lua vim.pretty_print(jit.os)

not sure why that env is not working for your OS/arch

from glow.nvim.

mengano-net avatar mengano-net commented on June 19, 2024

@Ghasak and @mengano-net can you guys show the output for:

:lua vim.pretty_print(jit.os)

not sure why that env is not working for your OS/arch

"OSX"

from glow.nvim.

mengano-net avatar mengano-net commented on June 19, 2024

Confirmed fix worked, thanks all.

from glow.nvim.

Ghasak avatar Ghasak commented on June 19, 2024

Hi @ellisonleao and @mengano-net
Yes, same for me,
the output of jit.os is OSX not Darwin

from glow.nvim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.