From f032fb9e2fadaaec6f71aaf45ed1d94128ea45cd Mon Sep 17 00:00:00 2001 From: Elvis Claros Castro Date: Thu, 3 Oct 2024 11:41:10 -0300 Subject: feat: add rust tools --- lua/plugins/lualine.lua | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'lua/plugins/lualine.lua') diff --git a/lua/plugins/lualine.lua b/lua/plugins/lualine.lua index 88a0fec..5873598 100644 --- a/lua/plugins/lualine.lua +++ b/lua/plugins/lualine.lua @@ -91,10 +91,10 @@ return { }, sections = process_sections { lualine_a = { - { 'mode', - -- icons_enabled = true, + { 'mode', + icons_enabled = true, icon = { - " ", + " ", color = { fg = colors.base4, bg = colors.base03, gui = 'bold'} }, -- color = { fg = colors.base0, bg = colors.green300, gui = 'bold' }, @@ -131,11 +131,11 @@ return { }, lualine_c = { { - 'filename', - on_click = function() + 'filename', + on_click = function() require('telescope.builtin').find_files() - -- print('file name clicked') - end, + -- print('file name clicked') + end, icon = ' ', color = { fg = colors.yellow100, bg = colors.base03, gui = 'bold'}, path = 4, @@ -175,7 +175,7 @@ return { -- Lsp server name . function() local msg = 'No LSP' - local buf_ft = vim.api.nvim_buf_get_option(0, 'filetype') + local buf_ft = vim.api.nvim_get_option_value("filetype", { buf = 0 }) local clients = vim.lsp.get_clients() if next(clients) == nil then return msg @@ -208,13 +208,13 @@ return { } }, lualine_z = { - { - -- 'location', + { + -- 'location', -- function() -- return "Ln:%l Col:%c" -- end -- separator = { right = '' }, left_padding = 2 }, - } + } }, }, inactive_sections = { -- cgit v1.2.3