feat: Add ctrlspace extension (#1121)
This commit is contained in:
parent
7533b0ead6
commit
d3f3395b91
@ -900,11 +900,13 @@ extensions = {'quickfix'}
|
|||||||
|
|
||||||
- aerial
|
- aerial
|
||||||
- chadtree
|
- chadtree
|
||||||
|
- ctrlspace
|
||||||
- fern
|
- fern
|
||||||
- fugitive
|
- fugitive
|
||||||
- fzf
|
- fzf
|
||||||
- lazy
|
- lazy
|
||||||
- man
|
- man
|
||||||
|
- mason
|
||||||
- mundo
|
- mundo
|
||||||
- neo-tree
|
- neo-tree
|
||||||
- nerdtree
|
- nerdtree
|
||||||
@ -915,7 +917,6 @@ extensions = {'quickfix'}
|
|||||||
- symbols-outline
|
- symbols-outline
|
||||||
- toggleterm
|
- toggleterm
|
||||||
- trouble
|
- trouble
|
||||||
- mason
|
|
||||||
|
|
||||||
#### Custom extensions
|
#### Custom extensions
|
||||||
|
|
||||||
|
12
lua/lualine/extensions/ctrlspace.lua
Normal file
12
lua/lualine/extensions/ctrlspace.lua
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
local M = {}
|
||||||
|
|
||||||
|
M.sections = {
|
||||||
|
lualine_a = { function() return vim.fn['ctrlspace#context#Configuration']().Symbols.CS end },
|
||||||
|
lualine_b = { 'ctrlspace#api#StatuslineModeSegment' },
|
||||||
|
lualine_y = { 'ctrlspace#api#StatuslineTabSegment' },
|
||||||
|
lualine_z = { function() return 'CtrlSpace' end },
|
||||||
|
}
|
||||||
|
|
||||||
|
M.filetypes = { 'ctrlspace' }
|
||||||
|
|
||||||
|
return M
|
Loading…
x
Reference in New Issue
Block a user