diff --git a/lua/custom/plugins/web-devicons.lua b/lua/custom/plugins/web-devicons.lua new file mode 100644 index 00000000..6fc7b012 --- /dev/null +++ b/lua/custom/plugins/web-devicons.lua @@ -0,0 +1 @@ +return { 'nvim-tree/nvim-web-devicons' } diff --git a/lua/custom/plugins/which-key.lua b/lua/custom/plugins/which-key.lua index addc5996..a146b571 100644 --- a/lua/custom/plugins/which-key.lua +++ b/lua/custom/plugins/which-key.lua @@ -1,5 +1,8 @@ return { -- Useful plugin to show you pending keybinds. 'folke/which-key.nvim', + dependencies = { + 'nvim-tree/nvim-web-devicons', + }, event = 'VimEnter', -- Sets the loading event to 'VimEnter' opt = { icons = { diff --git a/lua/set.lua b/lua/set.lua index c90e7159..e713d6d6 100644 --- a/lua/set.lua +++ b/lua/set.lua @@ -78,3 +78,8 @@ vim.opt.cursorline = true -- Minimal number of screen lines to keep above and below the cursor. vim.opt.scrolloff = 10 + +-- Spellchecker +vim.opt.spelllang = 'en' +vim.opt.spell = true +vim.opt.spellfile = os.getenv 'HOME' .. '/.config/nvim/spell/en.utf-8.add'