nvim updates

- add terraform-ls
- add droneci to puppet modules
- added friendly-snippets
This commit is contained in:
Ben Vincent 2024-09-18 23:22:17 +10:00
parent b8c520d600
commit 2fa4e8b410
4 changed files with 14 additions and 1 deletions

View File

@ -39,3 +39,14 @@ vim.cmd [[
autocmd FileType eruby nnoremap <buffer> <Leader>s :call ToggleERBSyntax()<CR>
augroup END
]]
-- terraform language keybindings
vim.cmd [[
augroup lang_terraform
autocmd!
autocmd BufNewFile,BufRead *.tf set filetype=terraform
augroup END
]]

View File

@ -49,6 +49,7 @@ function! OpenPuppetProfileOrRole(layout)
" List modules in puppet-control here
let module_list = []
call add(module_list, 'certbot')
call add(module_list, 'droneci')
call add(module_list, 'glauth')
call add(module_list, 'jellyfin')
call add(module_list, 'lidarr')

View File

@ -33,6 +33,7 @@ return require('packer').startup(function(use)
use 'hrsh7th/cmp-path'
use 'hrsh7th/cmp-buffer'
use 'hrsh7th/vim-vsnip'
use "rafamadriz/friendly-snippets"
-- telescope
use {

@ -1 +1 @@
Subproject commit 906960d513741ffcb782d42e229bd1153382885a
Subproject commit 1a98679ade8d9d2c1c191f885ab2365d5d3fea02