From f8c9d03ed01a4de450c5ffc5eca10493e324bf97 Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Tue, 22 Aug 2023 20:23:16 +0800 Subject: Update --- nvim.lua | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'nvim.lua') diff --git a/nvim.lua b/nvim.lua index d61b68c..9aa5c07 100644 --- a/nvim.lua +++ b/nvim.lua @@ -77,6 +77,7 @@ require('lazy').setup({ -- For surrounding 'machakann/vim-sandwich', + -- NOTE: This is where your plugins related to LSP can be installed. @@ -115,7 +116,14 @@ require('lazy').setup({ }, -- Useful plugin to show you pending keybinds. - { 'folke/which-key.nvim', opts = {} }, + { 'folke/which-key.nvim', opts = { + plugins = { + spelling = { + enabled = true, -- enabling this will show WhichKey when pressing z= to select spelling suggestions + suggestions = 20, -- how many suggestions should be shown in the list? + }, + }} + }, { -- Adds git related signs to the gutter, as well as utilities for managing changes 'lewis6991/gitsigns.nvim', -- cgit v1.2.3-70-g09d2