1
- vim .g .airline_left_sep = " "
2
- vim .g .airline_right_sep = " "
3
- vim .g .airline_theme = " base16"
4
-
5
1
-- Diagnostic Settings
6
2
vim .fn .sign_define (" DiagnosticSignError" , { text = " " , texthl = " DiagnosticSignError" })
7
3
vim .fn .sign_define (" DiagnosticSignWarn" , { text = " " , texthl = " DiagnosticSignWarn" })
@@ -22,120 +18,6 @@ return {
22
18
})
23
19
end ,
24
20
},
25
- -- Status line
26
- {
27
- ' nvim-lualine/lualine.nvim' ,
28
- dependencies = { ' nvim-tree/nvim-web-devicons' },
29
- config = function ()
30
- -- TODO: This doesn't work, setting the background via nord theme override
31
- vim .cmd [[ hi lualine_c_normal guibg=NONE ]]
32
-
33
- local nord_theme_custom = require (' lualine.themes.nord' )
34
- nord_theme_custom .normal .c .bg = ' none'
35
- -- nord_theme_custom.normal.c.fg = 'darker_white'
36
- nord_theme_custom .inactive .c .bg = ' none'
37
-
38
- local mode_map = {
39
- [' NORMAL' ] = ' N' ,
40
- [' O-PENDING' ] = ' N?' ,
41
- [' INSERT' ] = ' I' ,
42
- [' VISUAL' ] = ' V' ,
43
- [' V-BLOCK' ] = ' VB' ,
44
- [' V-LINE' ] = ' VL' ,
45
- [' V-REPLACE' ] = ' VR' ,
46
- [' REPLACE' ] = ' R' ,
47
- [' COMMAND' ] = ' !' ,
48
- [' SHELL' ] = ' SH' ,
49
- [' TERMINAL' ] = ' T' ,
50
- [' EX' ] = ' X' ,
51
- [' S-BLOCK' ] = ' SB' ,
52
- [' S-LINE' ] = ' SL' ,
53
- [' SELECT' ] = ' S' ,
54
- [' CONFIRM' ] = ' Y?' ,
55
- [' MORE' ] = ' M' ,
56
- }
57
-
58
- require (' lualine' ).setup ({
59
- options = {
60
- theme = nord_theme_custom ,
61
- section_separators = { left = ' ' , right = ' ' },
62
- component_separators = { left = ' ' , right = ' ' },
63
- globalstatus = true ,
64
- },
65
- sections = {
66
- lualine_a = {},
67
- lualine_b = {},
68
- lualine_c = {},
69
- lualine_x = {
70
- ' overseer' ,
71
- {
72
- ' diagnostics' ,
73
-
74
- sources = { ' nvim_lsp' , ' nvim_diagnostic' },
75
- sections = { ' error' , ' warn' , ' info' , ' hint' },
76
-
77
- diagnostics_color = {
78
- error = ' DiagnosticError' , -- Changes diagnostics' error color.
79
- info = ' DiagnosticInfo' , -- Changes diagnostics' info color.
80
- hint = ' DiagnosticHint' , -- Changes diagnostics' hint color.
81
- },
82
- -- symbols = { error = '', warn = '', info = '', hint = '' },
83
- symbols = { error = ' ' , warn = ' ' , info = ' ' },
84
- colored = true , -- Displays diagnostics status in color if set to true.
85
- update_in_insert = true , -- Update diagnostics in insert mode.
86
- always_visible = false , -- Show diagnostics even if there are none.
87
- },
88
- {
89
- ' filename' ,
90
- path = 1 ,
91
- symbols = {
92
- modified = ' ' ,
93
- readonly = ' ' ,
94
- unnamed = ' ' ,
95
- newfile = ' ' ,
96
- },
97
- },
98
- {
99
- ' filetype' ,
100
- colored = true ,
101
- icon_only = true ,
102
- },
103
- },
104
- lualine_y = {
105
- { ' b:gitsigns_head' , icon = ' ' },
106
- },
107
- lualine_z = {
108
- {
109
- ' mode' ,
110
- fmt = function (mode )
111
- return mode_map [mode ] or mode
112
- end ,
113
- },
114
- },
115
- },
116
- inactive_sections = {
117
- lualine_a = {},
118
- lualine_b = {},
119
- lualine_c = {},
120
- lualine_x = {},
121
- lualine_y = { ' filename' },
122
- lualine_z = {},
123
- },
124
- extensions = {
125
- ' nvim-tree' ,
126
- ' mason' ,
127
- ' lazy' ,
128
- },
129
- })
130
- end ,
131
- },
132
-
133
- -- Status line in Tmux
134
- {
135
- " vimpostor/vim-tpipeline" ,
136
- event = " VeryLazy" ,
137
- },
138
-
139
21
-- Status Column
140
22
{
141
23
" lewis6991/gitsigns.nvim" ,
0 commit comments