nvim updates

- add terraform-ls
- add droneci to puppet modules
- added friendly-snippets
This commit is contained in:
2024-09-18 23:22:17 +10:00
parent b8c520d600
commit 2fa4e8b410
4 changed files with 14 additions and 1 deletions
+11
View File
@@ -39,3 +39,14 @@ vim.cmd [[
autocmd FileType eruby nnoremap <buffer> <Leader>s :call ToggleERBSyntax()<CR> autocmd FileType eruby nnoremap <buffer> <Leader>s :call ToggleERBSyntax()<CR>
augroup END augroup END
]] ]]
-- terraform language keybindings
vim.cmd [[
augroup lang_terraform
autocmd!
autocmd BufNewFile,BufRead *.tf set filetype=terraform
augroup END
]]
+1
View File
@@ -49,6 +49,7 @@ function! OpenPuppetProfileOrRole(layout)
" List modules in puppet-control here " List modules in puppet-control here
let module_list = [] let module_list = []
call add(module_list, 'certbot') call add(module_list, 'certbot')
call add(module_list, 'droneci')
call add(module_list, 'glauth') call add(module_list, 'glauth')
call add(module_list, 'jellyfin') call add(module_list, 'jellyfin')
call add(module_list, 'lidarr') call add(module_list, 'lidarr')
+1
View File
@@ -33,6 +33,7 @@ return require('packer').startup(function(use)
use 'hrsh7th/cmp-path' use 'hrsh7th/cmp-path'
use 'hrsh7th/cmp-buffer' use 'hrsh7th/cmp-buffer'
use 'hrsh7th/vim-vsnip' use 'hrsh7th/vim-vsnip'
use "rafamadriz/friendly-snippets"
-- telescope -- telescope
use { use {