default-config.lua 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  1. CONFIG_PATH = vim.fn.stdpath('config')
  2. DATA_PATH = vim.fn.stdpath('data')
  3. CACHE_PATH = vim.fn.stdpath('cache')
  4. O = {
  5. auto_close_tree = 0,
  6. auto_complete = true,
  7. colorscheme = 'lunar',
  8. hidden_files = true,
  9. wrap_lines = false,
  10. number = true,
  11. relative_number = true,
  12. cursorline = true,
  13. shell = 'bash',
  14. timeoutlen = 100,
  15. nvim_tree_disable_netrw = 0,
  16. extras = false,
  17. -- @usage pass a table with your desired languages
  18. treesitter = {
  19. ensure_installed = "all",
  20. ignore_install = {"haskell"},
  21. highlight = {enabled = true},
  22. playground = {enabled = true},
  23. rainbow = {enabled = false}
  24. },
  25. database = {save_location = '~/.config/nvcode_db', auto_execute = 1},
  26. plugins = {hop = {active = false}},
  27. lang = {
  28. python = {
  29. active = false,
  30. linter = '',
  31. -- @usage can be 'yapf', 'black'
  32. formatter = '',
  33. autoformat = false,
  34. isort = false,
  35. diagnostics = {
  36. virtual_text = {spacing = 0, prefix = ""},
  37. signs = true,
  38. underline = true
  39. },
  40. analysis = {
  41. type_checking = "basic",
  42. auto_search_paths = true,
  43. use_library_code_types = true
  44. }
  45. },
  46. dart = {
  47. active = false,
  48. sdk_path = '/usr/lib/dart/bin/snapshots/analysis_server.dart.snapshot'
  49. },
  50. lua = {
  51. active = false,
  52. -- @usage can be 'lua-format'
  53. formatter = '',
  54. autoformat = false,
  55. diagnostics = {
  56. virtual_text = {spacing = 0, prefix = ""},
  57. signs = true,
  58. underline = true
  59. }
  60. },
  61. sh = {
  62. active = false,
  63. -- @usage can be 'shellcheck'
  64. linter = '',
  65. -- @usage can be 'shfmt'
  66. formatter = '',
  67. autoformat = false,
  68. diagnostics = {
  69. virtual_text = {spacing = 0, prefix = ""},
  70. signs = true,
  71. underline = true
  72. }
  73. },
  74. tsserver = {
  75. active = false,
  76. -- @usage can be 'eslint'
  77. linter = '',
  78. -- @usage can be 'prettier'
  79. formatter = '',
  80. autoformat = false,
  81. diagnostics = {
  82. virtual_text = {spacing = 0, prefix = ""},
  83. signs = true,
  84. underline = true
  85. }
  86. },
  87. json = {
  88. active = false,
  89. -- @usage can be 'prettier'
  90. formatter = '',
  91. autoformat = false,
  92. diagnostics = {
  93. virtual_text = {spacing = 0, prefix = ""},
  94. signs = true,
  95. underline = true
  96. }
  97. },
  98. tailwindcss = {
  99. active = false,
  100. filetypes = {
  101. 'html', 'css', 'scss', 'javascript', 'javascriptreact',
  102. 'typescript', 'typescriptreact'
  103. }
  104. },
  105. clang = {
  106. active = false,
  107. diagnostics = {
  108. virtual_text = {spacing = 0, prefix = ""},
  109. signs = true,
  110. underline = true
  111. }
  112. },
  113. ruby = {
  114. active = false,
  115. diagnostics = {
  116. virtualtext = {spacing = 0, prefix = ""},
  117. signs = true,
  118. underline = true
  119. },
  120. filetypes = {'rb', 'erb', 'rakefile'}
  121. },
  122. go = {active = false},
  123. elixer = {active = false},
  124. vim = {active = false},
  125. yaml = {active = false},
  126. terraform = {active = false},
  127. rust = {active = false},
  128. svelte = {active = false},
  129. php = {active = false},
  130. latex = {active = false},
  131. kotlin = {active = false},
  132. html = {active = false},
  133. elm = {active = false},
  134. emmet = {active = false},
  135. graphql = {active = false},
  136. efm = {active = true},
  137. docker = {active = false},
  138. cmake = {active = false},
  139. java = {active = false},
  140. css = {
  141. active = false,
  142. formatter = '',
  143. autoformat = false,
  144. virtual_text = true
  145. }
  146. },
  147. dashboard = {
  148. custom_header = {
  149. ' _..._ ',
  150. ' .\' (_`. _ __ ___ ',
  151. ' : . : | | _ _ _ __ __ _ _ _\\ \\ / (_)_ __ ___ ',
  152. ' :) () : | | | | | | \'_ \\ / _` | \'__\\ \\ / /| | \'_ ` _ \\ ',
  153. ' `. . .\' | |__| |_| | | | | (_| | | \\ V / | | | | | | |',
  154. ' `-...-\' |_____\\__,_|_| |_|\\__,_|_| \\_/ |_|_| |_| |_|'
  155. },
  156. footer = {'chrisatmachine.com'}
  157. }
  158. }