mirror of
https://github.com/LunarVim/LunarVim.git
synced 2024-09-21 02:55:09 +02:00
update galaxyline filetype, spaces, encoding
This commit is contained in:
parent
0adfd1470e
commit
d9a888e966
2 changed files with 60 additions and 19 deletions
21
README.md
21
README.md
|
@ -140,28 +140,25 @@ Topic](https://github.com/topics/vscode-snippets)
|
||||||
**HIGH PRIORITY**
|
**HIGH PRIORITY**
|
||||||
|
|
||||||
- learn nvim-dap in depth
|
- learn nvim-dap in depth
|
||||||
- add utf8 line col and spaces (maybe blame)
|
|
||||||
- potentially switch to dashboard
|
- potentially switch to dashboard
|
||||||
- vim ult test
|
- vim ult test
|
||||||
- learn what opt is
|
|
||||||
|
|
||||||
**LOW PRIORITY**
|
|
||||||
|
|
||||||
- Implement what I can from this java config:
|
- Implement what I can from this java config:
|
||||||
[link](https://github.com/mfussenegger/nvim-jdtls/wiki/Sample-Configurations)
|
[link](https://github.com/mfussenegger/nvim-jdtls/wiki/Sample-Configurations)
|
||||||
- better ui for code actions - formatting
|
- better ui for code actions - formatting
|
||||||
- setup junit tests for java
|
- setup junit tests for java
|
||||||
- neovim lightbulb config
|
- neovim lightbulb config
|
||||||
- better autoimport
|
|
||||||
- can' find global bianry for markdownlint
|
|
||||||
- spell not activated in readme Markdown
|
|
||||||
- list all binaries needed for functionality
|
- list all binaries needed for functionality
|
||||||
- keep and eye on indent guides plugin for thin lines
|
|
||||||
- look into autoinstall lsp
|
|
||||||
- update Vista symbols
|
|
||||||
- get logo
|
|
||||||
- configure neogit
|
- configure neogit
|
||||||
- toggle virtual text diagnostics
|
- toggle virtual text diagnostics
|
||||||
|
|
||||||
|
**LOW PRIORITY**
|
||||||
|
|
||||||
|
- spell not activated in readme Markdown
|
||||||
|
- better autoimport
|
||||||
|
- can' find global bianry for markdownlint
|
||||||
|
- keep and eye on indent guides plugin for thin lines
|
||||||
|
- look into autoinstall lsp
|
||||||
|
- get logo
|
||||||
- move language servers not installed with npm to neovim local share
|
- move language servers not installed with npm to neovim local share
|
||||||
location
|
location
|
||||||
- json config file (luajson)
|
- json config file (luajson)
|
||||||
|
|
|
@ -52,7 +52,7 @@ gls.left[1] = {
|
||||||
vim.api.nvim_command('hi GalaxyViMode guifg=' .. mode_color[vim.fn.mode()])
|
vim.api.nvim_command('hi GalaxyViMode guifg=' .. mode_color[vim.fn.mode()])
|
||||||
return '▊ '
|
return '▊ '
|
||||||
end,
|
end,
|
||||||
highlight = {colors.red, colors.bg, 'bold'}
|
highlight = {colors.red, colors.bg}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
print(vim.fn.getbufvar(0,'ts'))
|
print(vim.fn.getbufvar(0,'ts'))
|
||||||
|
@ -66,7 +66,7 @@ gls.left[2] = {
|
||||||
condition = condition.check_git_workspace,
|
condition = condition.check_git_workspace,
|
||||||
separator = ' ',
|
separator = ' ',
|
||||||
separator_highlight = {'NONE', colors.bg},
|
separator_highlight = {'NONE', colors.bg},
|
||||||
highlight = {colors.orange, colors.bg, 'bold'}
|
highlight = {colors.orange, colors.bg}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -76,7 +76,7 @@ gls.left[3] = {
|
||||||
condition = condition.check_git_workspace,
|
condition = condition.check_git_workspace,
|
||||||
separator = ' ',
|
separator = ' ',
|
||||||
separator_highlight = {'NONE', colors.bg},
|
separator_highlight = {'NONE', colors.bg},
|
||||||
highlight = {colors.grey, colors.bg, 'bold'}
|
highlight = {colors.grey, colors.bg}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -145,7 +145,7 @@ gls.right[5] = {
|
||||||
return true
|
return true
|
||||||
end,
|
end,
|
||||||
icon = ' ',
|
icon = ' ',
|
||||||
highlight = {colors.grey, colors.bg, 'bold'}
|
highlight = {colors.grey, colors.bg}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -163,16 +163,60 @@ gls.right[7] = {
|
||||||
provider = 'LinePercent',
|
provider = 'LinePercent',
|
||||||
separator = ' ',
|
separator = ' ',
|
||||||
separator_highlight = {'NONE', colors.bg},
|
separator_highlight = {'NONE', colors.bg},
|
||||||
highlight = {colors.grey, colors.bg, 'bold'}
|
highlight = {colors.grey, colors.bg}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
gls.right[8] = {
|
||||||
|
Tabstop = {
|
||||||
|
provider = function()
|
||||||
|
return "Spaces: " .. vim.api.nvim_buf_get_option(0, "tabstop") .. " "
|
||||||
|
end,
|
||||||
|
condition = condition.hide_in_width,
|
||||||
|
separator = ' ',
|
||||||
|
separator_highlight = {'NONE', colors.bg},
|
||||||
|
highlight = {colors.grey, colors.bg}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
gls.right[9] = {
|
||||||
|
BufferType = {
|
||||||
|
provider = 'FileTypeName',
|
||||||
|
condition = condition.hide_in_width,
|
||||||
|
separator = ' ',
|
||||||
|
separator_highlight = {'NONE', colors.bg},
|
||||||
|
highlight = {colors.grey, colors.bg}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
gls.right[10] = {
|
||||||
|
FileEncode = {
|
||||||
|
provider = 'FileEncode',
|
||||||
|
condition = condition.hide_in_width,
|
||||||
|
separator = ' ',
|
||||||
|
separator_highlight = {'NONE',colors.bg},
|
||||||
|
highlight = {colors.grey, colors.bg}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
gls.right[11] = {
|
||||||
|
Space = {
|
||||||
|
provider = function()
|
||||||
|
return ' '
|
||||||
|
end,
|
||||||
|
separator = ' ',
|
||||||
|
separator_highlight = {'NONE', colors.bg},
|
||||||
|
highlight = {colors.orange, colors.bg}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
gls.short_line_left[1] = {
|
gls.short_line_left[1] = {
|
||||||
BufferType = {
|
BufferType = {
|
||||||
provider = 'FileTypeName',
|
provider = 'FileTypeName',
|
||||||
separator = ' ',
|
separator = ' ',
|
||||||
separator_highlight = {'NONE', colors.bg},
|
separator_highlight = {'NONE', colors.bg},
|
||||||
highlight = {colors.grey, colors.bg, 'bold'}
|
highlight = {colors.grey, colors.bg}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -180,7 +224,7 @@ gls.short_line_left[2] = {
|
||||||
SFileName = {
|
SFileName = {
|
||||||
provider = 'SFileName',
|
provider = 'SFileName',
|
||||||
condition = condition.buffer_not_empty,
|
condition = condition.buffer_not_empty,
|
||||||
highlight = {colors.grey, colors.bg, 'bold'}
|
highlight = {colors.grey, colors.bg}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue