summaryrefslogtreecommitdiffstats
path: root/.config/nvim/lua
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/lua')
-rw-r--r--.config/nvim/lua/plugin_settings.lua14
1 files changed, 12 insertions, 2 deletions
diff --git a/.config/nvim/lua/plugin_settings.lua b/.config/nvim/lua/plugin_settings.lua
index e9c4cd4..3676c4b 100644
--- a/.config/nvim/lua/plugin_settings.lua
+++ b/.config/nvim/lua/plugin_settings.lua
@@ -29,6 +29,15 @@ g.vimwiki_hl_headers = 1
29-- }}} vimwiki -- 29-- }}} vimwiki --
30 30
31-- lualine {{{ -- 31-- lualine {{{ --
32
33local function lualine_spell()
34 if vim.wo.spell then
35 return [[spell]]
36 else
37 return
38 end
39end
40
32require'lualine'.setup { 41require'lualine'.setup {
33 options = { 42 options = {
34 lower = false, 43 lower = false,
@@ -40,7 +49,7 @@ require'lualine'.setup {
40 }, 49 },
41 sections = { 50 sections = {
42 lualine_a = {{'mode', lower = true}}, 51 lualine_a = {{'mode', lower = true}},
43 lualine_b = {'branch', 'diff'}, 52 lualine_b = {'branch', 'diff', {lualine_spell}},
44 lualine_c = {'filename'}, 53 lualine_c = {'filename'},
45 lualine_x = {'encoding', 'fileformat', 'filetype'}, 54 lualine_x = {'encoding', 'fileformat', 'filetype'},
46 lualine_y = {'progress'}, 55 lualine_y = {'progress'},
@@ -64,7 +73,8 @@ require'lualine'.setup {
64 tabline = {}, 73 tabline = {},
65 extensions = {} 74 extensions = {}
66} 75}
67-- }}} requi -- 76
77-- }}} lualine --
68 78
69-- cutlass suite {{{ -- 79-- cutlass suite {{{ --
70 80