default-config.lua 5.2 KB

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