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)
|
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
|
||||||
|
|
||||||
|
@ -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 = '',
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
@ -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',
|
||||||
|
Loading…
Reference in New Issue
Block a user