blob: fba79d3cc203ffb6ced7708b36da679b544f0a0b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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,
}
  |