config.lua 733 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 = true,
  14. update_in_insert = false,
  15. underline = true,
  16. severity_sort = true,
  17. },
  18. override = {},
  19. document_highlight = true,
  20. popup_border = "single",
  21. on_attach_callback = nil,
  22. on_init_callback = nil,
  23. automatic_servers_installation = true,
  24. null_ls = {
  25. setup = {},
  26. },
  27. }