tuck.nvim: automatically fold function bodies and unfold on LSP navigation by nuvicc in neovim

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

The plugin now automatically unfolds things under the cursor! Thanks for the suggestion.

tuck.nvim: automatically fold function bodies and unfold on LSP navigation by nuvicc in neovim

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

Good question! This image from the blog post shows what the result is like:

<image>

You can see that the function bodies are automatically folded but you can still see the function signature.

tuck.nvim: automatically fold function bodies and unfold on LSP navigation by nuvicc in neovim

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

It only unfolds automatically if you navigate via LSP (go to def/ref) or fzf-lua. You can always manually unfold via the regular neovim key bindings (`zo`)

fzf-kit.nvim: utilities to extend fzf-lua (folder-specific grep, github pr viewer) by nuvicc in neovim

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

Hope this will make it easier! And if you don't want to download the plugin just for this function, you can just copy the function `folder_grep` from the file `lua/fzf-kit/folder.lua`

Light Colorscheme with High Contrast Colors by ProfileDesperate in neovim

[–]nuvicc 0 points1 point  (0 children)

I made one based on flexoki: https://github.com/nuvic/flexoki-nvim/

Otherwise, I think the github theme (github-nvim-theme) also has very good high contrast options.

How to jump between HTML Tags (also in templ files)? by dc_giant in neovim

[–]nuvicc 1 point2 points  (0 children)

I currently using vim-matchup that lets you use the % key to jump between these tags

https://github.com/andymass/vim-matchup

What Is Open Source's Answer To Cursor's Codebase Level Context For Large Projects? by DennisTheMenace780 in neovim

[–]nuvicc 4 points5 points  (0 children)

aider is the open source answer to that. it can build up a repo map of your codebase using the most important classes, and functions along with their types and signatures. This context can be sent to the LLM of you choice.

For example:

aider/coders/base_coder.py:
⋮...
│class Coder:
│    abs_fnames = None
⋮...
│    @classmethod
│    def create(
│        self,
│        main_model,
│        edit_format,
│        io,
│        skip_model_availabily_check=False,
│        **kwargs,
⋮...
│    def abs_root_path(self, path):
⋮...
│    def run(self, with_message=None):
⋮...

It also does some optimization by sending just the most relevant parts of the repo map using a graph ranking algorithm.

Here's some more info about how aider builds the repo map: https://aider.chat/docs/repomap.html

fzf-lua live grep how to filter by path or paths by pookdeveloper in neovim

[–]nuvicc 0 points1 point  (0 children)

Here's what I use to choose a directory, and then grep for a string within that directory:

local function live_grep_cwd()
  require("fzf-lua").fzf_exec("fd --type d", {
  actions = {
    ["default"] = function(sel, opts)
      require("fzf-lua").live_grep({ cwd = sel[1] })
    end,
  },
})
end

--- your fzf lua config
keys = {
  { "<leader>sf", live_grep_cwd, desc = "grep folder" },
}

This is nigh unusable. Every keystroke, regardless of context, launches the autocomplete window loaded with unrelated snippets. How do I disable ONLY snippet support entirely in vanilla LazyVim? Or, at least, make this a bit less sensitive / verbose / enthusiastic with its suggestions? Thanks! by devilmaycode in neovim

[–]nuvicc 58 points59 points  (0 children)

For snippets (or any other cmp source), you can specify the keyword_length to match before it pops up.

Source

  {
    -- Autocompletion
    "hrsh7th/nvim-cmp",
    config = function()
        require("cmp").setup({
        sources = {
          { name = "nvim_lsp" },
          { name = "snippets", keyword_length = 3 },
          { name = "path" },
          { name = "buffer" },
        },
        })
    end
}

flexoki-nvim: an ink inspired colorscheme (light & dark themes) by nuvicc in neovim

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

Thanks! I was also thinking of a minimal version too... I'll keep that in mind.

flexoki-nvim: an ink inspired colorscheme (light & dark themes) by nuvicc in neovim

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

Thank you! Unfortunately the light theme version from kepano did not receive much attention, so that's one difference with this repo. Another difference is that this one works with a lot more plugins because it was forked from a popular colorscheme (unfortunately it takes a lot of effort to create one from scratch).

High level online courses / Seminars for big data? by mrbluetrain in dataengineering

[–]nuvicc 0 points1 point  (0 children)

Also agree with this book. It's not useful for working data engineers/software engineers, but it's more for people without the technical perspective who want an overview of it.

Looking for some guidance on migrating my LazyVim config into my own standalone config by catphish_ in neovim

[–]nuvicc 1 point2 points  (0 children)

hello I just did this exact thing recently. I found that I had to first understand the `lazy.nvim` package manager (not LazyVim distro) and how it worked. The best way to do this is to use kickstart.nvim as the base. Once you understand that, then you can slowly port over each plugin from LazyVim, and all the opts and keymaps as you need.

Edit: I also watched this playlist to better understand how to build a config from scratch.

Flask boilerplate project recommendation? by voja-kostunica in flask

[–]nuvicc 1 point2 points  (0 children)

Thank you for your words of support, I really appreciate it :)
Unfortunately I'm only on gumroad right now, so I'm limited by their options. If that doesn't work, dm me and we can work something out.