diff --git a/templates/nvim/lua/lua-line.lua.j2 b/templates/nvim/lua/lua-line.lua.j2 index e271750..184dfe0 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 ('LSP: %s (%d)'):format(preview_client.name, #attached_clients) + return ('LSPs: (%d)'):format(#attached_clients) end local function diff_source() @@ -28,8 +28,6 @@ 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 fe35a80..f10c818 100644 --- a/templates/nvim/lua/options.lua.j2 +++ b/templates/nvim/lua/options.lua.j2 @@ -64,3 +64,6 @@ 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 95c3bc0..149543b 100644 --- a/templates/nvim/lua/telescope.lua.j2 +++ b/templates/nvim/lua/telescope.lua.j2 @@ -2,6 +2,7 @@ local telescope = require('telescope') local builtin = require('telescope.builtin') +local actions = require('telescope.actions') local opts = { noremap = true, silent = true } @@ -34,5 +35,10 @@ telescope.setup({ prompt_position = 'bottom', vertical = { width = 0.8, height = 0.9 } }, + mappings = { + n = { + [''] = actions.send_to_loclist + actions.open_loclist, + }, + }, }, })