mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-11-11 07:55:31 +00:00
otter: change assert into a warning
This commit is contained in:
parent
414c92276e
commit
6c2c236a5b
1 changed files with 6 additions and 7 deletions
|
|
@ -15,13 +15,12 @@
|
||||||
mappings = addDescriptionsToMappings cfg.otter-nvim.mappings mappingDefinitions;
|
mappings = addDescriptionsToMappings cfg.otter-nvim.mappings mappingDefinitions;
|
||||||
in {
|
in {
|
||||||
config = mkIf (cfg.enable && cfg.otter-nvim.enable) {
|
config = mkIf (cfg.enable && cfg.otter-nvim.enable) {
|
||||||
assertions = [
|
warnings = [
|
||||||
{
|
# TODO: remove warning when we update to nvim 0.11
|
||||||
assertion = !config.vim.utility.ccc.enable;
|
(mkIf config.vim.utility.ccc.enable ''
|
||||||
message = ''
|
ccc and otter have conflict that will disappear with nvim 0.11.
|
||||||
ccc and otter have a breaking conflict. It's been reported upstream. Until it's fixed, disable one of them
|
In the meantime, otter handles it by throwing a warnign, but both plugins will work.
|
||||||
'';
|
'')
|
||||||
}
|
|
||||||
];
|
];
|
||||||
vim = {
|
vim = {
|
||||||
startPlugins = ["otter-nvim"];
|
startPlugins = ["otter-nvim"];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue