mirror of
https://github.com/nvim-lua/kickstart.nvim.git
synced 2025-06-24 14:18:36 +02:00
adiciona formatter para java.lua e adiciona springboot-nvim
This commit is contained in:
parent
044d74b814
commit
06c74c3466
4 changed files with 37 additions and 4 deletions
15
lua/custom/plugins/springboot-nvim.lua
Normal file
15
lua/custom/plugins/springboot-nvim.lua
Normal file
|
@ -0,0 +1,15 @@
|
|||
return {
|
||||
'elmcgill/springboot-nvim',
|
||||
depedencies = {
|
||||
'neovim/nvim-lspconfig',
|
||||
'mfussenegger/nvim-jdtls',
|
||||
},
|
||||
config = function()
|
||||
local springboot_nvim = require 'springboot-nvim'
|
||||
vim.keymap.set('n', '<leader>Jr', springboot_nvim.boot_run, { desc = 'Spring Boot Run Project' })
|
||||
vim.keymap.set('n', '<leader>Jc', springboot_nvim.generate_class, { desc = 'Java Create Class' })
|
||||
vim.keymap.set('n', '<leader>Ji', springboot_nvim.generate_interface, { desc = 'Java Create Interface' })
|
||||
vim.keymap.set('n', '<leader>Je', springboot_nvim.generate_enum, { desc = 'Java Create Enum' })
|
||||
springboot_nvim.setup {}
|
||||
end,
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue