lv-globals.lua 3.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. O = {
  2. auto_close_tree = 0,
  3. auto_complete = true,
  4. colorscheme = 'lunar',
  5. hidden_files = true,
  6. wrap_lines = false,
  7. number = true,
  8. relative_number = true,
  9. shell = 'bash',
  10. timeoutlen = 100,
  11. nvim_tree_disable_netrw = 0, -- "1 by default, disables netrw (must be set before plugin's packadd)
  12. -- @usage pass a table with your desired languages
  13. treesitter = {
  14. ensure_installed = "all",
  15. ignore_install = {"haskell"},
  16. highlight = {enabled = true},
  17. playground = {enabled = true},
  18. rainbow = {enabled = false}
  19. },
  20. database = {save_location = '~/.config/nvcode_db', auto_execute = 1},
  21. python = {
  22. linter = '',
  23. -- @usage can be 'yapf', 'black'
  24. formatter = '',
  25. autoformat = false,
  26. isort = false,
  27. diagnostics = {virtual_text = {spacing = 0, prefix = ""}, signs = true, underline = true},
  28. analysis = {type_checking = "basic", auto_search_paths = true, use_library_code_types = true}
  29. },
  30. dart = {sdk_path = '/usr/lib/dart/bin/snapshots/analysis_server.dart.snapshot'},
  31. lua = {
  32. -- @usage can be 'lua-format'
  33. formatter = '',
  34. autoformat = false,
  35. diagnostics = {virtual_text = {spacing = 0, prefix = ""}, signs = true, underline = true}
  36. },
  37. sh = {
  38. -- @usage can be 'shellcheck'
  39. linter = '',
  40. -- @usage can be 'shfmt'
  41. formatter = '',
  42. autoformat = false,
  43. diagnostics = {virtual_text = {spacing = 0, prefix = ""}, signs = true, underline = true}
  44. },
  45. tsserver = {
  46. -- @usage can be 'eslint'
  47. linter = '',
  48. -- @usage can be 'prettier'
  49. formatter = '',
  50. autoformat = false,
  51. diagnostics = {virtual_text = {spacing = 0, prefix = ""}, signs = true, underline = true}
  52. },
  53. json = {
  54. -- @usage can be 'prettier'
  55. formatter = '',
  56. autoformat = false,
  57. diagnostics = {virtual_text = {spacing = 0, prefix = ""}, signs = true, underline = true}
  58. },
  59. tailwindls = {filetypes = {'html', 'css', 'scss', 'javascript', 'javascriptreact', 'typescript', 'typescriptreact'}},
  60. clang = {diagnostics = {virtual_text = {spacing = 0, prefix = ""}, signs = true, underline = true}},
  61. ruby = {
  62. diagnostics = {virtualtext = {spacing = 0, prefix = ""}, signs = true, underline = true},
  63. filetypes = {'rb', 'erb', 'rakefile'}
  64. },
  65. go = {},
  66. -- css = {formatter = '', autoformat = false, virtual_text = true},
  67. -- json = {formatter = '', autoformat = false, virtual_text = true}
  68. dashboard = {
  69. custom_header = {
  70. ' _..._ ',
  71. ' .\' (_`. _ __ ___ ',
  72. ' : . : | | _ _ _ __ __ _ _ _\\ \\ / (_)_ __ ___ ',
  73. ' :) () : | | | | | | \'_ \\ / _` | \'__\\ \\ / /| | \'_ ` _ \\ ',
  74. ' `. . .\' | |__| |_| | | | | (_| | | \\ V / | | | | | | |',
  75. ' `-...-\' |_____\\__,_|_| |_|\\__,_|_| \\_/ |_|_| |_| |_|',
  76. },
  77. footer= {'chrisatmachine.com'}
  78. }
  79. }
  80. DATA_PATH = vim.fn.stdpath('data')
  81. CACHE_PATH = vim.fn.stdpath('cache')