lualine fix + more language servers

This commit is contained in:
Alexey 2026-08-12 15:46:22 +03:00
commit dbc5cf7810
5 changed files with 10 additions and 1 deletions

2
.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
# Used to override theme, see lua/plugins/statusbar.lua
lua/config/lualine.lua

View file

@ -4,6 +4,8 @@ local requires = {
'lua_ls', 'lua_ls',
'clangd', 'clangd',
'dartls', 'dartls',
'gopls',
'ols',
} }
local lsps = {} local lsps = {}

1
lua/lsp/gopls.lua Normal file
View file

@ -0,0 +1 @@
return {}

1
lua/lsp/ols.lua Normal file
View file

@ -0,0 +1 @@
return {}

View file

@ -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 { return {
{ {
'nvim-lualine/lualine.nvim', 'nvim-lualine/lualine.nvim',
dependencies = { 'nvim-tree/nvim-web-devicons' }, dependencies = { 'nvim-tree/nvim-web-devicons' },
opts = { opts = {
options = { options = {
theme = 'pywal', theme = theme,
section_separators = { left = '/', right = '/' }, section_separators = { left = '/', right = '/' },
component_separators = { left = '/', right = '/' }, component_separators = { left = '/', right = '/' },
}, },