LazyVim.LazyVim/lua/lazyvim/plugins/extras
Ughur Alakbarov 21b02f056d
fix(java): only use mason-registry if mason installed (#4991)
## Description
The current config breaks when mason is not installed (e.g. for Nix
users). This PR makes the mason-related functionality (which, as of now,
consists only of finding `lombok`) dependent on mason being installed.
As noted in the commit, this does make it impossible to use lombok
without mason, but I'm unaware of any other method of finding it (which
is why mason-registry was used in the first place, I assume)

Please note that I'm not very experienced with Lua and the code might be
not the most idiomatic one.

## Related Issue(s)

<!--
  If this PR fixes any issues, please link to the issue here.
  - Fixes #<issue_number>
-->

## Screenshots

<!-- Add screenshots of the changes if applicable. -->

## Checklist

- [x] I've read the
[CONTRIBUTING](https://github.com/LazyVim/LazyVim/blob/main/CONTRIBUTING.md)
guidelines.

Co-authored-by: Folke Lemaitre <folke.lemaitre@gmail.com>
2024-12-12 18:15:53 +01:00
..
ai fix: fqn for nvim-cmp 2024-12-12 14:45:47 +01:00
coding fix: fqn for nvim-cmp 2024-12-12 14:45:47 +01:00
dap feat(snacks): added profiler keymaps 2024-12-12 13:47:29 +01:00
editor fix(mini.diff): toggle 2024-12-07 20:52:13 +01:00
formatting feat(extras): add biome formatter (#4448) 2024-11-16 07:34:21 +01:00
lang fix(java): only use mason-registry if mason installed (#4991) 2024-12-12 18:15:53 +01:00
linting feat(eslint): add option to disable eslint auto format (#4225) 2024-11-08 14:05:00 +01:00
lsp feat: moved neoconf.nvim to extras 2024-06-02 09:05:16 +02:00
test fix(neotest): disambiguous key map descriptions (#4374) 2024-11-08 13:37:09 +01:00
ui fix(mini.indentscope): disable snacks and indent-blankline scope 2024-12-12 16:44:28 +01:00
util fix(dot): kitty ft with bash treesitter highlights 2024-12-07 20:52:48 +01:00
vscode.lua feat(vscode): add vscode-specific keymaps and sync undo/redo with vscode (#4983) 2024-12-10 12:13:01 +01:00