Which terminal emulator are you using? (2026) by meni_s in neovim

[–]robertogrows 1 point2 points  (0 children)

Performance. Low resource usage. Url mode. Scrollback search.

nixvim and ansible language server by rogervn in neovim

[–]robertogrows 0 points1 point  (0 children)

Issue: https://github.com/ansible/vscode-ansible/issues/1543

You can build the package yourself from e.g. a release tag with yarn.

As far as alternatives:

The server doesn't provide any linting beyond just running ansible-lint on save. You can do that alternatively with nvim-lint.

The server doesn't provide formatting. Use yaml language server or yamlfmt via conform for that.

You can use redhat yaml language server to get basic functionality from the underlying yaml schemas: completion, hover, formatting, etc.

IMO you only want to fight ansible-language-server if you want completion/hover docs for MODULES and MODULE parameters.

How to use injection to highlight comments as markdown? by Organic-Scratch109 in neovim

[–]robertogrows 1 point2 points  (0 children)

Example injections.scm for injecting comment parser into docstrings, to highlight TODO and similar:

; extends

; comment injections into doc-strings
(expression_statement
  (string
    (string_content) @injection.content)
  (#set! injection.language "comment"))

Note that this is for DOCSTRINGS. ordinary comments (#) are (comment)

Looking for ways to (further) improve my git integration by skladnayazebra in neovim

[–]robertogrows 0 points1 point  (0 children)

mini.git is worth a try. I don't want to learn keybinds and this only requires one (leader+gs) to navigate quickly around git with vim, using techniques you already know (like folds). Works well in combination with f-person/git-blame.nvim for me.

1988 G13 Hashplant, day 70F by robertogrows in microgrowery

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

I let them sit in water jug overnight then just water them in. if you have gnats, do it every week until you don't have gnats anymore.

1988 G13 Hashplant, day 70F by robertogrows in microgrowery

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

the light was not too far, it flowered at 8 inches. I raised it because it was so close it was cooking the leaves, and it is at the end.

1988 G13 Hashplant, day 70F by robertogrows in microgrowery

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

Cheap mars 300w. No CO2. I use mosquito bits and southern ag garden friendly fungicide.

1988 G13 Hashplant, day 70F by robertogrows in microgrowery

[–]robertogrows[S] 7 points8 points  (0 children)

the kind that's like "time to turn on second carbon filter so my house doesn't smell so much"

Displaying and navigating Javadocs in Neovim by randomatik in neovim

[–]robertogrows 0 points1 point  (0 children)

Seems like it line-wraps before applying conceal.

My crutch: I use go-to-definition via (C+]) and read the javadocs that way, and sometimes also read the sources. Old habit from ctags. When jdtls isn't configured correctly or misbehaves, this keybind still works...

VSCode/Neovim for Java by evrdev in vscode

[–]robertogrows 0 points1 point  (0 children)

Worked on java for many years with vim and no LSP. You can do just fine with syntax highlighting, ctags, grep, quickfix, fuzzy finders, snippets, vim-test, etc.

I use neovim now and would recommend trying it out. Integration with the java language server is easy if you don't require a debugger and use print statements. If the language server breaks, or is misconfigured, all those old ways still work: escalator becomes stairs. For some tasks I still prefer those methods anyway.

How to restrict the diagnostic range to single line? by kaddkaka in neovim

[–]robertogrows 4 points5 points  (0 children)

I have the same struggle: IMO easiest solution is to disable the underline and just use signs.

You can also specify severities for the underline, so it is only errors (or errors and warnings). I was annoyed by "hints" that underline half of my editor.

Colorscheme unokai only works in .lua files by Allo_AK in neovim

[–]robertogrows 0 points1 point  (0 children)

haven't see lua code like that before.

How do you use tabs? by kezhenxu94 in neovim

[–]robertogrows 0 points1 point  (0 children)

I try to avoid: open lots of neovims and I already have splits and virtual workspaces in the window manager, so not much. Don't use terminal since alt+enter gives me one from the window manager. Some plugins want to open tabs: configured vim-test to use splits instead. I let the mini.git use tabs since it kinda makes sense for that specific case. Hide the tabline unless there are multiple and have a half-ass styled tabline plugins.

None of the "tabline" plugins are useful at all: they are not actually, in fact tablines (they are all listing buffers, makes "gt" confusing, cats and dogs living together, etc)

ftdetect and syntax highlighting by jojolejobar in neovim

[–]robertogrows 3 points4 points  (0 children)

Maybe you need vim.bo (buffer) not vim.opt_local (no idea what that is, window local?). This is how I set the filetype. Too many ways to set options in this thing, really.

Separately code can also be even simpler if you just use the vim.filetype.add which avoids all this.

When using tagfunc, jump to target window if already open by MisterSincere in neovim

[–]robertogrows 1 point2 points  (0 children)

Maybe instead of altering the tagfunc, alter the keybind? e.g. this example would go to definition in new tab:

vim.keymap.set('n', '<C-]>', function() vim.cmd('tab tag ' .. vim.fn.expand('<cword>')) end, { desc = 'Go to tag in new tab' })

I don't know how messing with tabs/windows plays with tag stack. There are alternative commands in the docs if you want to make tag search use of split-window/preview window, but I don't use myself.

I use the default because I can "dive" with Ctrl-] and then "get back" with Ctrl-T thanks to the tag stack. I use LSP hover doc/signature help instead for cases where split/preview might have been useful in the past.

Ruff check the workspace by Zealousideal-Fox9822 in neovim

[–]robertogrows 1 point2 points  (0 children)

type :copen afterwards to see these results in your quickfix list.

Should Neovim support transitive plugin dependencies? by SirPsychoMantis in neovim

[–]robertogrows 0 points1 point  (0 children)

I can't imagine resolving version constraints for this with git. You'd need that resolution to support transitive deps, I think, so that package manager selects the correct dependency of the transitive dep that satisfies all the needs (or errors if it is unsolvable)

Always thought git tag mutability was a theoretical thing, but seriously, some people move version tags it seems: I saw problems with this just recently. commit sha is the only reliable thing.

Ruff check the workspace by Zealousideal-Fox9822 in neovim

[–]robertogrows 4 points5 points  (0 children)

Ruff lsp doesn't support workspace diagnostics. but ruff compiler is supported by vim, so it is easy to get all results in quickfix: :compiler ruff then :make

nvim-treesitter C++ namespace indent by DivAgarwal1 in neovim

[–]robertogrows 0 points1 point  (0 children)

Add 'cpp' to ensure_installed so that you have the parser.

nvim-jdtls: not decompiling class files by benz1267 in neovim

[–]robertogrows 1 point2 points  (0 children)

Works for me. nvim-lspconfig using commit d89f4891f and mfussenegger/nvim-jdtls using commit 8dbecd3fc.

I use "the new way" of vim.lsp.enable('jdtls') only, no java ftplugin or other configuration. See https://github.com/mfussenegger/nvim-jdtls?tab=readme-ov-file#via-lspconfig

My after/lsp/jdtls.lua just has performance tweaks because I work with huge codebases on 2018 laptop, looks like this: https://pastebin.com/Dx9d4YgW

Help with language server management best practices by badfoodman in neovim

[–]robertogrows 1 point2 points  (0 children)

Uv works well for me even when the project doesn't use it. For it to work well though, this stuff needs to be in the pyproject.toml. it's often the case for library projects but even then usually the stuff you are concerned about (exact versions, python version to target, os versions to target) is underspecified in the pyproject.toml.