Updated theme

This commit is contained in:
2023-06-11 21:31:37 +02:00
parent 09202e9cc9
commit e23c98ae69
7 changed files with 88 additions and 26 deletions

View File

@@ -49,7 +49,7 @@ vim.o.scrolloff = 8
vim.o.showmode = false
vim.o.showtabline = 2
vim.o.showtabline = 0
vim.o.wrap = false
@@ -192,6 +192,37 @@ require('lazy').setup({
section_separators = '',
globalstatus = true,
},
sections = {
lualine_a = { 'mode' },
lualine_b = { 'branch' },
lualine_c = { 'diff', 'diagnostics', 'filename' },
lualine_x = {
{
-- Lsp server name .
function()
local msg = ''
-- local buf_ft = vim.api.nvim_buf_get_option(0, 'filetype')
local clients = vim.lsp.get_active_clients({ bufnr = 0 })
if next(clients) == nil then
return 'No Active Lsp'
end
for _, client in ipairs(clients) do
-- local filetypes = client.config.filetypes
-- if filetypes and vim.fn.index(filetypes, buf_ft) ~= -1 then
msg = msg .. client.name .. " - "
-- end
end
if msg == '' then
return 'No Active Lsp'
end
return msg:sub(1, -4)
end,
color = { fg = '#afd787' },
}, 'filetype',
},
lualine_y = { 'progress' },
lualine_z = { 'location' }
},
},
},
@@ -289,6 +320,17 @@ require('lazy').setup({
end,
},
{
"nvim-tree/nvim-tree.lua",
version = "*",
dependencies = {
"nvim-tree/nvim-web-devicons",
},
config = function()
require("nvim-tree").setup {}
end,
},
}, {})
-------------------------------------------------------------------

View File

@@ -0,0 +1,3 @@
{
"workspace.checkThirdParty": false
}

View File

@@ -0,0 +1,3 @@
{
"workspace.checkThirdParty": false
}