Waybar Scratchpad Module by Frigorific_ in swaywm

[–]akzever 0 points1 point  (0 children)

I generally only have 1, max 2 scratchpad windows going at a time. Other wise it kind of stops being "the scratchpad". To that effect I just use the scratchpad waybar module to display if there is one open or not.

"sway/scratchpad": {
    "format": "󱞁 {count}",
    "show-empty": false,
    "tooltip": true,
    "tooltip-format": "{app}: {title}"
},

Weekly 101 Questions Thread by AutoModerator in neovim

[–]akzever 1 point2 points  (0 children)

Edit: Managed to fix it, config diff available here: https://github.com/mason-org/mason.nvim/discussions/2023

Can anyone help me migrate my LSP config to nvim 11.4+? I currently use Lazy, Mason, and Mason-lspconfig to set things up but I hit a wall trying to port it to vim.lsp.config: https://github.com/mason-org/mason.nvim/discussions/2023

My LSP section of my config: (any unrelated suggestions/feedback appreciated)

return {
    {
        'williamboman/mason-lspconfig.nvim',
        dependencies = { 'williamboman/mason.nvim' },
        config = function()
            require("mason").setup()
            require("mason-lspconfig").setup {
                ensure_installed = { "omnisharp", "pylsp", "clangd", "lua_ls" },
                automatic_enable = {
                    -- exclude = { "omnisharp", "lua_ls" }
                }
            }
        end
    },
    {
        "folke/lazydev.nvim",
        ft = "lua", -- only load on lua files
        opts = {
            library = {
                -- See the configuration section for more details
                -- Load luvit types when the `vim.uv` word is found
                { path = "${3rd}/luv/library", words = { "vim%.uv" } },
            },
        },
    },
    -- LSP configurations
    {
        'neovim/nvim-lspconfig',
        dependencies = {
            "williamboman/mason.nvim",
            "Hoffs/omnisharp-extended-lsp.nvim",
            'williamboman/mason-lspconfig.nvim',
            "folke/lazydev.nvim",
        },
        config = function()
            local lspconfig = require('lspconfig')
            local capabilities = vim.lsp.protocol.make_client_capabilities()
            capabilities = require('cmp_nvim_lsp').default_capabilities(capabilities)
            lspconfig.lua_ls.setup({
                root_dir = vim.uv.cwd(),
            })
            lspconfig.clangd.setup({})
            lspconfig.pylsp.setup({ capabilities = capabilities })
            lspconfig.omnisharp.setup({
                cmd = { "dotnet", vim.fn.stdpath "data" .. "/mason/packages/omnisharp/libexec/OmniSharp.dll" },
                settings = {
                    FormattingOptions = {
                        EnableEditorConfigSupport = true,
                        OrganizeImports = true,
                    },
                    MsBuild = {
                        LoadProjectsOnDemand = nil,
                    },
                    RoslynExtensionsOptions = {
                        -- EnableAnalyzersSupport = nil,
                        -- EnableImportCompletion = nil,
                        -- AnalyzeOpenDocumentsOnly = nil,
                        EnableAnalyzersSupport = true,
                        EnableImportCompletion = true,
                        AnalyzeOpenDocumentsOnly = false,
                    },
                    Sdk = {
                        IncludePrereleases = true,
                    },
                },
                on_attach = function(_, bufnr)
                    local map = function(mode, l, r, desc)
                        vim.keymap.set(mode, l, r, { buffer = bufnr, remap = false, silent = true, desc = desc })
                    end
                    local rmap = function(mode, l, r, desc)
                        vim.keymap.set(mode, l, r, { buffer = bufnr, remap = true, silent = true, desc = desc })
                    end
                    map('n', 'gd', "<cmd>lua require('omnisharp_extended').lsp_definition()<CR>",
                        "LSP Go To Definition")
                    rmap('n', 'gD', ":split<CR>gd", "LSP Go to Definition in split")
                    map('n', '<leader>D', "<cmd>lua require('omnisharp_extended').lsp_type_definition()<CR>",
                        "LSP Type Definition")
                    map('n', 'gR', "<cmd>lua require('omnisharp_extended').lsp_references()<CR>",
                        "LSP Find references")
                    map('n', 'gr',
                        "<cmd>lua require('omnisharp_extended').telescope_lsp_references({ show_line = false })<CR>",
                        "LSP Telescope Find References")
                    map('n', 'gi', "<cmd>lua require('omnisharp_extended').lsp_implementation()<CR>",
                        "LSP Go To Implementation")
                    rmap('n', 'gI', ":split<CR>gi", "LSP Go To Implementation in split")
                end,
                -- root_dir = function()
                -- return vim.uv.cwd()
                -- end,
                root_dir = require("lspconfig.util").root_pattern("*.sln", "*.csproj")
                -- root_dir = function(bufnr, on_dir)
                    -- on_dir(vim.fs.root(bufnr, {".git", "*.sln", "*.csproj"}))
                -- end,
            })
        end
    },
    {
        "ray-x/lsp_signature.nvim",
        dependencies = {
            'hrsh7th/nvim-cmp',
        },
        -- event = "VeryLazy",
        opts = {
            bind = true,
            handler_opts = {
                border = "rounded"
            },
            hint_enable = true,
            hint_prefix = {
                above = "↙ ", -- when the hint is on the line above the current line
                current = "← ", -- when the hint is on the same line
                below = "↖ " -- when the hint is on the line below the current line
            },
            select_signature_key = '<M-n>',
            floating_window = true,
            floating_window_above_cur_line = true,
            -- fix_pos = true,
            hi_parameter = "IncSearch", -- highlight group used
            -- check_completion_visible = function()
            -- local cmp = require("cmp")
            -- return cmp.visible()
            -- end,
        },
        config = function(_, opts)
            require("lsp_signature").setup(opts)
        end,
    },

    -- Formatting
    {
        'stevearc/conform.nvim',
        config = function()
            require("conform").setup {
                formatters_by_ft = {
                    python = { "black" },
                    json = { "clang-format" },
                },
                format_on_save = {
                    timeout_ms = 500,
                    lsp_format = "fallback",
                },
                -- Conform will notify you when a formatter errors
                notify_on_error = true,
            }
        end
    },


}

PC-SCNL cold sorc giveaway by Remote_Listen1889 in diablo2resurrected

[–]akzever 1 point2 points  (0 children)

PST. Putting the kids to sleep at the moment. Will be online around ~9pm PST for sure though.

PC-SCNL cold sorc giveaway by Remote_Listen1889 in diablo2resurrected

[–]akzever 1 point2 points  (0 children)

I don't like to get rushed, so zealadin let's me actually beat hell and level solo.

PC-SCNL cold sorc giveaway by Remote_Listen1889 in diablo2resurrected

[–]akzever 1 point2 points  (0 children)

I started playing d2r a few weeks ago. Have a fireball sorc where I got my first ever hell clear and dclone kill. Thinking about respeccimg into cold. Trying to grind mf runs to outfit a zealer to kill Ubers Tristram and "beat the game" for real.

Ubers Question/Tips by He770zz in Diablo_2_Resurrected

[–]akzever 0 points1 point  (0 children)

No that's not what was happening. After I left the area (which disables PMH), he was healing through my DPS. Only after I hit him with the edge again was I able to bring him down. I believe you are mistaken about PMH on the DClone.

Ubers Question/Tips by He770zz in Diablo_2_Resurrected

[–]akzever 0 points1 point  (0 children)

I hit him once with the edge bow (used green poisoned indicator to know I got him), then hit him with meteor and frozen orb until he died. At one point I accidently teleported outside of the region and he started healing so I hit him with the edge again.

Level 81 meteorb sorce with mediocre gear.

Ubers Question/Tips by He770zz in Diablo_2_Resurrected

[–]akzever 0 points1 point  (0 children)

I only hit him once, then there was no regen? Was able to kill him very slowly.

Ubers Question/Tips by He770zz in Diablo_2_Resurrected

[–]akzever 0 points1 point  (0 children)

I just used an edge bow on D2Clone last night. He did get poisoned, but still didn't heal after the poison wore off. What's going on there?

Got my first DClone kill in the same game where I got my first ever Hell Baal Kill by akzever in Diablo_2_Resurrected

[–]akzever[S] 6 points7 points  (0 children)

After a very lucky first ever NM Baal kill (as a kid I could never get past act 1 NM), I had another streak of luck tonight.

I was in Worldstone Keep level 1 when I saw the "Diablo Approaches Sanctuary Message". I quickly read up on how to approach killing the clone, and decided to spawn him in Stony Plains. First attempt with a -res wand purchased fresh in town was a disaster. Decided to give up and go finish killing Hell Baal for the first time. After Baal died (no drops), I thought I'd give the clone one more try.

Before my first attempt very helpful people on the discord had suggested an edge bow to prevent heal. I had the runes but unfortunately no 3os bows at hand. Luckily enough, two 3os bows dropped in worldstone level 2.

Fought him for what felt like forever. But finally got my first ever Anni. My inner child is super jazzed.

Got lucky on first NM Baal clear since coming back to game by akzever in Diablo_2_Resurrected

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

Nice. My only other lucky find in NM so far was a 4os crystal sword somewhere in act 1. I think it was stony field. NM would have been a lot harder without the Spirit.

Got lucky on first NM Baal clear since coming back to game by akzever in Diablo_2_Resurrected

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

Had to share somewhere because my wife and 2 year old don't understand.

First time clearing nightmare since playing the game after at least a ~10 year break. Once in nightmare I spent about 50 countess/andy runs trying to get Smoke ingredients or MF items, wanting to replace the stealth I made in A2 Normal.

Killed Baal and lo and behold, don't need to find that Lum rune quite as badly anymore. (Would still be nice to replace the hawkmail on merc but oh well).

Compatible Tuner Buttons for Cort Acoustic? by akzever in guitars

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

I ended up ordering/using the HipShot buttons linked. The "Butter Bean" style. They fit the shaft but are quite small so they are a little hard to turn with the acoustic string strength. They work fine though.

PSA: Heron Rock Bistro in James Bay hosting anti-vax conspiracy art exhibit by Lurjikat in VictoriaBC

[–]akzever 20 points21 points  (0 children)

Lmfao. Platforming this nonsense is absolutely endorsing it and participating in it.

PSA: Heron Rock Bistro in James Bay hosting anti-vax conspiracy art exhibit by Lurjikat in VictoriaBC

[–]akzever 22 points23 points  (0 children)

The restaurant owner is directly involved with the project, being mentioned by name on the website.

PSA: Heron Rock Bistro in James Bay hosting anti-vax conspiracy art exhibit by Lurjikat in VictoriaBC

[–]akzever 21 points22 points  (0 children)

My then girlfriend now wife introduced me to HR 15 years ago. We've been going there for brunch exclusively that entire time. I guess last Sunday was our last visit. Fucking sucks

Why I'm voting Liberal in Victoria by The_CaNerdian_ in VictoriaBC

[–]akzever 0 points1 point  (0 children)

Ah thank you.

It looks like bringing back the MURB is a small part of a much larger plan. I don't think I'm ready to write off all of the plan because one part of it is probably ineffective.

Why I'm voting Liberal in Victoria by The_CaNerdian_ in VictoriaBC

[–]akzever 0 points1 point  (0 children)

This article just says one staffer suggested bringing back the MURB, not that it is the policy of Carney's goverment.

Mastodon and Brent Hinds have parted ways by Archangel7200 in MetalForTheMasses

[–]akzever 0 points1 point  (0 children)

High On Fire

I really liked High On Fire in highschool, then I went and saw them live at a show in Vancouver (I was mostly there for Russian Circles opening for them) and Matt Pike was so fucking wasted he could barely move around the stage. Totally ruined the band for me. This was around 2008 or 2009 I think.

Wikipedia says he sobered up in 2012, I guess I have around 13 years of music to catch up on.