default-config.lua 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  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. lang = {
  27. python = {
  28. active = false,
  29. linter = '',
  30. -- @usage can be 'yapf', 'black'
  31. formatter = '',
  32. autoformat = false,
  33. isort = false,
  34. diagnostics = {
  35. virtual_text = {spacing = 0, prefix = ""},
  36. signs = true,
  37. underline = true
  38. },
  39. analysis = {
  40. type_checking = "basic",
  41. auto_search_paths = true,
  42. use_library_code_types = true
  43. }
  44. },
  45. dart = {
  46. active = false,
  47. sdk_path = '/usr/lib/dart/bin/snapshots/analysis_server.dart.snapshot'
  48. },
  49. lua = {
  50. active = false,
  51. -- @usage can be 'lua-format'
  52. formatter = '',
  53. autoformat = false,
  54. diagnostics = {
  55. virtual_text = {spacing = 0, prefix = ""},
  56. signs = true,
  57. underline = true
  58. }
  59. },
  60. sh = {
  61. active = false,
  62. -- @usage can be 'shellcheck'
  63. linter = '',
  64. -- @usage can be 'shfmt'
  65. formatter = '',
  66. autoformat = false,
  67. diagnostics = {
  68. virtual_text = {spacing = 0, prefix = ""},
  69. signs = true,
  70. underline = true
  71. }
  72. },
  73. tsserver = {
  74. active = false,
  75. -- @usage can be 'eslint'
  76. linter = '',
  77. -- @usage can be 'prettier'
  78. formatter = '',
  79. autoformat = false,
  80. diagnostics = {
  81. virtual_text = {spacing = 0, prefix = ""},
  82. signs = true,
  83. underline = true
  84. }
  85. },
  86. json = {
  87. active = false,
  88. -- @usage can be 'prettier'
  89. formatter = '',
  90. autoformat = false,
  91. diagnostics = {
  92. virtual_text = {spacing = 0, prefix = ""},
  93. signs = true,
  94. underline = true
  95. }
  96. },
  97. tailwindcss = {
  98. active = false,
  99. filetypes = {
  100. 'html', 'css', 'scss', 'javascript', 'javascriptreact',
  101. 'typescript', 'typescriptreact'
  102. }
  103. },
  104. clang = {
  105. active = false,
  106. diagnostics = {
  107. virtual_text = {spacing = 0, prefix = ""},
  108. signs = true,
  109. underline = true
  110. }
  111. },
  112. ruby = {
  113. active = false,
  114. diagnostics = {
  115. virtualtext = {spacing = 0, prefix = ""},
  116. signs = true,
  117. underline = true
  118. },
  119. filetypes = {'rb', 'erb', 'rakefile'}
  120. },
  121. go = {active = false},
  122. elixer = {active = false},
  123. vim = {active = false},
  124. yaml = {active = false},
  125. terraform = {active = false},
  126. rust = {active = false},
  127. svelte = {active = false},
  128. php = {active = false},
  129. latex = {active = false},
  130. kotlin = {active = false},
  131. html = {active = false},
  132. elm = {active = false},
  133. emmet = {active = false},
  134. graphql = {active = false},
  135. efm = {active = true},
  136. docker = {active = false},
  137. cmake = {active = false},
  138. java = {active = false},
  139. css = {
  140. active = false,
  141. formatter = '', autoformat = false, virtual_text = true},
  142. json = {
  143. active = false,
  144. formatter = '', autoformat = false, virtual_text = true}
  145. },
  146. dashboard = {
  147. custom_header = {
  148. ' _..._ ',
  149. ' .\' (_`. _ __ ___ ',
  150. ' : . : | | _ _ _ __ __ _ _ _\\ \\ / (_)_ __ ___ ',
  151. ' :) () : | | | | | | \'_ \\ / _` | \'__\\ \\ / /| | \'_ ` _ \\ ',
  152. ' `. . .\' | |__| |_| | | | | (_| | | \\ V / | | | | | | |',
  153. ' `-...-\' |_____\\__,_|_| |_|\\__,_|_| \\_/ |_|_| |_| |_|'
  154. },
  155. footer = {'chrisatmachine.com'}
  156. }
  157. }