config.lua 742 B

123456789101112131415161718192021222324252627
  1. return {
  2. templates_dir = join_paths(get_runtime_dir(), "site", "after", "ftplugin"),
  3. diagnostics = {
  4. signs = {
  5. active = true,
  6. values = {
  7. { name = "LspDiagnosticsSignError", text = "" },
  8. { name = "LspDiagnosticsSignWarning", text = "" },
  9. { name = "LspDiagnosticsSignHint", text = "" },
  10. { name = "LspDiagnosticsSignInformation", text = "" },
  11. },
  12. },
  13. virtual_text = {
  14. prefix = "",
  15. spacing = 0,
  16. },
  17. update_in_insert = false,
  18. underline = true,
  19. severity_sort = true,
  20. },
  21. override = {},
  22. document_highlight = true,
  23. popup_border = "single",
  24. on_attach_callback = nil,
  25. on_init_callback = nil,
  26. automatic_servers_installation = true,
  27. }