From 88ece0765d8ccf73c92eb26a826676a78209ee2c Mon Sep 17 00:00:00 2001 From: Siddhartha Menon <42359201+Sqvid@users.noreply.github.com> Date: Thu, 20 Jul 2023 15:25:14 +0100 Subject: [PATCH] Add icon to statusline spelling module --- neovim/.config/nvim/init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/neovim/.config/nvim/init.lua b/neovim/.config/nvim/init.lua index 87926db..6290ce4 100644 --- a/neovim/.config/nvim/init.lua +++ b/neovim/.config/nvim/init.lua @@ -42,7 +42,7 @@ require("lazy").setup { {"folke/tokyonight.nvim", priority = 1000}, -- Statusline plugin written in pure lua. "nvim-lualine/lualine.nvim", - -- Adds icons to Neovim plugins + -- Adds icons to Neovim plugins. {"nvim-tree/nvim-web-devicons", lazy = true}, -- Extension and language-server host for Neovim. {"neoclide/coc.nvim", branch = "release"}, @@ -59,7 +59,7 @@ require("tokyonight").setup { -- Lualine local function spellStatus() if vim.wo.spell == true then -- Note that 'spell' is a window option, so: wo - return '[' .. vim.bo.spelllang .. ']' + return "󰓆 " .. vim.bo.spelllang end return '' end