aboutsummaryrefslogtreecommitdiff
path: root/readme.md
diff options
context:
space:
mode:
authormax397574 <[email protected]>2022-01-31 10:41:31 +0100
committermax397574 <[email protected]>2022-01-31 10:41:31 +0100
commit177af37a9066c08236f3e68d36307ca8f7c704e6 (patch)
treeee6a2bf7e2bbcb29368043d129229f3e5fefcabf /readme.md
parent4e8d8c513d5d00d670d375970c540a640ad69f1e (diff)
feat(init): allow to disable on startup with variable
Diffstat (limited to 'readme.md')
-rw-r--r--readme.md14
1 files changed, 14 insertions, 0 deletions
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
--------------