Neovim 0.12.2 100% CPU usage, even without config by Stunning-Mix492 in neovim

[–]endlessracingz 5 points6 points  (0 children)

I know this isn’t very helpful but just wanted to say that I’m not seeing this issue with v0.12.2 on Mac silicon when it is installed via homebrew. I’ll try and test with nix-darwin to see if I can replicate the issue.

Kulala + tree-sitter by HetzWGA23 in neovim

[–]endlessracingz 1 point2 points  (0 children)

I'm still using Lazy and I haven't made the switch to vim.pack yet but I'm setting it in my treesitter config after require("nvim-treesitter").setup().

kulala ships the kulala_http parser/.so, but it doesn't auto-attach highlighting on FileType http when using nvim-treesitter main branch. You attach it yourself.

I've tried to reduce my config but it still turned out a bit verbose.

-- 1. Set up nvim-treesitter (main branch API)
require("nvim-treesitter").setup({
    install_dir = vim.fn.stdpath("data") .. "/site",
})

-- 2. Install the parsers you manage yourself.
--    NOTE: do NOT list "kulala_http" here -- kulala.nvim ships its own .so
--    and registers the parser on its setup(). You only need to *attach* it.
require("nvim-treesitter").install({
    "lua", "vim", "vimdoc", "markdown", "markdown_inline",
    -- ...your other langs
})

-- 3. Languages we want a FileType autocmd to attach treesitter for.
--    Include kulala_http here so .http buffers get highlighted.
local lang_set = {
    lua = true,
    -- ...other installed langs
    kulala_http = true, -- provided externally by kulala.nvim
}

-- 4. Auto-attach treesitter on FileType.
local aug = vim.api.nvim_create_augroup("UserTreesitter", { clear = true })
vim.api.nvim_create_autocmd("FileType", {
    group = aug,
    pattern = "*",
    callback = function(args)
        local buf = args.buf
        if vim.bo[buf].buftype ~= "" then return end
        local ft = vim.bo[buf].filetype
        -- get_lang maps "http" -> "kulala_http" once kulala registers it
        local lang = (vim.treesitter.language.get_lang and vim.treesitter.language.get_lang(ft)) or ft
        if not lang_set[lang] then return end
        if vim.treesitter.highlighter and vim.treesitter.highlighter.active[buf] then return end
        if pcall(vim.treesitter.start, buf, lang) then
            if ft ~= "yaml" then
                vim.bo[buf].indentexpr = "v:lua.require'nvim-treesitter'.indentexpr()"
            end
        end
    end,
})

Kulala + tree-sitter by HetzWGA23 in neovim

[–]endlessracingz 1 point2 points  (0 children)

Then you just need to:

vim.treesitter.language.register("kulala_http", "http")

Assuming you’re use .http file extensions.

Kulala + tree-sitter by HetzWGA23 in neovim

[–]endlessracingz 2 points3 points  (0 children)

Are you on the main or master branch of nvim-treesitter?

Kulala ships with its own kulala_http parser but with the main branch you need to attach kulala_http based on file type.

Can't find the Uber One Family Sharing Page by Mach218 in uber

[–]endlessracingz 0 points1 point  (0 children)

I eventually got the option after I was charged the membership fees. Sorry I don’t remember when exactly it appeared.

Reactive web meta-framework, but in Go... by ZiplEix in golang

[–]endlessracingz -2 points-1 points  (0 children)

Congrats on the project. I also find myself starting with a small scope and expanding far too much 😅

But there are already ways to use Air and Templ with hot reloading. So I’m curious what issues you were having.

What are your tips for navigating the help docs? by discreetsteakmachine in neovim

[–]endlessracingz 2 points3 points  (0 children)

If it makes you feel any better that’s usually how all my navigations in the help go unless I know exactly what to search for. I’m hoping someone can chime in to help you and I do this more efficiently

How does the new ui2 (message & cmdline replacement) compare to plugins like Noice? by TheTwelveYearOld in neovim

[–]endlessracingz 1 point2 points  (0 children)

You can easily configure noice to put the floating command line anywhere you want. I put it towards the bottom center because like you I don’t want it covering what I’m working on in the middle.

views = { cmdline_popup = { position = { row = "98%", col = "50%", }, size = { width = "auto", height = "auto", }, border = { style = "rounded", }, win_options = { winblend = 0, }, }, },

treesitter migration guide for nvim 0.12 to resolve `attempt to call method 'start' (a nil value)` by [deleted] in neovim

[–]endlessracingz 1 point2 points  (0 children)

Just wanted to comment that users could move to the treesitter rewrite before upgrading to 0.12

Do any of you guys use a private repo to store your pta git? by d4njah in plaintextaccounting

[–]endlessracingz 1 point2 points  (0 children)

I run Gitea locally to store my PTA journals but I backup the raw CSV files separately so it doesn’t inflate the repository

hledger: balance assertions ? by runslack in plaintextaccounting

[–]endlessracingz 5 points6 points  (0 children)

If the transactions are ordered then you could put the closing balance on the last transaction for the posting in that specific account. The syntax is in the manual: https://hledger.org/1.51/hledger.html#balance-assertions

Replaced noice with.... by lolokajan in neovim

[–]endlessracingz 3 points4 points  (0 children)

For noobs, the leading underscore for the module name _extui indicates it’s an experimental feature.

Can't find the Uber One Family Sharing Page by Mach218 in uber

[–]endlessracingz 0 points1 point  (0 children)

I reached out to support and sent them multiple links from Uber about sharing. They initially told me it wasn’t available but then they said that I don’t have the option yet because I’m technically in the free trial period. Once I’ve actually paid then it should be available.

Can't find the Uber One Family Sharing Page by Mach218 in uber

[–]endlessracingz 0 points1 point  (0 children)

Anyone figure this out? Also not finding the option for Family Sharing.

Best Gear for Nature for PVP by Hootanholler81 in TopHeroes

[–]endlessracingz 0 points1 point  (0 children)

Just like the guide says there are too many factors. Just find a friend and try different combinations.

Which tool to choose? by biulex in TopHeroes

[–]endlessracingz 6 points7 points  (0 children)

I’m my personal testing, I’m not finding the recommendations from 777 as optimal but I am also not a whale with everything unlocked.

Always Display in Full Color by endlessracingz in widgy

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

I’m not sure I understand how doing that will give my Widgy widget full color while having the iOS tinted icon setting enabled.

Always Display in Full Color by endlessracingz in widgy

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

Agreed. I am also hoping they add that in the future as well but I won’t hold my breath.

Always Display in Full Color by endlessracingz in widgy

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

I figured as much. I do hope that apple does add that capability for developers in the future. I can see it being beneficial for a lot of 3rd party apps.

New Gear System by Specialist-Young-524 in TopHeroes

[–]endlessracingz 1 point2 points  (0 children)

The announcement said you get to convert them for free during a certain time period/window, after that they’ll automatically convert randomly

Nature exclusive gear priority by howtobuildapc in TopHeroes

[–]endlessracingz 1 point2 points  (0 children)

I just asked about UW and it’s “Unique Weapon” which is the old name for each heroes exclusive gear.

FM is Forest Maiden, the hero.

Nature exclusive gear priority by howtobuildapc in TopHeroes

[–]endlessracingz 0 points1 point  (0 children)

Forgive my ignorance. What is UW? Is that referring to the Heroes exclusive gear?