add: LspInfo window borders
This commit is contained in:
parent
96cd08ef45
commit
970ddf79e5
@ -8,6 +8,16 @@ local M = {}
|
||||
|
||||
require("plugins.configs.others").lsp_handlers()
|
||||
|
||||
-- Borders for LspInfo winodw
|
||||
local win = require "lspconfig.ui.windows"
|
||||
local _default_opts = win.default_opts
|
||||
|
||||
win.default_opts = function(options)
|
||||
local opts = _default_opts(options)
|
||||
opts.border = "double"
|
||||
return opts
|
||||
end
|
||||
|
||||
function M.on_attach(client, _)
|
||||
client.resolved_capabilities.document_formatting = false
|
||||
client.resolved_capabilities.document_range_formatting = false
|
||||
|
Loading…
Reference in New Issue
Block a user