From aeca5a8d4c3cfbcee1f1a71dc9d76f78256ab0e8 Mon Sep 17 00:00:00 2001 From: Andy Teijelo Date: Thu, 3 Nov 2022 11:10:22 -0400 Subject: [PATCH] Jenkinsfile's are groovy --- lua/user/autocommands.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lua/user/autocommands.lua b/lua/user/autocommands.lua index 6f875dd..80d59a2 100644 --- a/lua/user/autocommands.lua +++ b/lua/user/autocommands.lua @@ -24,6 +24,7 @@ vim.api.nvim_create_autocmd({ "FileType" }, { end, }) +vim.cmd("autocmd BufRead,BufNewFile Jenkinsfile set filetype=groovy") vim.cmd("autocmd BufEnter * ++nested if winnr('$') == 1 && bufname() == 'NvimTree_' . tabpagenr() | quit | endif") -- vim.api.nvim_create_autocmd({ "BufEnter" }, {