Extract coq configs into proper packer config module

This commit is contained in:
Talia 2024-12-17 18:28:45 +01:00
parent afe3aa186f
commit 6af59d8799
3 changed files with 3 additions and 7 deletions

2
vim/lua/config/coq.lua Normal file
View file

@ -0,0 +1,2 @@
require("coq")
vim.api.nvim_command("command COQ COQnow --shut-up")

View file

@ -1,6 +0,0 @@
xpcall(function()
require("coq")
vim.api.nvim_command("command COQ COQnow --shut-up")
end, function()
vim.api.nvim_command("command COQ echoerr 'COQ not loaded.'")
end)

View file

@ -41,7 +41,7 @@ use {
};
'folke/twilight.nvim';
'leafo/moonscript-vim';
'ms-jpq/coq_nvim';
{'ms-jpq/coq_nvim', config = require 'config.coq'};
'ms-jpq/coq.artifacts';
'ms-jpq/coq.thirdparty';
'neovim/nvim-lspconfig';