lualine fix + more language servers
This commit is contained in:
parent
5f50a2edca
commit
dbc5cf7810
5 changed files with 10 additions and 1 deletions
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
# Used to override theme, see lua/plugins/statusbar.lua
|
||||
lua/config/lualine.lua
|
||||
|
|
@ -4,6 +4,8 @@ local requires = {
|
|||
'lua_ls',
|
||||
'clangd',
|
||||
'dartls',
|
||||
'gopls',
|
||||
'ols',
|
||||
}
|
||||
local lsps = {}
|
||||
|
||||
|
|
|
|||
1
lua/lsp/gopls.lua
Normal file
1
lua/lsp/gopls.lua
Normal file
|
|
@ -0,0 +1 @@
|
|||
return {}
|
||||
1
lua/lsp/ols.lua
Normal file
1
lua/lsp/ols.lua
Normal file
|
|
@ -0,0 +1 @@
|
|||
return {}
|
||||
|
|
@ -1,10 +1,13 @@
|
|||
-- config.lualine is simply `return '<THEME>'`, this is used to avoid lualine error
|
||||
local theme = require 'config.lualine' or 'auto'
|
||||
|
||||
return {
|
||||
{
|
||||
'nvim-lualine/lualine.nvim',
|
||||
dependencies = { 'nvim-tree/nvim-web-devicons' },
|
||||
opts = {
|
||||
options = {
|
||||
theme = 'pywal',
|
||||
theme = theme,
|
||||
section_separators = { left = '/', right = '/' },
|
||||
component_separators = { left = '/', right = '/' },
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue