feat: Add ctrlspace extension (#1121)

This commit is contained in:
Jethro Cao 2023-10-19 22:32:27 -05:00 committed by GitHub
parent 7533b0ead6
commit d3f3395b91
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 1 deletions

View File

@ -900,11 +900,13 @@ extensions = {'quickfix'}
- aerial
- chadtree
- ctrlspace
- fern
- fugitive
- fzf
- lazy
- man
- mason
- mundo
- neo-tree
- nerdtree
@ -915,7 +917,6 @@ extensions = {'quickfix'}
- symbols-outline
- toggleterm
- trouble
- mason
#### Custom extensions

View 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