refactor(nvim): remove virtual lsp lines

This commit is contained in:
Price Hiller 2022-07-17 16:39:43 -05:00
parent 611625b2fb
commit cf83c4082f
3 changed files with 13 additions and 14 deletions

View File

@ -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', {
vim.notify
.async('Attached server ' .. client.name, 'info', {
title = 'Lsp Attach',
}).events.close()
}).events
.close()
end)
end

View File

@ -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 = '',
},
})

View File

@ -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',