refactor(nvim): improve lsp attach notification
All checks were successful
Check Formatting of Files / Check-Formatting (push) Successful in 59s
All checks were successful
Check Formatting of Files / Check-Formatting (push) Successful in 59s
This commit is contained in:
parent
27a982fd21
commit
337e26a470
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user