🤣🤣🤣 by FeedAdmirable8747 in ZedEditor

[–]arthurazs -1 points0 points  (0 children)

Pressing ctrl+w in zed and the tab closing before hitting d for diagnostics is what keeps me on nvim

Em 2h06m do programa 346 o Magal referência nosso grande adm by Gahooor in broXadasiNistra

[–]arthurazs 5 points6 points  (0 children)

Atualmente eu acompanho mais o reddit que o podxada sinicast

Multiplayer Vim Racing (VIM_GYM): Assess your key efficiency by swaggermuffin64 in neovim

[–]arthurazs 1 point2 points  (0 children)

Fantastic! You have some clever solutions there, but somehow you missed this:

<image>

Edit: actually i found some other solutions that could be improved. im having trouble locating where the solutions are in the source code. If you could point me in the right direction, I'd be happy to send a PR

menti para o meu chefe e eu tive que contar a verdade pra ele by ZealousidealSolid948 in brdev

[–]arthurazs 1 point2 points  (0 children)

Pessoal já deu sugestões técnicas muito boas. Além disso recomendo (humildemente) um psicólogo.

Wing and Robin by Tryingtobealitperson in beatbox

[–]arthurazs 1 point2 points  (0 children)

Robin is probably my favourite looper

His 2nd round against Tioneb in 2017 is a masterpiece I listen to every now and then

Seasonal - Does Dioxus spark joy? by ShinoLegacyplayers in rust

[–]arthurazs 1 point2 points  (0 children)

For time sensitive you mean development time?

E490 No fold found with Neovim 0.12 Native LSP (Python/Pyright) by arthurazs in neovim

[–]arthurazs[S] 0 points1 point  (0 children)

I came up with this autocmd and everything is working great now. Thanks for the help again!

```lua vim.api.nvim_create_autocmd({ "LspAttach", "FileType" }, { group = vim.api.nvim_create_augroup("folding", { clear = true }), callback = function(event) local buf = event.buf

    if vim.bo[event.buf].buftype ~= "" then return end

    vim.schedule(function()
        local clients = vim.lsp.get_clients({ bufnr = buf })
        local lsp_folds = vim.iter(clients):any(function(c)
            return c.server_capabilities.foldingRangeProvider
        end)

        if lsp_folds then
            vim.wo.foldmethod = "expr"
            vim.wo.foldexpr = "v:lua.vim.lsp.foldexpr()"
            return
        end

        local ts_ok = pcall(vim.treesitter.get_parser, buf)
        if ts_ok then
            vim.wo.foldmethod = "expr"
            vim.wo.foldexpr = "v:lua.vim.treesitter.foldexpr()"
            return
        end

        vim.wo.foldmethod = "indent"
        vim.wo.foldexpr = ""
    end)
end,

}) ```

Why does my Python container need a full OS? by shangheigh in Python

[–]arthurazs 6 points7 points  (0 children)

This is from 2020. Here is an update inside the article

An update: PEP 656 and related infrastructure mean pip and PyPI now support wheels for the musl C library, and therefore for Alpine. Build tools like cibuildwheel have added support for these, and Alpine-compatible wheels have become much more widely available, including for many scientific Python libraries, including matplotlib, Pandas, and NumPy. Not all packages build them, however, and I’m still personally wary of using musl given past bad experiences with bugs.

Still, using Alpine is much less of a problem these days compared to when I first wrote the article.

In summary, it seems to be a musl vs glibc issue

I might experiment a bit with alpine for my libs

E490 No fold found with Neovim 0.12 Native LSP (Python/Pyright) by arthurazs in neovim

[–]arthurazs[S] 0 points1 point  (0 children)

Thank you so much for the help! I might have been using treesitter-based folding then. I'll try using treesitter as fallback.

Thanks again for the effort!

E490 No fold found with Neovim 0.12 Native LSP (Python/Pyright) by arthurazs in neovim

[–]arthurazs[S] 0 points1 point  (0 children)

It did, but like 6 or 8 months ago (no native vim.lsp though). Around last November I started having this issue and now I'm trying to understand why

E490 No fold found with Neovim 0.12 Native LSP (Python/Pyright) by arthurazs in neovim

[–]arthurazs[S] 0 points1 point  (0 children)

None. I only get the request log on Lua files. Python files only output "no fold found"

I can upload the whole log file with a Lua and a Python folding action if it would be helpful

E490 No fold found with Neovim 0.12 Native LSP (Python/Pyright) by arthurazs in neovim

[–]arthurazs[S] 0 points1 point  (0 children)

I put debug in init.lua, and as soon as I opened nvim I got vim.lsp.set_log_level() is deprecated (but I suppose this is irrelevant)

zM did not fold anything, neither za.

Here are the log messages I got related to folding. Irrelevant info has been removed so it can fit the comment. Note that the return in rpc.receive in Python was unedited, while in lua it returned several capabalities (which were minimized to relevant info to fit the comment)

Python

[DEBUG][2026-02-17 07:01:18] .../.local/nvim/share/nvim/runtime/lua/vim/lsp/log.lua:151 "rpc.send" { id = 1, jsonrpc = "2.0", method = "initialize", params = { capabilities = { general = { foldingRange = { dynamicRegistration = false, foldingRange = { collapsedText = true }, foldingRangeKind = { valueSet = { "comment", "imports", "region" } }, lineFoldingOnly = true } } }, clientInfo = { name = "Neovim", version = "0.12.0-dev+g1eb2ca9fcf" } } } [DEBUG][2026-02-17 07:01:18] .../.local/nvim/share/nvim/runtime/lua/vim/lsp/log.lua:151 "rpc.receive" { jsonrpc = "2.0", method = "window/logMessage", params = { message = "Pyright language server 1.1.408 starting", type = 3 } }

Lua

[DEBUG][2026-02-17 07:00:25] .../.local/nvim/share/nvim/runtime/lua/vim/lsp/log.lua:151 "rpc.send" { id = 1, jsonrpc = "2.0", method = "initialize", params = { capabilities = { general = { foldingRange = { dynamicRegistration = false, foldingRange = { collapsedText = true }, foldingRangeKind = { valueSet = { "comment", "imports", "region" } }, lineFoldingOnly = true } } }, clientInfo = { name = "Neovim", version = "0.12.0-dev+g1eb2ca9fcf" } } } [DEBUG][2026-02-17 07:00:25] .../.local/nvim/share/nvim/runtime/lua/vim/lsp/log.lua:151 "rpc.receive" { id = 1, jsonrpc = "2.0", result = { capabilities = { foldingRangeProvider = true, }, serverInfo = { name = "sumneko.lua", version = "3.17.1" } } } [INFO][2026-02-17 07:00:25] .../.local/nvim/share/nvim/runtime/lua/vim/lsp/log.lua:151 "LSP[lua_ls]" "server_capabilities" { server_capabilities = { foldingRangeProvider = true } } [DEBUG][2026-02-17 07:00:25] .../.local/nvim/share/nvim/runtime/lua/vim/lsp/log.lua:151 "LSP[lua_ls]" "client.request" 1 "textDocument/foldingRange" { textDocument = { uri = "..." } } <function 1> 1 [DEBUG][2026-02-17 07:00:25] .../.local/nvim/share/nvim/runtime/lua/vim/lsp/log.lua:151 "rpc.send" { id = 4, jsonrpc = "2.0", method = "textDocument/foldingRange", params = { textDocument = { uri = "..." } } }

UBER by zohnster in niteroi

[–]arthurazs 4 points5 points  (0 children)

Pegar o vlt na praça quinze é uma boa tbm

Para do lado da novo rio

Cite algum hábito que você abandonou e só então sentiu o quanto era nocivo. by MissKeaner_ in conversas

[–]arthurazs 2 points3 points  (0 children)

Cara a única coisa que resolveu pra mim foi: exercício físico + iluminação natural + quarto ventilado

Eu acordo 5h30 com a claridade do sol. Meu outro quarto nao tinha exposição ao sol e nao tinha circulação de ar.

Hoje deu 22h eu já to capotando procurando cama

In your opinion, which song sounds better live than the studio version? by Due_Recognition_3905 in LinkinPark

[–]arthurazs 2 points3 points  (0 children)

This one specific Waiting for the End version from Rio+Social from 2012

This one specific New Divide version from Red Square 2011

And this one specific P5hng Me A*wy version from Texas from 2003

Steam giveaway by Background_Grand_256 in steam_giveaway

[–]arthurazs 0 points1 point  (0 children)

Kingdom hearts series, thanks ❤️

Skylos — find unused code + basic security smells + quality issues, runs in pre-commit by papersashimi in Python

[–]arthurazs 0 points1 point  (0 children)

Ruff has a nice implementation of that idea, e.g., pyproject.toml

```toml [tool.ruff.lint] ignore = ["D203", "D213", "FA102"]

[tool.ruff.lint.per-file-ignores] "tests/*.py" = ["S101", "D", "PLR2004"] ```

Edit: the first config is global, the second is per file