File tree Expand file tree Collapse file tree 2 files changed +42
-0
lines changed Expand file tree Collapse file tree 2 files changed +42
-0
lines changed Original file line number Diff line number Diff line change 1+ # Spring Boot Plugin Pack
2+
3+ This plugin pack integrates the ` java ` pack with ` sprint-boot.nvim ` to provide a better OOTB experience with Spring boot.
4+ It utilizes the ` spring-tools ` https://github.com/spring-projects/spring-tools extension for VS Code under the hood.
5+
6+ ** Repository:** < https://github.com/JavaHello/spring-boot.nvim >
Original file line number Diff line number Diff line change 1+ --- @type LazySpec
2+ return {
3+ { import = " astrocommunity.pack.java" },
4+ {
5+ " williamboman/mason-lspconfig.nvim" ,
6+ optional = true ,
7+ opts = function (_ , opts )
8+ opts .ensure_installed =
9+ require (" astrocore" ).list_insert_unique (opts .ensure_installed , { " vscode-spring-boot-tools" })
10+ end ,
11+ },
12+ {
13+ " WhoIsSethDaniel/mason-tool-installer.nvim" ,
14+ optional = true ,
15+ opts = function (_ , opts )
16+ local astrocore = require " astrocore"
17+ opts .ensure_installed = astrocore .list_insert_unique (opts .ensure_installed , { " vscode-spring-boot-tools" })
18+ end ,
19+ },
20+ {
21+ " JavaHello/spring-boot.nvim" ,
22+ ft = { " java" , " yaml" , " jproperties" },
23+ specs = {
24+ {
25+ " mfussenegger/nvim-jdtls" ,
26+ optional = true ,
27+ opts = function (_ , opts )
28+ if not opts .init_options then opts .init_options = {} end
29+ if not opts .init_options .bundles then opts .init_options .bundles = {} end
30+ vim .list_extend (opts .init_options .bundles , require (" spring_boot" ).java_extensions ())
31+ end ,
32+ },
33+ },
34+ opts = {},
35+ },
36+ }
You can’t perform that action at this time.
0 commit comments