mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-27 07:26:46 +00:00
added assertion to make sure ccc and otter aren't enabled at the same time
This commit is contained in:
parent
51710d33c6
commit
d8d834be35
1 changed files with 8 additions and 0 deletions
|
@ -14,6 +14,14 @@
|
||||||
mappings = addDescriptionsToMappings cfg.otter.mappings mappingDefinitions;
|
mappings = addDescriptionsToMappings cfg.otter.mappings mappingDefinitions;
|
||||||
in {
|
in {
|
||||||
config = mkIf (cfg.enable && cfg.otter.enable) {
|
config = mkIf (cfg.enable && cfg.otter.enable) {
|
||||||
|
assertions = [
|
||||||
|
{
|
||||||
|
assertion = !config.vim.utility.ccc.enable;
|
||||||
|
message = ''
|
||||||
|
ccc and otter have a breaking conflict. It's been reported upstream. Until it's fixed, disable one of them
|
||||||
|
'';
|
||||||
|
}
|
||||||
|
];
|
||||||
vim = {
|
vim = {
|
||||||
startPlugins = ["otter-nvim"];
|
startPlugins = ["otter-nvim"];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue