Nvim: limit some plugins to only load on specific filetypes
This commit is contained in:
parent
88da85e368
commit
d07aa82cda
1 changed files with 5 additions and 5 deletions
|
@ -110,7 +110,7 @@ local plugins = {
|
||||||
},
|
},
|
||||||
|
|
||||||
-- vim api documentation for lua lsp
|
-- vim api documentation for lua lsp
|
||||||
"ii14/emmylua-nvim",
|
{ "ii14/emmylua-nvim", ft = { "lua" } },
|
||||||
|
|
||||||
-- Completion
|
-- Completion
|
||||||
{
|
{
|
||||||
|
@ -182,10 +182,10 @@ local plugins = {
|
||||||
},
|
},
|
||||||
|
|
||||||
-- Vim ♥️ Asciidoctor
|
-- Vim ♥️ Asciidoctor
|
||||||
"habamax/vim-asciidoctor",
|
{ "habamax/vim-asciidoctor", ft = { "asciidoctor", "asciidoc" } },
|
||||||
|
|
||||||
-- Asciidoc preview
|
-- Asciidoc preview
|
||||||
{ "tigion/nvim-asciidoc-preview", ft = { "asciidoctor" } },
|
{ "tigion/nvim-asciidoc-preview", ft = { "asciidoctor", "asciidoc" } },
|
||||||
|
|
||||||
-- Markdown preview
|
-- Markdown preview
|
||||||
{
|
{
|
||||||
|
@ -198,7 +198,7 @@ local plugins = {
|
||||||
},
|
},
|
||||||
|
|
||||||
-- Edit GPG encrypted files transparently
|
-- Edit GPG encrypted files transparently
|
||||||
"jamessan/vim-gnupg",
|
{ "jamessan/vim-gnupg", ft = { "gpg" } },
|
||||||
|
|
||||||
-- High performance color highlighter
|
-- High performance color highlighter
|
||||||
{
|
{
|
||||||
|
@ -207,7 +207,7 @@ local plugins = {
|
||||||
},
|
},
|
||||||
|
|
||||||
-- Caddyfile syntax support
|
-- Caddyfile syntax support
|
||||||
"isobit/vim-caddyfile",
|
{ "isobit/vim-caddyfile", ft = "caddyfile" },
|
||||||
|
|
||||||
-- Startup dashboard
|
-- Startup dashboard
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue