Compare commits
No commits in common. "fbc414535be97fed1f7610f955aaf499384a9878" and "8c4676927d643f2b9fa262a202c68e37b33de8a4" have entirely different histories.
fbc414535b
...
8c4676927d
3 changed files with 3 additions and 10 deletions
|
|
@ -10,7 +10,7 @@ local function active_lsps()
|
||||||
|
|
||||||
local preview_client = attached_clients[1]
|
local preview_client = attached_clients[1]
|
||||||
|
|
||||||
return ('LSPs: (%d)'):format(#attached_clients)
|
return ('LSP: %s (%d)'):format(preview_client.name, #attached_clients)
|
||||||
end
|
end
|
||||||
|
|
||||||
local function diff_source()
|
local function diff_source()
|
||||||
|
|
@ -28,6 +28,8 @@ lualine.setup {
|
||||||
sections = {
|
sections = {
|
||||||
lualine_a = {'mode'},
|
lualine_a = {'mode'},
|
||||||
lualine_b = {
|
lualine_b = {
|
||||||
|
{'b:gitsigns_head', icon = ''},
|
||||||
|
{'diff', source = diff_source},
|
||||||
'diagnostics',
|
'diagnostics',
|
||||||
active_lsps
|
active_lsps
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -64,6 +64,3 @@ vim.opt.mouse = ''
|
||||||
|
|
||||||
-- python interpreter
|
-- python interpreter
|
||||||
vim.g.python3_host_prog = '/usr/bin/python3'
|
vim.g.python3_host_prog = '/usr/bin/python3'
|
||||||
|
|
||||||
-- hide concealed text completely unless it has a custom replacement character defined
|
|
||||||
vim.o.conceallevel = 2
|
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,6 @@
|
||||||
|
|
||||||
local telescope = require('telescope')
|
local telescope = require('telescope')
|
||||||
local builtin = require('telescope.builtin')
|
local builtin = require('telescope.builtin')
|
||||||
local actions = require('telescope.actions')
|
|
||||||
|
|
||||||
local opts = { noremap = true, silent = true }
|
local opts = { noremap = true, silent = true }
|
||||||
|
|
||||||
|
|
@ -35,10 +34,5 @@ telescope.setup({
|
||||||
prompt_position = 'bottom',
|
prompt_position = 'bottom',
|
||||||
vertical = { width = 0.8, height = 0.9 }
|
vertical = { width = 0.8, height = 0.9 }
|
||||||
},
|
},
|
||||||
mappings = {
|
|
||||||
n = {
|
|
||||||
['<C-l>'] = actions.send_to_loclist + actions.open_loclist,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue