Extract coq configs into proper packer config module
This commit is contained in:
parent
afe3aa186f
commit
6af59d8799
3 changed files with 3 additions and 7 deletions
2
vim/lua/config/coq.lua
Normal file
2
vim/lua/config/coq.lua
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
require("coq")
|
||||||
|
vim.api.nvim_command("command COQ COQnow --shut-up")
|
|
@ -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)
|
|
|
@ -41,7 +41,7 @@ use {
|
||||||
};
|
};
|
||||||
'folke/twilight.nvim';
|
'folke/twilight.nvim';
|
||||||
'leafo/moonscript-vim';
|
'leafo/moonscript-vim';
|
||||||
'ms-jpq/coq_nvim';
|
{'ms-jpq/coq_nvim', config = require 'config.coq'};
|
||||||
'ms-jpq/coq.artifacts';
|
'ms-jpq/coq.artifacts';
|
||||||
'ms-jpq/coq.thirdparty';
|
'ms-jpq/coq.thirdparty';
|
||||||
'neovim/nvim-lspconfig';
|
'neovim/nvim-lspconfig';
|
||||||
|
|
Loading…
Reference in a new issue