Skip to content

Use echoerr instead of echom for error #1608

@nda-cunh

Description

@nda-cunh

we can't silent a function with echom and we can't try/catch if is not an error

function! lsp#utils#error(msg) abort
    echohl ErrorMsg
    echom a:msg
    echohl NONE
endfunction

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions