refactor(nvim): improve lsp attach notification
All checks were successful
Check Formatting of Files / Check-Formatting (push) Successful in 59s

This commit is contained in:
Price Hiller 2024-07-01 15:22:07 -05:00
parent 27a982fd21
commit 337e26a470
Signed by: Price
GPG Key ID: C3FADDE7A8534BEB

View File

@ -282,8 +282,16 @@ return {
if not client then
return
end
vim.notify("Attached server " .. client.name, vim.log.levels.INFO, {
vim.notify("Attached server `" .. client.name .. "`", vim.log.levels.INFO, {
title = "LSP",
---@param win integer The window handle
on_open = function(win)
vim.api.nvim_set_option_value(
"filetype",
"markdown",
{ buf = vim.api.nvim_win_get_buf(win) }
)
end,
})
local function disable_format_capability(capabilities)