Compare commits
3 commits
8c4676927d
...
fbc414535b
| Author | SHA1 | Date | |
|---|---|---|---|
| fbc414535b | |||
| 9646edf680 | |||
| c430bf66d2 |
3 changed files with 10 additions and 3 deletions
|
|
@ -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
|
||||
},
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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 = {
|
||||
['<C-l>'] = actions.send_to_loclist + actions.open_loclist,
|
||||
},
|
||||
},
|
||||
},
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue