From 98f8a77819670ce6012216e01885c135a6d3a289 Mon Sep 17 00:00:00 2001 From: Christian Chiarulli Date: Sat, 24 Jul 2021 21:17:11 -0400 Subject: New contract (#1080) Changes to the global config object O is now lvim user_plugins is now plugins user_autocommands is now autocommands No more lang specific plugins Null-ls has replaced both formatter.nvim and nvim-lint --- README.md | 20 +++++--------------- 1 file changed, 5 insertions(+), 15 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 6077256c..080d19d2 100644 --- a/README.md +++ b/README.md @@ -77,12 +77,10 @@ Example: -- O.format_on_save = false -- to disbale formatting on save -- O.lint_on_save = false -- to disable formatting on save O.completion.autocomplete = true -O.default_options.relativenumber = true O.colorscheme = 'spacegray' -O.default_options.timeoutlen = 100 -- keymappings -O.keys.leader_key = "space" +O.leader = "space" -- overwrite the key-mappings provided by LunarVim for any mode, or leave it empty to keep them O.keys.normal_mode = { -- Page down/up @@ -101,7 +99,6 @@ vim.api.nvim_set_keymap("i", "", "compe#complete()", { noremap = true, -- After changing plugin config it is recommended to run :PackerCompile O.plugin.dashboard.active = true O.plugin.terminal.active = true -O.plugin.zen.active = true -- if you don't want all the parsers change this to a table of the ones you want O.treesitter.ensure_installed = "all" @@ -142,7 +139,7 @@ O.lang.python.analysis.use_library_code_types = true -- O.lang.formatter.go.exe = "goimports" -- Additional Plugins --- O.user_plugins = { +-- O.plugins = { -- {"folke/tokyonight.nvim"}, -- { -- "ray-x/lsp_signature.nvim", @@ -156,16 +153,9 @@ O.lang.python.analysis.use_library_code_types = true -- } -- 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 = { "echo 'first custom command'", "Description for a" }, --- b = { "echo 'second custom command'", "Description for b" }, --- }, --- } +-- O.autocommands = {{ "BufWinEnter", "*", "echo \"hi again\""}} + +-- TODO Additional Leader bindings for WhichKey -- To link your init.vim (until you find Lua replacements) -- vim.cmd('source ' .. CONFIG_PATH .. '/lua/lv-user/init.vim') -- cgit v1.2.3