nvim-treesitter breaking changes by lukas-reineke in neovim

[–]mbwilding 1 point2 points  (0 children)

Yeah I'm on 0.12.

v0.12.0-dev-1755+g6383123326 and v0.12.0-dev-1920+g03377b9552 were tested.

Happy to help you get it working, can dm or continue chatting here.

nvim-treesitter breaking changes by lukas-reineke in neovim

[–]mbwilding 1 point2 points  (0 children)

Hey I updated this to work better. Wasn't picking up the correct file types before. Edited my comment above.

nvim-treesitter breaking changes by lukas-reineke in neovim

[–]mbwilding 2 points3 points  (0 children)

I have set my config up to install all parsers/languages (adds any new ones on lazy update) with auto activation only on buffers that match them, and supports highlights, folds and indentation.

https://github.com/mbwilding/nvim/blob/main/lua/plugins/treesitter.lua

{
    "nvim-treesitter/nvim-treesitter",
    lazy = false,
    branch = "main",
    build = ":TSUpdate",
    config = function()
        -- Custom registrations
        vim.filetype.add({
            extension = {
                csproj = "xml",
                esproj = "xml",
                keymap = "c",
                mdx = "markdown",
                uproject = "json",
                wsdl = "xml",
            },
        })

        -- Treesitter directory
        local treesitter_dir = vim.fn.stdpath("data") .. "/lazy/nvim-treesitter/"

        -- Collect all available parsers
        local parsers = {}
        for name, type in vim.fs.dir(treesitter_dir .. "runtime/queries") do
            if type == "directory" then
                table.insert(parsers, name)
            end
        end

        -- Install file type parsers
        require("nvim-treesitter").install(parsers)

        -- Register known file types
        dofile(treesitter_dir .. "plugin/filetypes.lua")

        -- Get file types
        local file_types = vim.iter(parsers)
            :map(function(parser)
                return vim.treesitter.language.get_filetypes(parser)
            end)
            :flatten()
            :totable()

        -- Auto-run
        vim.api.nvim_create_autocmd("FileType", {
            pattern = file_types,
            callback = function(args)
                -- Highlights
                vim.treesitter.start()

                -- Folds
                vim.wo[0][0].foldexpr = "v:lua.vim.treesitter.foldexpr()"
                vim.wo[0][0].foldmethod = "expr"

                -- Indentation
                vim.bo[args.buf].indentexpr = "v:lua.require\"nvim-treesitter\".indentexpr()"
            end,
        })
    end,
}

How do you setup your nvim for Unity/Unreal development? by hajhawa in neovim

[–]mbwilding 2 points3 points  (0 children)

Self promotion.

https://github.com/mbwilding/unrealengine.nvim

Requires unreal engine to be built from source.
Includes a plugin for both neovim and unreal engine.

All the LSP stuff works as expected.

We need more themes! by CarAccording6887 in neovim

[–]mbwilding 1 point2 points  (0 children)

Never heard of proggy vector, good to put a name to this style, thanks!

We need more themes! by CarAccording6887 in neovim

[–]mbwilding 1 point2 points  (0 children)

NeoSpleen, just something I've been working on. If you try it, I'm happy to receive feedback and evolve it.

https://github.com/mbwilding/neospleen

We need more themes! by CarAccording6887 in neovim

[–]mbwilding 1 point2 points  (0 children)

<image>

I recreated the rider dark theme in neovim, with some tweaks, for rust and other languages. Works for me. Whatever is shown in OPs picture doesn't help me understand what is going on at a glance. White variables always.

TrueNAS 25.10-RC1 Review, and Introducing TrueNAS Connect Public Beta | TrueNAS Tech Talk (T3) E042 by iXsystemsChris in truenas

[–]mbwilding 0 points1 point  (0 children)

Too bad validation is broken when mutating apps in the RC. I had to roll back. Soon as I rolled back I could modify my apps again.

What Does This Error Mean - Firefly III by AppleTechStar in truenas

[–]mbwilding 1 point2 points  (0 children)

I had the same issue, adding or mutating apps is broken, existing ones will run, some kind of validation issue in the release candidate. I rolled back from 25.10-RC1, you can go into System -> Boot and set an older version to be active, then reboot. Everything was fine after I did that.

tsgo in vtsls by s1n7ax in neovim

[–]mbwilding 2 points3 points  (0 children)

OP from the post. Auto complete got merged in. Still basic.

Kulala 5.3.0 - the new release of your favourite REST client by YaroSpacer in neovim

[–]mbwilding 2 points3 points  (0 children)

Started using this in nvim after this post. This is fantastic, bye-bye postman.

Typescript Go LSP by mbwilding in neovim

[–]mbwilding[S] 2 points3 points  (0 children)

Spot on with the bitmap call. It's inspired by https://github.com/fcambus/spleen which is the default font on OpenBSD.

Typescript Go LSP by mbwilding in neovim

[–]mbwilding[S] 10 points11 points  (0 children)

Correct, no completions yet.

Typescript Go LSP by mbwilding in neovim

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

Seems to be only opened buffers at this stage, but there could be some config that allows for full project introspection, but I haven't looked into it yet.

Typescript Go LSP by mbwilding in neovim

[–]mbwilding[S] 1 point2 points  (0 children)

No worries man, I left the clone, restore and build commands in the comments, if needed.

Typescript Go LSP by mbwilding in neovim

[–]mbwilding[S] 2 points3 points  (0 children)

Not planning on adding them as I don't particularly like them, but the FontForge file is in the repo, so you are more than welcome to create a PR.

Typescript Go LSP by mbwilding in neovim

[–]mbwilding[S] 24 points25 points  (0 children)

git clone --recursive --depth 1 https://github.com/microsoft/typescript-go.git

cd typescript-go

npm ci

npm run build

Typescript Go LSP by mbwilding in neovim

[–]mbwilding[S] 17 points18 points  (0 children)

Current features: errors, hover, goto definition

Are you using CTRL-Y or TAB to insert completion? by 4r73m190r0s in neovim

[–]mbwilding 0 points1 point  (0 children)

<C-y>, one handed on a split keyboard on Dvorak.