I’ve been absolutely loving treesitter. It’s come a long way and it’s been absolutely great for things like folds, motions, highlights of course. Now that I’ve finally gotten familiar with writing my own queries I can extend the existing plugins. As an example I’ve added folds to blocks of multiple consecutive comments in JS and Ruby.

What are some of your favorites?

  • Chris@lemmy.world
    link
    fedilink
    arrow-up
    4
    ·
    1 year ago

    well, i eschewed motion plugins for so long, but i recently installed easy motion, to quote “maybe use it minimally so i don’t have to change my work flow too much”. i pretty much gave up using w, e, b and f within a day of installing it, replacing each of them with a more efficient reach for the same number of key presses. similar situation with ultisnips, thinking it’d be overkill for my needs. these both work really well with opening zsh commands in $editor too.

    • yads@lemmy.worldOP
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      Someone else in the thread recommended pounce as well for that. I actually used to have hop installed, but I just never would use it. The default motions seem sufficient for me.

  • simonced@lemmy.one
    link
    fedilink
    arrow-up
    4
    ·
    edit-2
    1 year ago

    My favorite plugins:

    • telescope (file searching, diagnostic listing…)
    • vim-surround
    • vim-signify

    I use a couple others, but those are really important to my workflow.

    • yads@lemmy.worldOP
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      I just switched to nvim-surround for the treesitter support. The only thing that I miss from vim-surround is that it leaves blank lines if you remove braces on some code that looks like:

      {
        foo: 'bar',
        ...
      }
      
  • Scraft161@iusearchlinux.fyi
    link
    fedilink
    arrow-up
    4
    ·
    1 year ago

    I made a similar post on my home instance.

    The big ones from that are CoQ (fast as fuck autocompletion using neovim’s builtin lsp) it’s artifacts for commonly snippets and ChadTree (nerdtree replacement made by the same person) I rely on both way more than I’d like to admit and they take neovim from a nice text editor to something that can rival any IDE for me.

  • Brunacho@feddit.cl
    link
    fedilink
    arrow-up
    1
    arrow-down
    1
    ·
    1 year ago

    Ultilsnips (I might change to LuaSnips sometime in the future) and VimTeX. I would blame those as the ones that really got me into Neovim.

    • phario@lemmy.ca
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      I second this. Can someone get the vimtex creator out here (r/verlag I believe). He is a great presence on the Reddit boards.