lazy load nvim ft specific plugins

This commit is contained in:
Tobias Manske 2023-01-18 00:08:58 +01:00
parent 2dbe1b6228
commit bd61358c17
Signed by: tobias
GPG Key ID: E83C743C1FC2F79A

View File

@ -104,13 +104,13 @@ require('packer').startup(function(use)
use 'johann2357/nvim-smartbufs'
-- Latex preview
use 'xuhdev/vim-latex-live-preview'
use {'xuhdev/vim-latex-live-preview', ft = 'tex', bufread = true}
-- DevOps Quatsch
use 'cespare/vim-toml'
use 'mrk21/yaml-vim'
use 'hashivim/vim-terraform'
use 'pedrohdz/vim-yaml-folds'
use {'cespare/vim-toml', ft = 'toml'}
use {'mrk21/yaml-vim', ft = 'yaml'}
use {'hashivim/vim-terraform', ft = 'terraform'}
use {'pedrohdz/vim-yaml-folds', ft = 'yaml'}
-- Add custom plugins to packer from ~/.config/nvim/lua/custom/plugins.lua
local has_plugins, plugins = pcall(require, 'custom.plugins')