groovy.lua
1 return { 2 { 3 'neovim/nvim-lspconfig', 4 opts = { 5 setup = { 6 groovyls = {}, 7 }, 8 }, 9 }, 10 { 11 'nvim-treesitter/nvim-treesitter', 12 opts = function(_, opts) 13 vim.list_extend(opts.ensure_installed or {}, { 'groovy' }) 14 vim.filetype.add({ 15 pattern = { 16 ['.*.Jenkinsfile'] = 'groovy', 17 }, 18 }) 19 end, 20 }, 21 }