emacsemacs-lsp

Emacs: How to remove wave underline in lsp header-line?


lsp header-line

I'm not sure what it is for but it's a bit annoying and not helpful.

How to remove that wave underline?


Solution

  • In addition to what @Nikita said, you can simply customize any such faces, using M-x customize-face (and save the customization).

    The wavy underline is just one possible face attribute - it's trivial to change/unset it.

    Faces are user preferences, just like options (user variables). And Customize is a clean, safe way to set and save your preferences.

    By default preferences are saved to your Emacs init file, but it's generally better to have Customize save settings instead to the file that's named by the value of variable custom-file. That way, Customize never touches your init file, which you reserve for your own Elisp code.