comparison .chezmoitemplates/init.lua @ 735:972d55bec218

feat: enable spelling suggestions in which-key
author zegervdv <zegervdv@me.com>
date Sat, 17 Dec 2022 16:31:07 +0100
parents 485de5dc7ef2
children 179f83e1a479
comparison
equal deleted inserted replaced
734:485de5dc7ef2 735:972d55bec218
285 -- Keymap help 285 -- Keymap help
286 use { 286 use {
287 'folke/which-key.nvim', 287 'folke/which-key.nvim',
288 config = function() 288 config = function()
289 require('which-key').setup { 289 require('which-key').setup {
290 triggers = { '<leader>', 'g', '<c-w>', '"', '`' }, 290 plugins = {
291 spelling = {
292 enabled = true,
293 suggestions = 20,
294 },
295 },
296 triggers = { '<leader>', 'g', '<c-w>', '"', '`', 'z' },
291 } 297 }
292 end, 298 end,
293 } 299 }
294 300
295 -- Completion/snippets/LSP 301 -- Completion/snippets/LSP