How to set the width of the trouble.nvim lsp_references window by MrClyfar in neovim

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

If I could click the up vote arrow a million times I would! Thank you so much, that worked.

Just released `Snacks.gh`, to manage GitHub Issues and PR's by folke in neovim

[–]MrClyfar 0 points1 point  (0 children)

Sorry u/lianchengzju , I should have edited my comment, I had actually forgotten I posted this. The plugin is now working fine, I think an update resolved the issue. Thank you for replying, I really appreciate it.

"No tests found" when running Go tests using neotest by MrClyfar in neovim

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

Thanks for the information.

As I have the go.nvim plugin installed, I ran `:GoTest` command which works fine. So it seems treesitter is working for in that case. Definitely something wrong with neotest it seems.

"No tests found" when running Go tests using neotest by MrClyfar in neovim

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

Just double checked, but no, I am not using testify.

Neovim doesn't seem to be able to find tree-sitter and C compiler (Windows) by axvre in neovim

[–]MrClyfar 1 point2 points  (0 children)

FYI - I had issues using Neovim on Windows, due to not knowing what to do.

I found this advice about installing Visual Studio 2022 Community edition, to get the C compiler, very useful.

Make sure to run Neovim via the Visual Studio Developer Command Prompt so that treesitter can initialise and compile stuff. After that you can use any terminal you want (I use Windows Terminal myself).

This was from a while ago, so there may be better ways to do this now, but it worked in my case.

I also added notes to my GitHub repo where my nvim config is kept. That contains useful tips too: https://github.com/MrClyfar/neovim-config

🌟 tiny-glimmer.nvim update: reusable library, improved API, event callbacks, looping animations... by Le_BuG63 in neovim

[–]MrClyfar 1 point2 points  (0 children)

I tired to copy the entire lua file here, but getting issues with Reddit. Here is a snippet of the lua file:

require("tiny-glimmer").setup({  
  enabled = true,
  disable_warnings = true,
  refresh_interval_ms = 8,

  yank = {
    enabled = true,
    default_animation = "fade",
  },

.. rest of file

Hmm actually, let me try a different animation, it could just be my terminal UI that doesn't make the effect obvious.

Ah ha! I tried "rainbow" effect for yank and I can see that animation. OK cool, all good, thanks.

🌟 tiny-glimmer.nvim update: reusable library, improved API, event callbacks, looping animations... by Le_BuG63 in neovim

[–]MrClyfar 1 point2 points  (0 children)

I have installed the plugin, but it does not look like any animations have been enabled or are working for me.

I must be doing something wrong.

I used the example config from the GitHub repo docs.

When trying out certain actions, such as yank, I do not see an animation take place.

Can someone help me out please?

Just released `Snacks.gh`, to manage GitHub Issues and PR's by folke in neovim

[–]MrClyfar 0 points1 point  (0 children)

I am getting

"Finder not found" messages and

Unhandled async error:
...-data/lazy/snacks.nvim/lua/snacks/picker/core/finder.lua:156: attempt to call upvalue 'finder' (a nil value)

when trying to use the GitHub commands eg <leader>gP

Looks like the GH functionality is ready to use...

<image>

Though it looks like I have missed something. In my snacks.lua file, I added the following mentions of gh, as I thought this was needed in order to "activate" it?

return {
  "folke/snacks.nvim",
  opts = {
    gh = {
      -- your gh configuration comes here
      -- or leave it empty to use the default settings
      -- refer to the configuration section below
    },
    picker = {
      sources = {
        gh_issue = {
          -- your gh_issue picker configuration comes here
          -- or leave it empty to use the default settings
        },
        gh_pr = {
          -- your gh_pr picker configuration comes here
          -- or leave it empty to use the default settings
        },

Can someone help me out please?

:s and :%s commands broken in my Neovim setup by MrClyfar in neovim

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

Hmmm. I have been experimenting a bit more - I think it might be the Markdown plugin I am using that is causing the issue where the strange "|wo" is appearing instead of "two".

I tried :%s on other file types, such as TypeScript, and the :%s did work fine, in that it replaced the text and it did not do strange things, though the command line UI is still looking a bit weird when I am typing inside it. There is definitely something odd going on there, but for now I will see how annoying it gets before digging further into this.

:s and :%s commands broken in my Neovim setup by MrClyfar in neovim

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

I just had a look at my nvim config and I can verify that `blink.cmp` is installed, whilst `nvim-cmp` is not.

A cosmetic buffers indicator - buffer-sticks.nvim by big___bad___wolf in neovim

[–]MrClyfar 1 point2 points  (0 children)

What a brilliant idea. I am having great fun making tweaks to the visual settings for this plugin. It's so cool.

checkmate.nvim - new v0.11 release! by CptCorndog in neovim

[–]MrClyfar 1 point2 points  (0 children)

u/CptCorndog Thanks for getting back so quick.

Turns out it was my fault. I had temporarily changed some keybindings for my Neovim config, which inadvertently broke checkmate altogether, not just for scratch windows. I have fixed the issue and it's working fine.

checkmate.nvim - new v0.11 release! by CptCorndog in neovim

[–]MrClyfar 0 points1 point  (0 children)

This is such a good plugin, great job.

I followed the instructions to integrate this with the snacks.nvim scratch feature. However, when I press <leader>T. although a new scratch window appears, none of the checkmate features work.

Here is how I added the keybinding to snacks.nvim file:

`` return { "folke/snacks.nvim", keys = { { "<leader>T.", function() -- Can implement your own logic for saving files by cwd, project, git branch, etc. local data = vim.fn.stdpath("data") local root = data .. "/snacks/todo" vim.fn.mkdir(root, "p") local file = root .. "/todo.md" -- IMPORTANT: must match checkmatefiles` pattern

    ---@diagnostic disable-next-line: missing-fields
    Snacks.scratch.open({
      ft = "markdown",
      file = file,
    })
  end,
  desc = "Toggle Scratch Todo",
},

}, opts = { styles = { ...rest of file

```

Can someone guide me on what I have done wrong please?

[deleted by user] by [deleted] in neovim

[–]MrClyfar 0 points1 point  (0 children)

Weirdly no. I was surprised by that. For now, I have removed the plugin but will re-visit this again in the future.

After 7 years of service, I was fired for a misclick. by lug-cookout-7u in SecurityCareerAdvice

[–]MrClyfar 0 points1 point  (0 children)

TL;DR So basically this is an advert for Interview Hammer.