summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbouzar Parvan <[email protected]>2021-07-07 11:06:56 +0430
committerGitHub <[email protected]>2021-07-07 02:36:56 -0400
commitcd7da503505d6707fbe9f674e8b75fed00f1e690 (patch)
tree63eb61a3fde456a0014bb5d097b751ec85427aa2
parentafcf526407c76fe487edc44a6e65daa5e7991b5d (diff)
custom_plugins has been renamed to user_plugins (#745)
-rw-r--r--README.md15
-rw-r--r--utils/installer/lv-config.example.lua2
2 files changed, 16 insertions, 1 deletions
diff --git a/README.md b/README.md
index 90314c58..192f9721 100644
--- a/README.md
+++ b/README.md
@@ -75,6 +75,21 @@ O.lang.tsserver.autoformat = true
-- json
O.lang.json.autoformat = true
+
+-- Additional Plugins
+-- O.user_plugins = {{"windwp/nvim-ts-autotag"}}
+
+-- Autocommands (https://neovim.io/doc/user/autocmd.html)
+-- O.user_autocommands = {{ "BufWinEnter", "*", "echo \"hi again\""}}
+
+-- Additional Leader bindings for WhichKey
+-- O.user_which_key = {
+-- A = {
+-- name = "+Custom Leader Keys",
+-- a = { "<cmd>echo 'first custom command'<cr>", "Description for a" },
+-- b = { "<cmd>echo 'second custom command'<cr>", "Description for b" },
+-- },
+-- }
```
**NOTE** After changing a setting it is important to exit LunarVim and run the following:
diff --git a/utils/installer/lv-config.example.lua b/utils/installer/lv-config.example.lua
index c4333a4b..958debc0 100644
--- a/utils/installer/lv-config.example.lua
+++ b/utils/installer/lv-config.example.lua
@@ -45,7 +45,7 @@ O.lang.python.analysis.use_library_code_types = true
O.lang.tsserver.linter = nil
-- Additional Plugins
--- O.custom_plugins = {{"windwp/nvim-ts-autotag"}}
+-- O.user_plugins = {{"windwp/nvim-ts-autotag"}}
-- Autocommands (https://neovim.io/doc/user/autocmd.html)
-- O.user_autocommands = {{ "BufWinEnter", "*", "echo \"hi again\""}}