diff options
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/plugins/mason.lua | 1 | ||||
| -rw-r--r-- | lua/plugins/spring-boot.lua | 17 | 
2 files changed, 18 insertions, 0 deletions
diff --git a/lua/plugins/mason.lua b/lua/plugins/mason.lua index 15faabf..8f98ba5 100644 --- a/lua/plugins/mason.lua +++ b/lua/plugins/mason.lua @@ -4,6 +4,7 @@ return {      ensure_installed = {        "jdtls",        "lemminx", +      "vscode-spring-boot-tools",      },    },  } diff --git a/lua/plugins/spring-boot.lua b/lua/plugins/spring-boot.lua new file mode 100644 index 0000000..fba79d3 --- /dev/null +++ b/lua/plugins/spring-boot.lua @@ -0,0 +1,17 @@ +return { +  "JavaHello/spring-boot.nvim", +  ft = { "java", "yaml", "properties" }, +  dependencies = { +    "neovim/nvim-lspconfig", +  }, +  opts = function() +    -- Add global command handlers +    require("spring_boot").init_lsp_commands() +    -- Add spring-boot jdtls extension jars +    require("lspconfig").jdtls.setup({ +      init_options = { +        bundles = require("spring_boot").java_extensions(), +      }, +    }) +  end, +}  | 
