LazyVim.LazyVim/lua/lazyvim/plugins/extras/lang
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
..
angular.lua feat(lang.angular): configure prettier as formatter for angular templates (#4345) 2024-11-08 13:45:53 +01:00
ansible.lua refactor: use lazy's new opts_extend functionality for treesitter and mason 2024-06-07 09:03:59 +02:00
astro.lua fix(vue): ensure css treesitter installed (#4308) 2024-09-18 08:22:05 +02:00
clangd.lua fix(clangd): avoid nil-indexing the completion sorting comparators (#5011) 2024-12-12 16:51:34 +01:00
clojure.lua fix(clojure): removed rainbow delimiters and fixed some plugin setups. Closes #3530 2024-06-07 23:10:40 +02:00
cmake.lua refactor: use lazy's new opts_extend functionality for treesitter and mason 2024-06-07 09:03:59 +02:00
docker.lua refactor: use lazy's new opts_extend functionality for treesitter and mason 2024-06-07 09:03:59 +02:00
elixir.lua feat(elixir): add support for livebook files (*.livemd) (#4184) 2024-11-08 14:10:11 +01:00
elm.lua refactor: use lazy's new opts_extend functionality for treesitter and mason 2024-06-07 09:03:59 +02:00
erlang.lua feat(erlang): add Erlang language (#3911) 2024-07-04 20:47:33 +02:00
git.lua fix: fqn for nvim-cmp 2024-12-12 14:45:47 +01:00
gleam.lua refactor: use lazy's new opts_extend functionality for treesitter and mason 2024-06-07 09:03:59 +02:00
go.lua feat(icons): provide language specific icons in extras (#3931) 2024-07-07 19:28:51 +02:00
haskell.lua refactor: use lazy's new opts_extend functionality for treesitter and mason 2024-06-07 09:03:59 +02:00
helm.lua fix(helm): missing dependency (#3546) 2024-06-09 07:33:59 +02:00
java.lua fix(java): only use mason-registry if mason installed (#4991) 2024-12-12 18:15:53 +01:00
json.lua refactor: use lazy's new opts_extend functionality for treesitter and mason 2024-06-07 09:03:59 +02:00
kotlin.lua revert: "fix(dap): set host to 127.0.0.1 instead of localhost to prevent issues with ipv6. Fixes #3577" 2024-06-11 19:14:27 +02:00
lean.lua fix(extras): rename lspconfig.server_configurations to lspconfig.configs (#4518) 2024-10-02 09:24:02 +02:00
markdown.lua feat(core)!: move a bunch of LazyVim features to snacks.nvim (#4706) 2024-11-07 15:54:47 +01:00
nix.lua refactor: use lazy's new opts_extend functionality for treesitter and mason 2024-06-07 09:03:59 +02:00
nushell.lua feat(extras.nushell): update to upstream treesitter (#4715) 2024-11-07 16:11:59 +01:00
ocaml.lua fix(ocaml): get_language_id (#4327) 2024-09-18 08:20:43 +02:00
omnisharp.lua fix(omnisharp): use Go To Definition with fzf.lua (#4260) 2024-09-18 08:22:58 +02:00
php.lua fix(php): php_cs_fixer is the correct name (#3991) 2024-07-11 17:40:17 +02:00
prisma.lua feat(extra): add prisma support and config (#3684) 2024-06-18 19:03:19 +02:00
python.lua refactor(cmp): add optional where necessary (#4557) 2024-10-23 11:44:27 +02:00
r.lua fix(lang/r): make keymaps in which-key menu available in visual mode (#4565) 2024-11-08 13:26:31 +01:00
rego.lua feat(extras): rego language support (#4297) 2024-11-08 13:44:59 +01:00
ruby.lua fix(lang/ruby): do not enable Rubocop as LSP if Solargraph is used (#4566) 2024-11-08 13:56:44 +01:00
rust.lua fix(rust): only use mason.nvim if it is present (#4963) 2024-12-06 16:35:27 +01:00
scala.lua feat(scala): add key for worksheet hover (#3853) 2024-11-08 14:09:17 +01:00
sql.lua fix(blink): config breaking changes. Fixes #4990 2024-12-11 10:57:09 +01:00
svelte.lua feat(svelte): with prettier & svelte extra, prettier will be enabled when prettier-plugin-svelte is available 2024-06-07 23:02:47 +02:00
tailwind.lua refactor(cmp): add optional where necessary (#4557) 2024-10-23 11:44:27 +02:00
terraform.lua feat(terraform): add formatter for packer files (#4591) 2024-11-08 21:14:22 +01:00
tex.lua fix(tex): specify filetype for <localleader>l (#4905) 2024-12-05 09:11:11 +01:00
thrift.lua refactor: use lazy's new opts_extend functionality for treesitter and mason 2024-06-07 09:03:59 +02:00
toml.lua fix: cleanup unnecessary treesitter langs and mason lsp servers 2024-06-05 18:07:01 +02:00
typescript.lua feat(lang): add maxInlayHintLength for vtsls to resolve inlay hint to… (#4902) 2024-11-28 08:49:40 +01:00
vue.lua fix(vue): ensure css treesitter installed (#4308) 2024-09-18 08:22:05 +02:00
yaml.lua refactor: LazyVim.lsp.on_attach 2024-06-08 08:11:30 +02:00
zig.lua feat(extras): lang/zig (#4437) 2024-11-07 16:40:06 +01:00