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) local function on_attach(client, bufnr)
-- Set autocommands conditional on server_capabilities
async.run(function() async.run(function()
vim.notify.async('Attached server ' .. client.name, 'info', { vim.notify
title = 'Lsp Attach', .async('Attached server ' .. client.name, 'info', {
}).events.close() title = 'Lsp Attach',
}).events
.close()
end) end)
end end

View File

@ -29,11 +29,16 @@ end
-- vim.o.updatetime = 100 -- vim.o.updatetime = 100
-- vim.cmd([[autocmd CursorHold,CursorHoldI,CmdlineEnter * lua vim.diagnostic.open_float(nil, {focus=false})]]) -- vim.cmd([[autocmd CursorHold,CursorHoldI,CmdlineEnter * lua vim.diagnostic.open_float(nil, {focus=false})]])
vim.diagnostic.config({ vim.diagnostic.config({
virtual_text = false, virtual_text = true,
virtual_lines = true,
severity_sort = true, severity_sort = true,
underline = true,
update_in_insert = false, update_in_insert = false,
float = { float = {
focusable = false,
style = 'minimal',
border = 'rounded',
source = 'always', source = 'always',
header = '',
prefix = '',
}, },
}) })

View File

@ -280,15 +280,6 @@ return packer.startup({
'nanotee/sqls.nvim', '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 -- Display LSP Progress
use({ use({
'j-hui/fidget.nvim', 'j-hui/fidget.nvim',