diff --git a/templates/nvim/lua/lua-line.lua.j2 b/templates/nvim/lua/lua-line.lua.j2 index 184dfe0..e271750 100644 --- a/templates/nvim/lua/lua-line.lua.j2 +++ b/templates/nvim/lua/lua-line.lua.j2 @@ -10,7 +10,7 @@ local function active_lsps() local preview_client = attached_clients[1] - return ('LSPs: (%d)'):format(#attached_clients) + return ('LSP: %s (%d)'):format(preview_client.name, #attached_clients) end local function diff_source() @@ -28,6 +28,8 @@ lualine.setup { sections = { lualine_a = {'mode'}, lualine_b = { + {'b:gitsigns_head', icon = ''}, + {'diff', source = diff_source}, 'diagnostics', active_lsps }, diff --git a/templates/nvim/lua/options.lua.j2 b/templates/nvim/lua/options.lua.j2 index f10c818..fe35a80 100644 --- a/templates/nvim/lua/options.lua.j2 +++ b/templates/nvim/lua/options.lua.j2 @@ -64,6 +64,3 @@ vim.opt.mouse = '' -- python interpreter vim.g.python3_host_prog = '/usr/bin/python3' - --- hide concealed text completely unless it has a custom replacement character defined -vim.o.conceallevel = 2 diff --git a/templates/nvim/lua/telescope.lua.j2 b/templates/nvim/lua/telescope.lua.j2 index 149543b..95c3bc0 100644 --- a/templates/nvim/lua/telescope.lua.j2 +++ b/templates/nvim/lua/telescope.lua.j2 @@ -2,7 +2,6 @@ local telescope = require('telescope') local builtin = require('telescope.builtin') -local actions = require('telescope.actions') local opts = { noremap = true, silent = true } @@ -35,10 +34,5 @@ telescope.setup({ prompt_position = 'bottom', vertical = { width = 0.8, height = 0.9 } }, - mappings = { - n = { - [''] = actions.send_to_loclist + actions.open_loclist, - }, - }, }, })