refactor(nvim): remove virtual lsp lines
This commit is contained in:
parent
611625b2fb
commit
cf83c4082f
@ -8,10 +8,13 @@ lsp_installer.setup({
|
||||
})
|
||||
|
||||
local function on_attach(client, bufnr)
|
||||
-- Set autocommands conditional on server_capabilities
|
||||
async.run(function()
|
||||
vim.notify.async('Attached server ' .. client.name, 'info', {
|
||||
title = 'Lsp Attach',
|
||||
}).events.close()
|
||||
vim.notify
|
||||
.async('Attached server ' .. client.name, 'info', {
|
||||
title = 'Lsp Attach',
|
||||
}).events
|
||||
.close()
|
||||
end)
|
||||
end
|
||||
|
||||
|
@ -29,11 +29,16 @@ end
|
||||
-- vim.o.updatetime = 100
|
||||
-- vim.cmd([[autocmd CursorHold,CursorHoldI,CmdlineEnter * lua vim.diagnostic.open_float(nil, {focus=false})]])
|
||||
vim.diagnostic.config({
|
||||
virtual_text = false,
|
||||
virtual_lines = true,
|
||||
virtual_text = true,
|
||||
severity_sort = true,
|
||||
underline = true,
|
||||
update_in_insert = false,
|
||||
float = {
|
||||
focusable = false,
|
||||
style = 'minimal',
|
||||
border = 'rounded',
|
||||
source = 'always',
|
||||
header = '',
|
||||
prefix = '',
|
||||
},
|
||||
})
|
||||
|
@ -280,15 +280,6 @@ return packer.startup({
|
||||
'nanotee/sqls.nvim',
|
||||
})
|
||||
|
||||
-- Lsp Vertical Lines
|
||||
use({
|
||||
'https://git.sr.ht/~whynothugo/lsp_lines.nvim',
|
||||
after = 'nvim-lspconfig',
|
||||
config = function()
|
||||
require('lsp_lines').register_lsp_virtual_lines()
|
||||
end,
|
||||
})
|
||||
|
||||
-- Display LSP Progress
|
||||
use({
|
||||
'j-hui/fidget.nvim',
|
||||
|
Loading…
Reference in New Issue
Block a user