💾 Archived View for gemini.susa.net › Vim › vim_lsp_linter.gmi captured on 2022-06-03 at 23:22:57. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-04-28)

-=-=-=-=-=-=-

Vim linter in vim-lsp

Most of this information was gleaned from ':help vim-lsp'.

The linter shows 'diagnostic signs' and 'code action signs' at the side of the screen.

You can disable these entirely with

  let g:lsp_diagnostics_signs_enabled = 0
  let g:lsp_document_code_action_signs_enabled = 0

You can disable these in Insert mode with the following, to avoid distractions while typing.

  let g:lsp_diagnostics_signs_insert_mode_enabled = 0

To change the delay (in ms) before updating diagnostic signs, use

  let g:lsp_diagnostics_signs_delay = 1000
  let g:lsp_document_code_action_signs_delay = 1000

Useful Lsp Commands