From 177af37a9066c08236f3e68d36307ca8f7c704e6 Mon Sep 17 00:00:00 2001 From: max397574 Date: Mon, 31 Jan 2022 10:41:31 +0100 Subject: feat(init): allow to disable on startup with variable --- readme.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'readme.md') diff --git a/readme.md b/readme.md index bed57a7..d9e14dc 100644 --- a/readme.md +++ b/readme.md @@ -279,6 +279,20 @@ The same applies to headers. Here you can use them with `require("startup.headers").header_name`. They are documented in `:help startup_nvim.headers`. A good tool to create your own headers is [image to braille](https://505e06b2.github.io/Image-to-Braille/). + +Conflicts with other plugins like auto-session +---------------------------------------------- +If this plugin conflict with other plugins you can disable it on startup. +For this you need to set `vim.g.startup_disable_on_startup` to `true`. +You can do that like this: +```lua +config = function() + vim.g.startup_disable_on_startup = true + require("startup").setup(require("configs.startup_nvim")) +end +``` + +You can still display it later then with `:Startup display`. 👀 Screenshots -------------- -- cgit v1.2.3