oscar

joined 1 year ago
[–] oscar@programming.dev 6 points 5 months ago (13 children)

Are you using treesitter? I think that has an option to handle indentation, but I'm not sure if it's enabled by default.

[–] oscar@programming.dev 3 points 5 months ago

nam is assigned the value returned by input.

This is not some edge case behavior by the input function. This is always how function calls work. You can think of it like substituting input('Who are you? ') with the value returned by it, which is the string typed in by the user in this case.

[–] oscar@programming.dev 1 points 5 months ago* (last edited 5 months ago) (1 children)

How did you install neovim? If you installed from source, double check that you followed the instructions, i.e. install build dependencies and then run:

make CMAKE_BUILD_TYPE=RelWithDebInfo
sudo make install

Also, double check the version of nvim in your PATH matches:

nvim --version
[–] oscar@programming.dev 1 points 5 months ago

Drop oh-my-zsh and look for something else to customize your prompt. I like Powerlevel10k but Starship is good too.

[–] oscar@programming.dev 2 points 5 months ago

C is a pretty simple language and relatively easy to learn. But it's a lot harder to be proficient with.

[–] oscar@programming.dev 1 points 6 months ago (1 children)

(Preface: i dont know much about this)

mkdev.h is not available in arch either. I even tried searching the repos with pacman -F mkdev.h.

Looking up makedev (which I'm assuming is the lib that cpio uses from it) it seems that it is available in sysmacros.h for linux and mkdev.h for solaris, see for example: https://patchwork.kernel.org/project/dri-devel/patch/1436377303-28355-1-git-send-email-alan.coopersmith@oracle.com/

So I tried just commenting that include out but got a bunch of other errors about multiple definitions of some enums (defined in cpio.h), and so I gave up.

I don't like GNU either but I went the more free route of BSD instead.

[–] oscar@programming.dev 1 points 7 months ago

Can't they just use JSDoc?

[–] oscar@programming.dev 5 points 8 months ago (3 children)

By the same argument, wouldn't GPL and other copyleft licenses be considered non-free as well since you are not free to do whatever you want with the source? For example, incorporating it into a proprietary project, refusing to provide the source to users upon request, or not disclosing attribution, etc. The latter would even go against the terms of permissive licenses.

Clearly defining what free, and by extension FOSS, means is very relevant.

[–] oscar@programming.dev 1 points 8 months ago (1 children)

It seems that no lua is packaged with pandoc-cli (By looking at the package contents of https://archlinux.org/packages/extra/x86_64/pandoc-cli/)

So if I were you I would first try the AUR and see if there's any package there that does.

view more: ‹ prev next ›